summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-27 14:46:56 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-27 15:47:22 +0100
commit99626844688c8e5b91324c26062f0ea3ec7e8409 (patch)
tree507c26762188c5d7926445f7d7f77274def0e723
parentapp-admin/filebeat: version bump to 6.1.1 (diff)
downloadgentoo-99626844688c8e5b91324c26062f0ea3ec7e8409.tar.gz
gentoo-99626844688c8e5b91324c26062f0ea3ec7e8409.tar.bz2
gentoo-99626844688c8e5b91324c26062f0ea3ec7e8409.zip
games-strategy/wargus: Version bump to 2.4.1
Package-Manager: Portage-2.3.20, Repoman-2.3.6
-rw-r--r--games-strategy/wargus/Manifest1
-rw-r--r--games-strategy/wargus/wargus-2.4.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest
index cd13fe2cc4e..d3d1bd00c36 100644
--- a/games-strategy/wargus/Manifest
+++ b/games-strategy/wargus/Manifest
@@ -1 +1,2 @@
+DIST wargus-2.4.1.tar.gz 45981981 BLAKE2B 8d80e5d781a1be1edf602f13d77b84e85fe2592fb0a784f1b25b5c9656eaf10a11c3241dfa71388c9a01a9e8fad15b1805a67ddb3157c2a0e86d967f3852869a SHA512 d468d9ad08907fbbfd02af0bca069d6a95d5303cd4f3d838c12bbfe6af0d48f695f9f49d446dbddeae2a91deb1eaa17875954eefdfbe5e25cd840c4454dc6ea0
DIST wargus_2.3.0.orig.tar.gz 45006918 BLAKE2B b952d4b93a6aed22c201ce6caa2398a8d2ac60366882dd091c861733bf9f6baca409fcb4f0fd59a1c8673744c80b154cd6053ab81a89afef6e95737766c41e88 SHA512 79dbef5f86fafe7357c2911a16655c29bccef71dad39bfe6e02866c1734ee1598bb29a9005c8fa7c73d6f64e13fb7cdd3962214921b0b18c3868cb5abb2a0a87
diff --git a/games-strategy/wargus/wargus-2.4.1.ebuild b/games-strategy/wargus/wargus-2.4.1.ebuild
new file mode 100644
index 00000000000..e88a97f6bba
--- /dev/null
+++ b/games-strategy/wargus/wargus-2.4.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Warcraft II for the Stratagus game engine"
+HOMEPAGE="http://wargus.sourceforge.net/"
+SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ =games-engines/stratagus-${PV}*[theora]
+ media-libs/libpng:0=
+ sys-libs/zlib:=
+ x11-libs/gtk+:2
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+PDEPEND="games-strategy/wargus-data"
+
+src_configure() {
+ local mycmakeargs=(
+ -DGAMEDIR="${EPREFIX}/usr/bin"
+ -DBINDIR="${EPREFIX}/usr/bin"
+ -DSTRATAGUS="${EPREFIX}/usr/bin"/stratagus
+ -DICONDIR=/usr/share/icons/hicolor/64x64/apps
+ )
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ elog "Enabling OpenGL in-game seems to cause segfaults/crashes."
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}