diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2016-01-25 16:57:58 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2016-01-25 16:59:05 -0500 |
commit | 862f214effd34c1d3beba0c6b653d9ecde303b56 (patch) | |
tree | 7d2d00beb948be7bd3e3bac9e1116304aee6311c /games-strategy/warzone2100 | |
parent | app-cdr/bashburn: Take ownership of package (diff) | |
download | gentoo-862f214effd34c1d3beba0c6b653d9ecde303b56.tar.gz gentoo-862f214effd34c1d3beba0c6b653d9ecde303b56.tar.bz2 gentoo-862f214effd34c1d3beba0c6b653d9ecde303b56.zip |
games-strategy/warzone2100: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-strategy/warzone2100')
-rw-r--r-- | games-strategy/warzone2100/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/warzone2100/warzone2100-3.1.3.ebuild | 101 |
2 files changed, 102 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest index ebee4ebec7e0..354b68ffe5a0 100644 --- a/games-strategy/warzone2100/Manifest +++ b/games-strategy/warzone2100/Manifest @@ -1,2 +1,3 @@ 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-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe diff --git a/games-strategy/warzone2100/warzone2100-3.1.3.ebuild b/games-strategy/warzone2100/warzone2100-3.1.3.ebuild new file mode 100644 index 000000000000..5785084a26b6 --- /dev/null +++ b/games-strategy/warzone2100/warzone2100-3.1.3.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools 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 +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] )" +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 +} |