summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-06-14 19:17:41 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-06-14 19:17:41 +0000
commitab401e3e8f8dc229d339b1fc6c8cb66319087fdd (patch)
treeb87648cc8bc0cd647888d5ff74ebf61ee6f55a61 /games-strategy/gorky17-demo
parenttouchups (diff)
downloadgentoo-2-ab401e3e8f8dc229d339b1fc6c8cb66319087fdd.tar.gz
gentoo-2-ab401e3e8f8dc229d339b1fc6c8cb66319087fdd.tar.bz2
gentoo-2-ab401e3e8f8dc229d339b1fc6c8cb66319087fdd.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and modified by me. Closing bug #135958.
(Portage version: 2.1)
Diffstat (limited to 'games-strategy/gorky17-demo')
-rw-r--r--games-strategy/gorky17-demo/ChangeLog11
-rw-r--r--games-strategy/gorky17-demo/Manifest16
-rw-r--r--games-strategy/gorky17-demo/files/digest-gorky17-demo-1.0.03
-rw-r--r--games-strategy/gorky17-demo/gorky17-demo-1.0.0.ebuild74
-rw-r--r--games-strategy/gorky17-demo/metadata.xml6
5 files changed, 110 insertions, 0 deletions
diff --git a/games-strategy/gorky17-demo/ChangeLog b/games-strategy/gorky17-demo/ChangeLog
new file mode 100644
index 000000000000..af60816e996c
--- /dev/null
+++ b/games-strategy/gorky17-demo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-strategy/gorky17-demo
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/gorky17-demo/ChangeLog,v 1.1 2006/06/14 19:17:41 wolf31o2 Exp $
+
+*gorky17-demo-1.0.0 (14 Jun 2006)
+
+ 14 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +gorky17-demo-1.0.0.ebuild:
+ Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and modified by me.
+ Closing bug #135958.
+
diff --git a/games-strategy/gorky17-demo/Manifest b/games-strategy/gorky17-demo/Manifest
new file mode 100644
index 000000000000..b4cb0563c344
--- /dev/null
+++ b/games-strategy/gorky17-demo/Manifest
@@ -0,0 +1,16 @@
+DIST gorky17_demo.run 158781516 RMD160 ef299fb9c4838ab737781f0e540273625e9c597b SHA1 320a189d2af55e0eefb261edf4faec41928e949b SHA256 35cf62e06747bfe3445c1d3a61ad1644922528c264ff2ec7b5b510f9bc9dd51a
+EBUILD gorky17-demo-1.0.0.ebuild 1707 RMD160 9ffc5edafd0047ec3f39c3513c515725dfac1a78 SHA1 d763318b10b4ebf9258f2a6a49487b52099975af SHA256 eb1afa04706362a80cb95d459eebaacd3d7ebc863b3c3905dd95a7b8d261632e
+MD5 21560cc944780ed80118af859e964fcc gorky17-demo-1.0.0.ebuild 1707
+RMD160 9ffc5edafd0047ec3f39c3513c515725dfac1a78 gorky17-demo-1.0.0.ebuild 1707
+SHA256 eb1afa04706362a80cb95d459eebaacd3d7ebc863b3c3905dd95a7b8d261632e gorky17-demo-1.0.0.ebuild 1707
+MISC ChangeLog 365 RMD160 9e2b93c07ebcc955d0c459ae297075a684cf0e7a SHA1 2fdd41e04a2c5bca26572ffe999095b035dcc96f SHA256 843622990eec3fe29cbd0281fd05a68451192e131693e1ab841452b7139ca669
+MD5 1646fb264de8f71bbcb79806b3753964 ChangeLog 365
+RMD160 9e2b93c07ebcc955d0c459ae297075a684cf0e7a ChangeLog 365
+SHA256 843622990eec3fe29cbd0281fd05a68451192e131693e1ab841452b7139ca669 ChangeLog 365
+MISC metadata.xml 172 RMD160 3a0b1d2e78a3390dae6e4a4f27633303cb219a89 SHA1 b14e7eeeddc5e641cd130f78d7f326b4a0981832 SHA256 8b875255c032e91eac2cd18e15d621939aa3374c8e2ed25217ab11b567740351
+MD5 8b63b393ca69e4b6a8ceaacfbbe6a04f metadata.xml 172
+RMD160 3a0b1d2e78a3390dae6e4a4f27633303cb219a89 metadata.xml 172
+SHA256 8b875255c032e91eac2cd18e15d621939aa3374c8e2ed25217ab11b567740351 metadata.xml 172
+MD5 d21fd1f735eb7f7b26dac3dac6cc2f33 files/digest-gorky17-demo-1.0.0 238
+RMD160 51f3deba67f7dde2c7641b41a2011acc455a226f files/digest-gorky17-demo-1.0.0 238
+SHA256 81df5ccd336808ab7ddc21940726cad87d7c3370782f8833c622f8ca36f1a60e files/digest-gorky17-demo-1.0.0 238
diff --git a/games-strategy/gorky17-demo/files/digest-gorky17-demo-1.0.0 b/games-strategy/gorky17-demo/files/digest-gorky17-demo-1.0.0
new file mode 100644
index 000000000000..650e9725f241
--- /dev/null
+++ b/games-strategy/gorky17-demo/files/digest-gorky17-demo-1.0.0
@@ -0,0 +1,3 @@
+MD5 299f728c9671b13e00422e69479820ac gorky17_demo.run 158781516
+RMD160 ef299fb9c4838ab737781f0e540273625e9c597b gorky17_demo.run 158781516
+SHA256 35cf62e06747bfe3445c1d3a61ad1644922528c264ff2ec7b5b510f9bc9dd51a gorky17_demo.run 158781516
diff --git a/games-strategy/gorky17-demo/gorky17-demo-1.0.0.ebuild b/games-strategy/gorky17-demo/gorky17-demo-1.0.0.ebuild
new file mode 100644
index 000000000000..dc2ebfeec2bf
--- /dev/null
+++ b/games-strategy/gorky17-demo/gorky17-demo-1.0.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/gorky17-demo/gorky17-demo-1.0.0.ebuild,v 1.1 2006/06/14 19:17:41 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_PN="gorky17"
+# Specified here, so it can be used in QA_EXECSTACK
+dir=${GAMES_PREFIX_OPT}/${PN}
+
+DESCRIPTION="Horror conspiracy game mixing elements of strategy and role-playing"
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=gorky17"
+SRC_URI="http://demofiles.linuxgamepublishing.com/${MY_PN}/${MY_PN}_demo.run"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="strip"
+
+QA_EXECSTACK="${dir:1}/gorky17_demo ${dir:1}/gorky17_demo.dynamic"
+
+# This multilib stuff is a mystery
+RDEPEND="media-libs/alsa-lib
+ x86? (
+ media-libs/libsdl
+ sys-libs/zlib
+ || (
+ (
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext )
+ virtual/x11 ) )
+ amd64? (
+ app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-soundlibs
+ app-emulation/emul-linux-x86-sdl )"
+
+S=${WORKDIR}
+
+Ddir=${D}/${dir}
+
+src_unpack() {
+ unpack_makeself
+ unpack ./data/data.tar.gz
+ rm -r data lgp_* setup* bin/{Linux/*64,*BSD}
+}
+
+src_install() {
+ exeinto "${dir}"
+ doexe bin/Linux/x86/${MY_PN}* || die "doexe failed"
+
+ insinto "${dir}"
+ doins -r * || die "doins -r failed"
+ rm -r "${Ddir}"/bin
+
+ # gorky17_demo.dynamic has crackling audio,
+ # so let's use the static binary instead.
+ games_make_wrapper ${PN} ./${MY_PN}_demo "${dir}"
+ newicon icon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Gorky 17 (Demo)" ${PN}.xpm
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ einfo "The instruction manual is available as:"
+ einfo " http://demofiles.linuxgamepublishing.com/gorky17/manual.pdf"
+ echo
+}
diff --git a/games-strategy/gorky17-demo/metadata.xml b/games-strategy/gorky17-demo/metadata.xml
new file mode 100644
index 000000000000..b600611dc1ca
--- /dev/null
+++ b/games-strategy/gorky17-demo/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</maintainer>
+</pkgmetadata>