summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-10 13:08:56 +0000
committerSam James <sam@gentoo.org>2021-04-10 13:30:37 +0000
commit789041ad1456959edd6149a7850ac26e5b339f4d (patch)
tree6cfa61b4613d61ee613041765d07c4266124d9a5 /games-rpg
parentgames-strategy/knights-demo: EAPI 7, silence QA warnings for unused file (diff)
downloadgentoo-789041ad1456959edd6149a7850ac26e5b339f4d.tar.gz
gentoo-789041ad1456959edd6149a7850ac26e5b339f4d.tar.bz2
gentoo-789041ad1456959edd6149a7850ac26e5b339f4d.zip
games-rpg/vendetta-online-bin: port to EAPI 7, add missing deps
Closes: https://bugs.gentoo.org/739364 Closes: https://bugs.gentoo.org/739370 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild40
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}:" \