summaryrefslogtreecommitdiff
path: root/games-rpg/vendetta-online-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-rpg/vendetta-online-bin
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/vendetta-online-bin')
-rw-r--r--games-rpg/vendetta-online-bin/Manifest5
-rw-r--r--games-rpg/vendetta-online-bin/files/vendetta7
-rw-r--r--games-rpg/vendetta-online-bin/metadata.xml8
-rw-r--r--games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild61
4 files changed, 81 insertions, 0 deletions
diff --git a/games-rpg/vendetta-online-bin/Manifest b/games-rpg/vendetta-online-bin/Manifest
new file mode 100644
index 000000000000..63f3e0072b7e
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/Manifest
@@ -0,0 +1,5 @@
+AUX vendetta 113 BLAKE2B 7f4afc48107ced2af51cb691d2c64229b717016bc81b997bbd6326d5e41f858202b713fb0c87b68938debefd593c56a52024d2827feec11c55c0126c876984fb SHA512 a6b21095a87585ce9e96e87941f651ce3a6bbb123bff7d49d3c00a9b7dbab9864151a00adcae168d9949a28e83a4057916091516278245cfa925111197096a95
+DIST vendetta-online-bin-1.8.296-amd64.sh 235822235 BLAKE2B d5b3218a6928da2f6b0ad8e12d7dbf7052140bb194aceee948ab89d019b59d361c8ddc7eff6d97cf361a9b9b99a7f1b1b8af91339245201203b9aa6d3c4a60ee SHA512 f57b8da6b2364df7ca78c0a8df66cadbc568927376548f95b49da5d641d49a155315583d4323599f59e982b0569b972311fa4717e11dab48e4da95ab235d05a4
+DIST vendetta-online-bin-1.8.296-x86.sh 235890404 BLAKE2B cb59204f54a60a42639e542527a7b07019c4d9873bd7b4027abede84f6e2ca321449dabdacb082d7fd3fce343de1db5039d4da8f230ee52a2c0d64b5d5c41cc0 SHA512 909e4960fe85c7bc71cf1530cd8fd9fa096b28c9ba621e3c16e14d1264858939e859fad182e76301322eb45b7c451bd21d87a90274eefb9e71e1fd1eb1f498b0
+EBUILD vendetta-online-bin-1.8.296-r1.ebuild 1452 BLAKE2B 16c5233d83ab3714e198e6b825de32691761f4e51aeca9af65cf7b6f1393f8d5836e563ee77f54e95fb40414301bcafa363adab5bfaf1165f3bd4c8ca56a0391 SHA512 191fe6b63415d0ab26176793a61d29568e630b1bd3cd3b62904a474e0767d38c0263ebf838a035b745d3296bb05dbe74405273ffdcc4f366e8cf4bf97ae6faae
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-rpg/vendetta-online-bin/files/vendetta b/games-rpg/vendetta-online-bin/files/vendetta
new file mode 100644
index 000000000000..113f5d0925b1
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/files/vendetta
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ ! -e ~/.vendetta ] ; then
+ cp -vR "DATADIR"/install ~/.vendetta
+fi
+
+exec "DATADIR"/vendetta "$@"
diff --git a/games-rpg/vendetta-online-bin/metadata.xml b/games-rpg/vendetta-online-bin/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>
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
new file mode 100644
index 000000000000..fc3e5e7afad7
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils unpacker
+
+DESCRIPTION="Space-based MMORPG"
+HOMEPAGE="https://www.vendetta-online.com"
+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
+ )"
+
+LICENSE="guild"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+
+DEPEND="dev-util/patchelf"
+RDEPEND="virtual/opengl
+ x11-libs/gtk+:2"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_prepare() {
+ # Won't do much good since this is a -bin, but there's no bin_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
+ patchelf --set-rpath '$ORIGIN' $file || die
+ done
+}
+
+src_install() {
+ local dir=/opt/${PN}
+
+ insinto "${dir}"
+ doins -r * || die "doins failed"
+ fperms +x "${dir}"/{vendetta,install/{media.rlb,update.rlb,vendetta}} \
+ || die "fperms failed"
+
+ sed \
+ -e "s:DATADIR:${dir}:" \
+ "${FILESDIR}"/vendetta > "${T}"/vendetta \
+ || die "sed failed"
+
+ dobin "${T}"/vendetta
+ newicon install/manual/images/ships.valkyrie.jpg ${PN}.jpg
+ make_desktop_entry vendetta "Vendetta Online" /usr/share/pixmaps/${PN}.jpg
+}