summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-05-02 15:28:16 -0400
committerMichael Sterrett <mr_bones_@gentoo.org>2016-05-02 20:24:46 -0400
commit5ab4565badb17f16fc20edaae878b5a6cd62f52c (patch)
tree6b43b454548fecb3f61055d6713eb1613b8b7429 /games-strategy
parentnet-nds/ypserv: remove old ebuild (diff)
downloadgentoo-5ab4565badb17f16fc20edaae878b5a6cd62f52c.tar.gz
gentoo-5ab4565badb17f16fc20edaae878b5a6cd62f52c.tar.bz2
gentoo-5ab4565badb17f16fc20edaae878b5a6cd62f52c.zip
games-strategy/warzone2100: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/warzone2100/Manifest1
-rw-r--r--games-strategy/warzone2100/warzone2100-3.1.5.ebuild102
2 files changed, 103 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest
index 354b68ffe5a..a0d8e6107ab 100644
--- a/games-strategy/warzone2100/Manifest
+++ b/games-strategy/warzone2100/Manifest
@@ -1,3 +1,4 @@
DIST warzone2100-3.1.2.tar.xz 86232636 SHA256 e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b SHA512 55046ebb661ccc948b426dd07b116173bce70221a94c55fbe0897b3ad2137e22af6163476a72c4f1a7e00eed3a04f53eb1f2243d64491b48467c67928992ae87 WHIRLPOOL 0d2cc9a09e1118a9afad6fae88682a93fc0622df22f30cedb097cff670329b1a820d04df65538585e92bc0017e3790b1026bf228ad77a8fbb69c423f85d7eb64
DIST warzone2100-3.1.3.tar.xz 86234856 SHA256 b8389036070eb7eb15b4649ba7dc6b7c27ded46323115b07d987815e8d33ffb2 SHA512 f16d7ad26ac9af3d31e2995917fbe93e40dfcad071824bf23e78d4d3599c692e1009c5e4e4e424a41350aa382ca0a27094b654b521757e43c6c9ece61a2f3d19 WHIRLPOOL 59156961286d8bb1a59fccff92410256548a685be3ee5ca980da49775d3161c315189eadd0b7a6aa6d62ee5dcf036db2c49f0c6d4934ec22dd2b214f66428287
+DIST warzone2100-3.1.5.tar.xz 86236328 SHA256 21aacc3e475d17338cf7a57aefe4517868822a8167fb6c291f6f6f3b454ca442 SHA512 5d35d314a0fd6df7d52be634e010567f92b7ede617e9dc41523680dc4f4019a9afb9d0660bdd1ac908df70bdbca5e7696730b0861ad764aaea6ef851cf598fca WHIRLPOOL e510cc06de299db2ad79943f199c89fcd6408d6554f1da126666529379a23defa7f7521275502cc699cd6fefd2f0dc5fab64e6a049bcf54abda0e8da2229d696
DIST warzone2100-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe
diff --git a/games-strategy/warzone2100/warzone2100-3.1.5.ebuild b/games-strategy/warzone2100/warzone2100-3.1.5.ebuild
new file mode 100644
index 00000000000..8adc9c88f15
--- /dev/null
+++ b/games-strategy/warzone2100/warzone2100-3.1.5.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs eutils versionator gnome2-utils games
+
+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 qt4 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
+ 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
+ dev-qt/qtcore:4
+ dev-qt/qtscript:4
+ nls? ( virtual/libintl )
+ qt4? (
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ )
+ !qt4? ( media-libs/libsdl[opengl,video,X] )"
+DEPEND="${RDEPEND}
+ app-arch/zip
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+RDEPEND="${RDEPEND}
+ media-fonts/dejavu"
+
+src_prepare() {
+ sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die
+}
+
+src_configure() {
+ egamesconf \
+ --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 qt4 "qt" "sdl")
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ default
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING*
+ if use videos ; then
+ insinto "${GAMES_DATADIR}"/${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"
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}