summaryrefslogtreecommitdiff
path: root/games-rpg/vendetta-online-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-rpg/vendetta-online-bin
reinit the tree, so we can have metadata
Diffstat (limited to 'games-rpg/vendetta-online-bin')
-rw-r--r--games-rpg/vendetta-online-bin/Manifest8
-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
-rw-r--r--games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296.ebuild51
5 files changed, 135 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..efbfb4e11000
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/Manifest
@@ -0,0 +1,8 @@
+AUX vendetta 113 SHA256 7ecb725e93f3fe5acec5cb025b0b1d05a451990bf7c6652c183e48b12fc4770a SHA512 a6b21095a87585ce9e96e87941f651ce3a6bbb123bff7d49d3c00a9b7dbab9864151a00adcae168d9949a28e83a4057916091516278245cfa925111197096a95 WHIRLPOOL 789052fa13316050de6e2840b6239687ffd6aef0d7b4a273e68e7160719a5f04de854666c0ee1e725217454f257bf5c810f194101ff7255107365b91e8db4c18
+DIST vendetta-online-bin-1.8.296-amd64.sh 235822235 SHA256 fcd0e96d1e48f49289ef00d3e8a9f05013389916012c0c8d5ace18af83b348ab SHA512 f57b8da6b2364df7ca78c0a8df66cadbc568927376548f95b49da5d641d49a155315583d4323599f59e982b0569b972311fa4717e11dab48e4da95ab235d05a4 WHIRLPOOL 320aaaae6cdcbe799036ead0c50cc97e808eda018d4d5475c01c89eb499cf7adfb3ef704b1ce2eb0a90ba39dfabdf500c6685bdf36b6051d4ae4122468fb3009
+DIST vendetta-online-bin-1.8.296-x86.sh 235890404 SHA256 93693050c1431b6cd7ad77972b0995b76696d2e4ef3fd17246fa09a4ae764c20 SHA512 909e4960fe85c7bc71cf1530cd8fd9fa096b28c9ba621e3c16e14d1264858939e859fad182e76301322eb45b7c451bd21d87a90274eefb9e71e1fd1eb1f498b0 WHIRLPOOL fc85dfbd059773b68201d5294a30cc1b6a05d7be43c7497c05d07d84be8b9b245da7e6d584541f8a47231fbf975b1c550399e3fa80457c9475700410aa4b1fb7
+EBUILD vendetta-online-bin-1.8.296-r1.ebuild 1452 SHA256 18a73d1299afa9cfc3b8ce714b40540054bbf4259d2635bced1aec5cdc8fe36f SHA512 3cdc2a120b8148cec7a7de3bf5eeeb7446b05142bf3933c56e537665ebc3e4189573e44d6f16657d2a9c28c7cd28432f715d1a3805dd8573f767efb9f6169abb WHIRLPOOL 8ca16affca7f84da53f3fc263bb4a8d7c22b83acff708d30364a6f4191350824b69e9ee2d3637530d8d39e522953f91aefa1f1499206e574ed92f6db2bee48d8
+EBUILD vendetta-online-bin-1.8.296.ebuild 1104 SHA256 76576d43a15df8e0d192321698baa364da8fccb5e49ab7be51565dd7a6ad3333 SHA512 116d98fab94ab59569748d09e68b335c420479f2c6fc462cdd4b1806c03e9565257bce597baa56bf56c0c47526c70809a4a0f3ec08d194624b59e009e8f56aef WHIRLPOOL 828ca76cbdc9d267bc2ff496caaca66f241f18a9a64ad4a482bfe40842a3c897486a618646c4c10f6a8a5bf79c366efbe84ea8e2054d150a9baa952474f93782
+MISC ChangeLog 2884 SHA256 c0c26bc01871e46d207dbff82a9a3e362d7853f99706f7a0f034a9f8230a0a21 SHA512 e408cab66a2ebd1147e409c30f446613e5c29cb5a67893de421daee5bc1e7f648f172b815a82708001422366c1b3047b1a782b2106862413f0ef61a7275c5c0c WHIRLPOOL 0969298b475b8578dc6f1b4c4b8096158818b1a7bb1201fd4f23040679795024baba86fd7360a1e0daabc4628a8670286b9c7a9649c7197cae9119985c7a7816
+MISC ChangeLog-2015 3008 SHA256 c686d2290c7d35251139b562311171d576aec892803267e340aabd368545fafd SHA512 6c8d6304c2d0fd50e129697f7fd9c14c945f8d6f1ec53f1865f22d169104c71c09b4abba6ef79026274f5a3b0c95118ef53c15ec52e50387c2dad0aef1a91b7a WHIRLPOOL 0702475f465812319777465bb40e6c4003989c6eea692ae898bdab16e89e0c56e82579e51b6229cd438cbf1a5f5f36efa1c5bc71ffdd28205a45369276924fec
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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..529b60d6aa07
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils unpacker
+
+DESCRIPTION="Space-based MMORPG"
+HOMEPAGE="http://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
+}
diff --git a/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296.ebuild b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296.ebuild
new file mode 100644
index 000000000000..a8039ca9257a
--- /dev/null
+++ b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils unpacker games
+
+DESCRIPTION="Space-based MMORPG"
+HOMEPAGE="http://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"
+
+RDEPEND="virtual/opengl
+ x11-libs/gtk+:2"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_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"
+
+ dogamesbin "${T}"/vendetta
+ newicon install/manual/images/ships.valkyrie.jpg ${PN}.jpg
+ make_desktop_entry vendetta "Vendetta Online" /usr/share/pixmaps/${PN}.jpg
+
+ prepgamesdirs
+}