diff options
Diffstat (limited to 'games-rpg/vendetta-online-bin')
-rw-r--r-- | games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild index 8c863e4c4e78..16e36b6c3d8e 100644 --- a/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild +++ b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild @@ -1,31 +1,44 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" -inherit eutils unpacker +EAPI=7 + +inherit desktop unpacker DESCRIPTION="Space-based MMORPG" HOMEPAGE="https://www.vendetta-online.com" -SRC_URI="amd64? ( +SRC_URI=" + amd64? ( http://mirror.cle.vendetta-online.com/vendetta-linux-amd64-installer.sh -> ${P}-amd64.sh ) x86? ( http://mirror.cle.vendetta-online.com/vendetta-linux-ia32-installer.sh -> ${P}-x86.sh - )" + ) +" +S="${WORKDIR}" LICENSE="guild" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="" RESTRICT="mirror strip" -DEPEND="dev-util/patchelf" -RDEPEND="virtual/opengl - x11-libs/gtk+:2" +RDEPEND=" + media-libs/alsa-lib + media-sound/pulseaudio + virtual/glu + virtual/opengl + x11-libs/gtk+:2 +" +BDEPEND="dev-util/patchelf" -S=${WORKDIR} +QA_FLAGS_IGNORED=" + opt/vendetta-online-bin/install/drivers/*.so + opt/vendetta-online-bin/install/update.rlb + opt/vendetta-online-bin/install/vendetta + opt/vendetta-online-bin/vendetta +" src_unpack() { unpack_makeself @@ -36,8 +49,7 @@ src_prepare() { default # scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.' - for file in install/drivers/{gkvc.so,soundbackends/libalsa_linux_amd64.so,soundbackends/libpulseaudio_linux_amd64.so} - do + for file in install/drivers/{gkvc.so,soundbackends/libalsa_linux_amd64.so,soundbackends/libpulseaudio_linux_amd64.so} ; do patchelf --set-rpath '$ORIGIN' $file || die done } @@ -45,9 +57,9 @@ src_prepare() { src_install() { local dir=/opt/${PN} - insinto "${dir}" + insinto ${dir} doins -r * - fperms +x "${dir}"/{vendetta,install/{media.rlb,update.rlb,vendetta}} + fperms +x ${dir}/{vendetta,install/{media.rlb,update.rlb,vendetta}} sed \ -e "s:DATADIR:${dir}:" \ |