diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-09-21 21:40:17 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-09-21 21:40:17 +0000 |
commit | 01461c1555bc03547e3e0b4d50a576e2b975d1b1 (patch) | |
tree | 2a7a7afbd8e5729167edbf328346c2339b1482b3 /games-rpg/wasteland2 | |
parent | mask games-rpg/wasteland2 for no-multilib (diff) | |
download | gentoo-2-01461c1555bc03547e3e0b4d50a576e2b975d1b1.tar.gz gentoo-2-01461c1555bc03547e3e0b4d50a576e2b975d1b1.tar.bz2 gentoo-2-01461c1555bc03547e3e0b4d50a576e2b975d1b1.zip |
initial import
(Portage version: 2.2.12-r1/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'games-rpg/wasteland2')
-rw-r--r-- | games-rpg/wasteland2/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/wasteland2/Manifest | 4 | ||||
-rw-r--r-- | games-rpg/wasteland2/metadata.xml | 9 | ||||
-rw-r--r-- | games-rpg/wasteland2/wasteland2-1.0.0.4.ebuild | 118 |
4 files changed, 141 insertions, 0 deletions
diff --git a/games-rpg/wasteland2/ChangeLog b/games-rpg/wasteland2/ChangeLog new file mode 100644 index 000000000000..15595caa8e43 --- /dev/null +++ b/games-rpg/wasteland2/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/wasteland2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/wasteland2/ChangeLog,v 1.1 2014/09/21 21:40:17 hasufell Exp $ + +*wasteland2-1.0.0.4 (21 Sep 2014) + + 21 Sep 2014; Julian Ospald <hasufell@gentoo.org> +wasteland2-1.0.0.4.ebuild, + +metadata.xml: + initial import + diff --git a/games-rpg/wasteland2/Manifest b/games-rpg/wasteland2/Manifest new file mode 100644 index 000000000000..8a87a1a97de4 --- /dev/null +++ b/games-rpg/wasteland2/Manifest @@ -0,0 +1,4 @@ +DIST gog_wasteland_2_1.0.0.4.tar.gz 12863461807 SHA256 dbe924f7920d6de3a1df4a0b26e68ae30e2c8f38ce64c3e927c1a7e01de1fb22 SHA512 f47815a07de4b3c04598bec73978d38187c5c0fee8960f724cd0d863857eaf9f738e35472f7bb4851b51459e9f814579954c9e17e3a8509be343bae4ce526530 WHIRLPOOL 344ab9146e440e594cbb9e64e0c39edd7ae8c4ffc1c6fa43187ebfe0b61b37f79e219191d6d066e3ae2160cd85da3d16c305948a4dc037c6599b124bfaae6202 +EBUILD wasteland2-1.0.0.4.ebuild 2532 SHA256 693d86030f34245eee179bb4888e1fd243059c296926bd2f55354cb8246023fe SHA512 5fb901f22bac8c9d6d6f5708239c07cf53c429982f4a0de89de872d9114a13ed882e7d7693e1b26b0b34606a910a54dddb019119b61ea536e2d071174926f1c2 WHIRLPOOL 68931042b51b4952b86ceca0ee22733c85f04bf6b77f2cc520a49f7207636dfc3efbd8e9be9754b3c193dea47dd9aac633ccd43656123f8f2999bbcde22ec24c +MISC ChangeLog 270 SHA256 968816f57526c88121999c50ce2d285b0d859b912cec339bb92a2fefa75a42d7 SHA512 a86b4a1e17f3a398764f21995aa9a66d1b7ed2c848db25a8d63486f866ec2623ee61473c486b2d9add9410ffece592633c07ba8bc2f8127c71674718361708f7 WHIRLPOOL 999d38a225ff8983af1d5305c5943fc80dd1888e017e1fdca3bc66adcae42dda49733a3db25aed4a18ce77bafd46dfec1a8fd6e1700455675b6c6b3c059f2215 +MISC metadata.xml 254 SHA256 42d769831f9be3fb5b0972b75bc3b1e4765416161881d7303cb637abbe03d6dd SHA512 2a78f67329bbc7aab1b971330a49fe7a0812e95f8775a91e6b97d4751b8b6fd92510ecf1bee9bd43dfb376cb0a71830a74e2b9f9212168168a2a7e22b223ae31 WHIRLPOOL 3d71526e2e1ce18ca62385c234302e0694490b40f263e456ff4166e1156279c97e3b58fb4b1959c69ce01d96bc9e1e9eda57e9f596a6155e53bb3f1f496be71e diff --git a/games-rpg/wasteland2/metadata.xml b/games-rpg/wasteland2/metadata.xml new file mode 100644 index 000000000000..ee67c3092f58 --- /dev/null +++ b/games-rpg/wasteland2/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>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> diff --git a/games-rpg/wasteland2/wasteland2-1.0.0.4.ebuild b/games-rpg/wasteland2/wasteland2-1.0.0.4.ebuild new file mode 100644 index 000000000000..dace20d5f6ff --- /dev/null +++ b/games-rpg/wasteland2/wasteland2-1.0.0.4.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/wasteland2/wasteland2-1.0.0.4.ebuild,v 1.1 2014/09/21 21:40:17 hasufell Exp $ + +EAPI=5 + +inherit eutils gnome2-utils check-reqs games + +DESCRIPTION="Direct sequel to 1988's Wasteland, the first-ever post-apocalyptic computer RPG and the inspiration behind the Fallout series" +HOMEPAGE="https://wasteland.inxile-entertainment.com/" +SRC_URI="gog_wasteland_2_${PV}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="bindist fetch mirror" + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/*" + +RDEPEND=" + virtual/opengl + amd64? ( + || ( + app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ( + >=dev-libs/glib-2.40.0-r1:2[abi_x86_32(-)] + ) + ) + || ( + app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] + ( + >=dev-libs/atk-2.12.0-r1[abi_x86_32(-)] + >=x11-libs/cairo-1.12.16-r2[abi_x86_32(-)] + >=x11-libs/gdk-pixbuf-2.30.8:2[abi_x86_32(-)] + >=x11-libs/gtk+-2.24.24:2[abi_x86_32(-)] + >=x11-libs/pango-1.36.5[abi_x86_32(-)] + ) + ) + || ( + app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] + ( + >=media-libs/fontconfig-2.10.92:1.0[abi_x86_32(-)] + >=media-libs/freetype-2.5.3-r1:2[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)] + ) + ) + || ( + app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] + ( + >=virtual/glu-9.0-r1[abi_x86_32(-)] + ) + ) + ) + x86? ( + dev-libs/atk + dev-libs/glib:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/pango + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXrandr + virtual/glu + ) +" + +S="${WORKDIR}/Wasteland 2" + +CHECKREQS_DISK_BUILD="22000M" +CHECKREQS_DISK_USR="21600M" + +pkg_nofetch() { + einfo + einfo "Please buy & download \"${SRC_URI}\" from:" + einfo " https://www.gog.com/" + einfo "and move/link it to \"${DISTDIR}\"" + einfo +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + + # over 20GB of data + dodir "${dir}" + mv game/WL2_Data "${D%%/}${dir}"/ || die + exeinto "${dir}" + doexe game/WL2 + + games_make_wrapper ${PN} ./WL2 "${dir}" + newicon -s 256 support/gog-wasteland-2.png ${PN}.png + make_desktop_entry ${PN} "Wasteland 2" + + dodoc docs/*.pdf + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |