diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-09-26 09:17:28 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-09-26 09:20:17 +0200 |
commit | 97a8dde0ac07665dd8148a32f2f6f0b772067849 (patch) | |
tree | 9e7eb98dc310e99db2f4122a76a5f06173c91f02 /games-strategy | |
parent | media-libs/assimp: patch that fixes Findassimp cmake module path (diff) | |
download | gentoo-97a8dde0ac07665dd8148a32f2f6f0b772067849.tar.gz gentoo-97a8dde0ac07665dd8148a32f2f6f0b772067849.tar.bz2 gentoo-97a8dde0ac07665dd8148a32f2f6f0b772067849.zip |
games-strategy/warzone2100: Bump to version 3.2.1
Package-Manager: portage-2.3.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/warzone2100/Manifest | 3 | ||||
-rw-r--r-- | games-strategy/warzone2100/warzone2100-3.2.1.ebuild | 114 |
2 files changed, 117 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/Manifest b/games-strategy/warzone2100/Manifest index 6e38dbc2e5f8..57a95c6965ac 100644 --- a/games-strategy/warzone2100/Manifest +++ b/games-strategy/warzone2100/Manifest @@ -1,3 +1,6 @@ DIST warzone2100-3.1.2.tar.xz 86232636 SHA256 e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b SHA512 55046ebb661ccc948b426dd07b116173bce70221a94c55fbe0897b3ad2137e22af6163476a72c4f1a7e00eed3a04f53eb1f2243d64491b48467c67928992ae87 WHIRLPOOL 0d2cc9a09e1118a9afad6fae88682a93fc0622df22f30cedb097cff670329b1a820d04df65538585e92bc0017e3790b1026bf228ad77a8fbb69c423f85d7eb64 DIST warzone2100-3.1.5.tar.xz 86236328 SHA256 21aacc3e475d17338cf7a57aefe4517868822a8167fb6c291f6f6f3b454ca442 SHA512 5d35d314a0fd6df7d52be634e010567f92b7ede617e9dc41523680dc4f4019a9afb9d0660bdd1ac908df70bdbca5e7696730b0861ad764aaea6ef851cf598fca WHIRLPOOL e510cc06de299db2ad79943f199c89fcd6408d6554f1da126666529379a23defa7f7521275502cc699cd6fefd2f0dc5fab64e6a049bcf54abda0e8da2229d696 +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-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe diff --git a/games-strategy/warzone2100/warzone2100-3.2.1.ebuild b/games-strategy/warzone2100/warzone2100-3.2.1.ebuild new file mode 100644 index 000000000000..7aa1552dd6d9 --- /dev/null +++ b/games-strategy/warzone2100/warzone2100-3.2.1.ebuild @@ -0,0 +1,114 @@ +# 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} )" + +# openssl-1.1.0 patches +SRC_URI+=" + https://github.com/Cyp/warzone2100/commit/d29cacac856882b153fa206c49091188af5d95aa.patch -> ${PN}-3.2.1-openssl110.patch + https://github.com/Cyp/warzone2100/commit/efe8bf60ec56565b96a26b041a965c925bc58c3b.patch -> ${PN}-3.2.1-openssl110_v2.patch" + +LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +# upstream requested debug support +IUSE="debug nls qt5 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/qtscript: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 ) + qt5? ( + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + ) + !qt5? ( media-libs/libsdl[opengl,video,X] )" +DEPEND="${RDEPEND} + app-arch/zip + virtual/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="${RDEPEND} + media-fonts/dejavu" + +PATCHES=( + "${DISTDIR}/${P}-openssl110.patch" + "${DISTDIR}/${P}-openssl110_v2.patch" +) + +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 qt5 "qt" "sdl") +} + +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 +} |