diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-05-18 11:59:20 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-05-18 11:59:20 +0000 |
commit | 21e353b51dcf59d4a80ce2a2059d1d0f607b733c (patch) | |
tree | 6ac180917c2296d70b38ed28d51d6ee96b97f192 /games-strategy/x2-demo | |
parent | Sync with 2006.0 (diff) | |
download | historical-21e353b51dcf59d4a80ce2a2059d1d0f607b733c.tar.gz historical-21e353b51dcf59d4a80ce2a2059d1d0f607b733c.tar.bz2 historical-21e353b51dcf59d4a80ce2a2059d1d0f607b733c.zip |
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and modified by me. Closing bug #132286.
Package-Manager: portage-2.1_rc1-r2
Diffstat (limited to 'games-strategy/x2-demo')
-rw-r--r-- | games-strategy/x2-demo/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/x2-demo/Manifest | 16 | ||||
-rw-r--r-- | games-strategy/x2-demo/files/digest-x2-demo-1.4.01 | 3 | ||||
-rw-r--r-- | games-strategy/x2-demo/metadata.xml | 9 | ||||
-rw-r--r-- | games-strategy/x2-demo/x2-demo-1.4.01.ebuild | 82 |
5 files changed, 121 insertions, 0 deletions
diff --git a/games-strategy/x2-demo/ChangeLog b/games-strategy/x2-demo/ChangeLog new file mode 100644 index 000000000000..13cdfc95aa37 --- /dev/null +++ b/games-strategy/x2-demo/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-strategy/x2-demo +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2-demo/ChangeLog,v 1.1 2006/05/18 11:59:20 wolf31o2 Exp $ + +*x2-demo-1.4.01 (18 May 2006) + + 18 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml, + +x2-demo-1.4.01.ebuild: + Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and modified by me. + Closing bug #132286. + diff --git a/games-strategy/x2-demo/Manifest b/games-strategy/x2-demo/Manifest new file mode 100644 index 000000000000..2a579700fe01 --- /dev/null +++ b/games-strategy/x2-demo/Manifest @@ -0,0 +1,16 @@ +DIST x2-demo.run 188296419 RMD160 9fe95d4d3b0782de8709eb0893488824a78dbb0c SHA256 36b969221f936a40c0480348a67688336db77bf8e6db9c1c742ba113a54076f8 size 188296419 +EBUILD x2-demo-1.4.01.ebuild 2211 RMD160 be9662e30e5e001fccd2b3de547ee48e1beeb30b SHA1 75850aee9965051e0f27ece2e872c7b750a49a97 SHA256 940fb54ec09484a4a6b97ec19ad1724135345be6e0d2b46a2f553cc7178a1286 size 2211 +MD5 199e689ff6aa027a8caa72c42598d2eb x2-demo-1.4.01.ebuild 2211 +RMD160 be9662e30e5e001fccd2b3de547ee48e1beeb30b x2-demo-1.4.01.ebuild 2211 +SHA256 940fb54ec09484a4a6b97ec19ad1724135345be6e0d2b46a2f553cc7178a1286 x2-demo-1.4.01.ebuild 2211 +MISC ChangeLog 448 RMD160 2192fcca893ae370a35817b813282323facd6984 SHA1 453393ac05195f3b5d3d39b5219b460e3011bb3b SHA256 794ffa793174aba4f53c805ac6f6eaef8b72dc6ebbf35a928d7d3b4a97ddbbbc size 448 +MD5 b8f25085f3bbe0964dbeac64126b1c23 ChangeLog 448 +RMD160 2192fcca893ae370a35817b813282323facd6984 ChangeLog 448 +SHA256 794ffa793174aba4f53c805ac6f6eaef8b72dc6ebbf35a928d7d3b4a97ddbbbc ChangeLog 448 +MISC metadata.xml 254 RMD160 877a1dc36df2be58926bc51041093feafdefe429 SHA1 45f0334cd127c4a1b4ece41f7098ab70046e378a SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 size 254 +MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254 +RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254 +SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254 +MD5 8c7414011b1da3174bb74b3c731f02b5 files/digest-x2-demo-1.4.01 223 +RMD160 12061e75c47b446c42151a34f20d0e08aa688b68 files/digest-x2-demo-1.4.01 223 +SHA256 39ce90c2fb63aa493e9648577552c3f8efdbe5974becc307b735a7aefc41873a files/digest-x2-demo-1.4.01 223 diff --git a/games-strategy/x2-demo/files/digest-x2-demo-1.4.01 b/games-strategy/x2-demo/files/digest-x2-demo-1.4.01 new file mode 100644 index 000000000000..3ff6191be43b --- /dev/null +++ b/games-strategy/x2-demo/files/digest-x2-demo-1.4.01 @@ -0,0 +1,3 @@ +MD5 a6d6e04d331900f92c2fee58e1aa86c1 x2-demo.run 188296419 +RMD160 9fe95d4d3b0782de8709eb0893488824a78dbb0c x2-demo.run 188296419 +SHA256 36b969221f936a40c0480348a67688336db77bf8e6db9c1c742ba113a54076f8 x2-demo.run 188296419 diff --git a/games-strategy/x2-demo/metadata.xml b/games-strategy/x2-demo/metadata.xml new file mode 100644 index 000000000000..fe08918e6837 --- /dev/null +++ b/games-strategy/x2-demo/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>wolf31o2@gentoo.org</email> + <name>Chris Gianelloni</name> +</maintainer> +</pkgmetadata> diff --git a/games-strategy/x2-demo/x2-demo-1.4.01.ebuild b/games-strategy/x2-demo/x2-demo-1.4.01.ebuild new file mode 100644 index 000000000000..6e359e22724f --- /dev/null +++ b/games-strategy/x2-demo/x2-demo-1.4.01.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2-demo/x2-demo-1.4.01.ebuild,v 1.1 2006/05/18 11:59:20 wolf31o2 Exp $ + +# The comments are in this ebuild in case upstream ever decides to make another +# patch, we already have all the code. Blame Paul Bredbury <brebs@sent.com> for +# writing it all. *grin* + +#inherit eutils versionator games +inherit eutils games + +#PV_MAJOR=$(get_version_component_range 1-2) +#MY_P=${PN}-${PV_MAJOR}-${PV} + +DESCRIPTION="Open-ended space opera with trading, building & fighting" +HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=x2" + +# Patches are in http://updatefiles.linuxgamepublishing.com/x2-demo/ +SRC_URI="http://demofiles.linuxgamepublishing.com/x2/${PN}.run" +# http://updatefiles.linuxgamepublishing.com/${PN}/${MY_P}-x86.run" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="primaryuri strip" + +RDEPEND="media-libs/alsa-lib + sys-libs/glibc + x86? ( + media-libs/libsdl + media-libs/openal + sys-libs/zlib + x11-libs/gtk+ + || ( + ( + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXi ) + 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 + app-emulation/emul-linux-x86-gtklibs )" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +src_unpack() { + unpack_makeself ${PN}.run +# unpack_makeself ${MY_P}-x86.run + unpack ./data.tar.gz + rm -r data.tar.gz lgp_* setup* +} + +src_install() { + exeinto "${dir}" + doexe bin/Linux/x86/x2* || die "doins exes" + + insinto "${dir}" + doins -r * || die "doins -r failed" + +# bin/Linux/x86/loki_patch patch.dat ${Ddir} || die "loki_patch failed" +# loki_patch patch.dat ${Ddir} || die "loki_patch failed" + + keepdir "${dir}"/database + rm -f "${Ddir}"/bin + + # x2_demo.dynamic continually moans about "SIGABRT caught", + # so let's use the static binary instead. + games_make_wrapper ${PN} ./x2_demo "${dir}" "${dir}" + newicon icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "X2 - The Threat (Demo)" ${PN}.xpm + + prepgamesdirs +} |