diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-10-23 18:16:38 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-10-23 18:16:38 +0000 |
commit | a41ca9cf44d63ab43a99a3e0df7dd9b5c2d2300c (patch) | |
tree | 7582c1fe3a212e6398a8d0ea9256410022ca0b26 /games-strategy/x2 | |
parent | Added local USE for games-strategy/x2. (diff) | |
download | historical-a41ca9cf44d63ab43a99a3e0df7dd9b5c2d2300c.tar.gz historical-a41ca9cf44d63ab43a99a3e0df7dd9b5c2d2300c.tar.bz2 historical-a41ca9cf44d63ab43a99a3e0df7dd9b5c2d2300c.zip |
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and edited by me. Closing bug #150539.
Package-Manager: portage-2.1.2_pre3-r5
Diffstat (limited to 'games-strategy/x2')
-rw-r--r-- | games-strategy/x2/ChangeLog | 11 | ||||
-rw-r--r-- | games-strategy/x2/Manifest | 26 | ||||
-rw-r--r-- | games-strategy/x2/files/digest-x2-1.4.01 | 3 | ||||
-rw-r--r-- | games-strategy/x2/metadata.xml | 5 | ||||
-rw-r--r-- | games-strategy/x2/x2-1.4.01.ebuild | 95 |
5 files changed, 140 insertions, 0 deletions
diff --git a/games-strategy/x2/ChangeLog b/games-strategy/x2/ChangeLog new file mode 100644 index 000000000000..cb66dd90d29e --- /dev/null +++ b/games-strategy/x2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-strategy/x2 +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/ChangeLog,v 1.1 2006/10/23 18:16:38 wolf31o2 Exp $ + +*x2-1.4.01 (23 Oct 2006) + + 23 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml, + +x2-1.4.01.ebuild: + Initial import. Ebuild by Paul Bredbury <brebs@sent.com> and edited by me. + Closing bug #150539. + diff --git a/games-strategy/x2/Manifest b/games-strategy/x2/Manifest new file mode 100644 index 000000000000..ec2350f8e6da --- /dev/null +++ b/games-strategy/x2/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST x2-1.4-1.4.01-x86.run 1030707 RMD160 e11975ec3703b780aa9a5a83e6832129b7ab3868 SHA1 9820235fff55d2ea0babd587535853eee181706e SHA256 0700dee701a2c630615dac16960672a7ceb97ebf147848566383e6caefbd52cd +EBUILD x2-1.4.01.ebuild 2456 RMD160 02b6f233bc86ccfe0e1328d0e89e07ce9c2a088a SHA1 bc3caf36f7c40a5bc07893a05c080d93d6be43cc SHA256 d3742d49a1d87be327789078abccf8fe8ebfc16cb6482633cb26a7a3daefa798 +MD5 8a0769e7e69564662bf1888f93684a00 x2-1.4.01.ebuild 2456 +RMD160 02b6f233bc86ccfe0e1328d0e89e07ce9c2a088a x2-1.4.01.ebuild 2456 +SHA256 d3742d49a1d87be327789078abccf8fe8ebfc16cb6482633cb26a7a3daefa798 x2-1.4.01.ebuild 2456 +MISC ChangeLog 426 RMD160 f1638b54bfc561ba23c19713e1813fdbb5c59f23 SHA1 feedf2f3b76071c25355f69b4f894c7ed3d2a274 SHA256 7f1a9d7da7f794faeb7ab97fec8af965db21741ac9aa6c20fad8251135cfa287 +MD5 9e1c62f5db72035db785d9b39e157234 ChangeLog 426 +RMD160 f1638b54bfc561ba23c19713e1813fdbb5c59f23 ChangeLog 426 +SHA256 7f1a9d7da7f794faeb7ab97fec8af965db21741ac9aa6c20fad8251135cfa287 ChangeLog 426 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 1514e68b5fef32abcebc577f0fbb38b9 files/digest-x2-1.4.01 247 +RMD160 85ef7ed1162edfb51881a13d07945d450f406410 files/digest-x2-1.4.01 247 +SHA256 058cd63cfd40092ec0208baad3ce180948e7a471d8a8afe324448eacd58d4312 files/digest-x2-1.4.01 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFPQcikT4lNIS36YERAsveAJ4r7zq5UI3MEIgBq8nobpNt0k0noACfciEc +Xdc1Sqk/k2gCo451oGBiP3k= +=pbqp +-----END PGP SIGNATURE----- diff --git a/games-strategy/x2/files/digest-x2-1.4.01 b/games-strategy/x2/files/digest-x2-1.4.01 new file mode 100644 index 000000000000..5c5be1961d37 --- /dev/null +++ b/games-strategy/x2/files/digest-x2-1.4.01 @@ -0,0 +1,3 @@ +MD5 f3a4d7746c972eb4b945f2867ca053cf x2-1.4-1.4.01-x86.run 1030707 +RMD160 e11975ec3703b780aa9a5a83e6832129b7ab3868 x2-1.4-1.4.01-x86.run 1030707 +SHA256 0700dee701a2c630615dac16960672a7ceb97ebf147848566383e6caefbd52cd x2-1.4-1.4.01-x86.run 1030707 diff --git a/games-strategy/x2/metadata.xml b/games-strategy/x2/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-strategy/x2/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> diff --git a/games-strategy/x2/x2-1.4.01.ebuild b/games-strategy/x2/x2-1.4.01.ebuild new file mode 100644 index 000000000000..dfd89b602743 --- /dev/null +++ b/games-strategy/x2/x2-1.4.01.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/x2-1.4.01.ebuild,v 1.1 2006/10/23 18:16:38 wolf31o2 Exp $ + +inherit eutils versionator 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" +SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${MY_P}-x86.run" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bonusscripts dynamic german langpacks modkit" +RESTRICT="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 ) + amd64? ( + app-emulation/emul-linux-x86-gtklibs + app-emulation/emul-linux-x86-medialibs + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-xlibs )" +DEPEND="" + +S=${WORKDIR} + +src_unpack() { + cdrom_get_cds bin/Linux/x86/${PN} + ln -sfn "${CDROM_ROOT}"/data cd + local u + for u in data bonusscripts german langpacks modkit ; do + if ( [[ "${u}" = "data" ]] || use "${u}" ) ; then + unpack "./cd/${u}.tar.gz" + fi + done + rm -f cd + + cp -rf "${CDROM_ROOT}"/bin/Linux/x86/* . || die "cp exes failed" + cp -f "${CDROM_ROOT}"/{READ*,icon*} . || die "cp READ* failed" + + mkdir patch + cd patch + unpack_makeself ${MY_P}-x86.run + bin/Linux/x86/loki_patch patch.dat "${S}" || die "loki_patch failed" + cp -f README.txt "${S}"/patch.txt || die "cp README.txt failed" + cd "${S}" + rm -rf patch + + # These files do not get installed + [[ -e modkit ]] && rm -f modkit/x2*.debug +} + +src_install() { + dir=${GAMES_PREFIX_OPT}/${PN} + + # Whether to use static (default) or dynamic binaries + local dyn + use dynamic && dyn=".dynamic" + + insinto "${dir}" + doins -r * || die "doins -r failed" + keepdir "${dir}"/Database + + exeinto "${dir}" + doexe x2{,.dynamic} || die "doexe x2 failed" + + if use modkit ; then + exeinto "${dir}"/modkit + doexe modkit/x2{build,tool}{,.dynamic} || die "doexe modkit failed" + local f + for f in build tool ; do + games_make_wrapper "x2${f}" "${dir}/modkit/x2${f}${dyn}" + done + fi + + games_make_wrapper ${PN} "./${PN}${dyn}" "${dir}" + newicon "${CDROM_ROOT}"/icon.xpm ${PN}.xpm || die "newicon failed" + make_desktop_entry ${PN} "X2 - The Threat" ${PN}.xpm + + prepgamesdirs +} |