summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-12-12 09:08:44 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-12-12 09:41:01 +0100
commit8d73296bbea4dfcf6f9099565b571eb0ebc607a1 (patch)
tree39ee12e1ec77a007894306da884528b81fef4c9b /games-strategy
parentdev-util/checkbashisms: Bump to version 2.16.12 (diff)
downloadgentoo-8d73296bbea4dfcf6f9099565b571eb0ebc607a1.tar.gz
gentoo-8d73296bbea4dfcf6f9099565b571eb0ebc607a1.tar.bz2
gentoo-8d73296bbea4dfcf6f9099565b571eb0ebc607a1.zip
games-strategy/warzone2100: Bump to version 3.2.2
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/warzone2100/Manifest1
-rw-r--r--games-strategy/warzone2100/warzone2100-3.2.2.ebuild104
2 files changed, 105 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest
index 6bae373a4609..e7a62d968df1 100644
--- a/games-strategy/warzone2100/Manifest
+++ b/games-strategy/warzone2100/Manifest
@@ -2,4 +2,5 @@ DIST warzone2100-3.1.5.tar.xz 86236328 SHA256 21aacc3e475d17338cf7a57aefe4517868
DIST warzone2100-3.2.1-openssl110.patch 1460 SHA256 bef16d511d8bb752b82e0e1debe6c0990c6c91c1e4aa03561ad34a1f7593f676 SHA512 e922d5138ef5de466b26f7473aa553c8ed650470c503f984a99b661ebe87011d644158d2a7a351342c3fd57d5ba55e62c9542f92a1586f40d1ea5c816702d838 WHIRLPOOL 43fca2f48dc930c013aed0c61120feaed73b1ad6cbc6fd59956b742a7c10dab31d0d7bd82e86a718a341959d2143ada5c49ecd80e2afc200020e8fd99303ef88
DIST warzone2100-3.2.1-openssl110_v2.patch 2984 SHA256 639b5be0316bd187f804dc708d1fbcfbcae510b09b3d5af5fa2a8f8ef8b84d6f SHA512 557cfc27a6ac26302c4064d8b8d3ce0c94167c1ea758d6bf574d9a4e8d1c7e002ab93e0e34b5a85cb386313d871de1d77a3a7fd74d35aae057fe1155f510096b WHIRLPOOL 1aea245db0990f7f2ab675713869d657bd8e491e40f6651f0da9f5ca0a55fd5a76ddae62dfa73a6a37368efad6d3162fc712e955a1a091ecc1afe43fbb2aa891
DIST warzone2100-3.2.1.tar.xz 80759620 SHA256 0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9 SHA512 51338f83cc57bdbd825fd53e776d51192e19d9f4a6f2481ba7f22cc5936203f1a593755771dff844b4186fae85c31eea00489cd573d64288570c2b39db575e23 WHIRLPOOL a93e0f2529e6ddc7a39267e0438ab696aa70d268306cbc3dbb5e950f1f4b51e5487760fd24ece1d7feb510d04522a64d9bd76738a1b9f24cda6c5a1c062f6072
+DIST warzone2100-3.2.2.tar.xz 81296832 SHA256 af5a8dfe9e9df3505ef2543e4e62afb1f61a4ee4cc903f8ff7785f3c79779d18 SHA512 65fdca926c4d3e0708ba79df99e205ec826ffcd935b8263d28d43c6e4cd0726c8c554e64a295a227e24d0e59abb61073bdd8a7e5993f48e2eeb8cf1c289cf4ab WHIRLPOOL ce01306cbc5185a6876ce1c5563e8e3d35c196adcab2c8a2db8b32e7f2d46845f858fd4a00e420a111cae8abe56a58cdb8d8d1fcb43b83ae3edb8a7712cfbd88
DIST warzone2100-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe
diff --git a/games-strategy/warzone2100/warzone2100-3.2.2.ebuild b/games-strategy/warzone2100/warzone2100-3.2.2.ebuild
new file mode 100644
index 000000000000..57a8b990b0f0
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-3.2.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools toolchain-funcs eutils versionator gnome2-utils
+
+MY_PV=$(get_version_component_range -2)
+VIDEOS_PV=2.2
+VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz
+DESCRIPTION="3D real-time strategy game"
+HOMEPAGE="http://wz2100.net/"
+SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.xz
+ videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )"
+
+LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+# upstream requested debug support
+IUSE="debug nls sdl videos"
+
+# TODO: unbundle miniupnpc and quesoglc
+# quesoglc-0.7.2 is buggy: http://developer.wz2100.net/ticket/2828
+RDEPEND=">=dev-games/physfs-2[zip]
+ dev-libs/fribidi
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtscript:5
+ dev-qt/qtwidgets:5
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/glew:=
+ media-libs/libogg
+ media-libs/libpng:0
+ media-libs/libtheora
+ media-libs/libvorbis
+ media-libs/openal
+ sys-libs/zlib
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXrandr
+ nls? ( virtual/libintl )
+ !sdl? (
+ dev-qt/qtopengl:5
+ dev-qt/qtx11extras:5
+ )
+ sdl? ( media-libs/libsdl2[opengl,video,X] )"
+DEPEND="${RDEPEND}
+ app-arch/zip
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ media-fonts/dejavu"
+
+src_prepare() {
+ default
+
+ sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die
+ sed '/appdata\.xml/d' -i icons/Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --localedir=/usr/share/locale \
+ --with-distributor="Gentoo ${PF}" \
+ --with-icondir=/usr/share/icons/hicolor/128x128/apps \
+ --with-applicationdir=/usr/share/applications \
+ $(use_enable debug debug relaxed) \
+ $(use_enable nls) \
+ --with-backend=$(usex sdl "sdl" "qt")
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ default
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING*
+ if use videos ; then
+ insinto /usr/share/${PN}
+ newins "${DISTDIR}"/${VIDEOS_P} sequences.wz
+ fi
+ doman doc/warzone2100.6
+ dodoc doc/quickstartguide.pdf
+
+ elog "If you are using opensource drivers you should consider installing: "
+ elog " media-libs/libtxc_dxtn"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}