Skip to content

Commit

Permalink
games-strategy/wargus: Version bump to 2.4.1
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.20, Repoman-2.3.6
  • Loading branch information
SoapGentoo committed Jan 27, 2018
1 parent 08ebd03 commit 9962684
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-strategy/wargus/Manifest
Original file line number Diff line number Diff line change
@@ -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
48 changes: 48 additions & 0 deletions games-strategy/wargus/wargus-2.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 9962684

Please sign in to comment.