diff options
Diffstat (limited to 'games-strategy/wargus')
-rw-r--r-- | games-strategy/wargus/Manifest | 5 | ||||
-rw-r--r-- | games-strategy/wargus/metadata.xml | 12 | ||||
-rw-r--r-- | games-strategy/wargus/wargus-2.3.0.ebuild | 60 |
3 files changed, 77 insertions, 0 deletions
diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest new file mode 100644 index 000000000000..ee745fe314d9 --- /dev/null +++ b/games-strategy/wargus/Manifest @@ -0,0 +1,5 @@ +DIST wargus_2.3.0.orig.tar.gz 45006918 SHA256 9b8def814a8c7135653ae95bb1ff836627d39d5f8242a436f486c59701eaeee7 SHA512 79dbef5f86fafe7357c2911a16655c29bccef71dad39bfe6e02866c1734ee1598bb29a9005c8fa7c73d6f64e13fb7cdd3962214921b0b18c3868cb5abb2a0a87 WHIRLPOOL 8c34fcd6b84f26183c5a0ad1f8d14cae1eed601d2b4e38aa22a8fa8a1bd068b93fb2f1ae5fb223a41524ef467269b585c446e8476a4736507b91cb6bd23b8006 +EBUILD wargus-2.3.0.ebuild 1187 SHA256 cc2debc4654e106bdb00b66d610635bb1250c24ca7e1eb3d675f5fa6c0859d15 SHA512 52704000dad77ef8c006d0f1861861cd843324c17baadac96da8aaf52bfbc03eae9795a243f8ce3d8151c71d218113fcc89e8c0bb127c39e4b408dca0fef719f WHIRLPOOL 0038d7f5e53a88b1302f511ec92b927bab5001d1435c336f529cfdfd3d712feca7ccc6e8c2c9196716fa292af0794e4b91bcf1b6ffe5c42437cfe0614a0ec030 +MISC ChangeLog 3907 SHA256 94cc71b8f5d7a385f4134395762c7efdd020ae66474a7629b9724b35de2a523f SHA512 96d075e255c4d6aa914390a403481edff70a431200cfadee3c5defd22473823dde41fb99597023bad279b1d1a0d29918598dcbf2c1695b47fa031a90c1c55edd WHIRLPOOL 45e7ad5f114b011f516b855a187e54ac8e5e1c88184610e13bb97daa66421cda13bf04060e3c400afbdfcb29224b121a33063630f5ec3f771c6d915c065cfc3b +MISC ChangeLog-2015 4950 SHA256 486c0e3e63b9f6d6490362eb424eb1db5101601fa87574ac63cea81f11083ce5 SHA512 279082f20f822617735a482b7139b0e0f947de29b960357f5d2e496e9291b65e553b842ac5fae939a8cb90d4335516e757607d5ae97cd2d62706eea5e0718af5 WHIRLPOOL 13c1a7cbf762867af46d47aeeb1cb0a2e88f8ab053e612e6a893e31ba64fa5ddc682ba106a8678686bc2e3ee0dca09008550df43232854f6372f6e80c300b646 +MISC metadata.xml 378 SHA256 aa87a5efb478a52b239a09214e77fd00cf96ab9b50f3fa6ad9bee99c451df46a SHA512 ccc5c5ce04783ccd03e482797fd8941fae5c1ba32936641b762595a03606996157637f5155a80eb7284fa2f290b8883b12a1b9b9ba83cf2693876f3cd269617f WHIRLPOOL dd4e159c7a16261ad7a27b73f53d2597cff0e3760c0c49111473cd9f5f65e3eca1efec02f9460a05b731ad6a2e1d17da272d9c2560a8b62886d64510137dc660 diff --git a/games-strategy/wargus/metadata.xml b/games-strategy/wargus/metadata.xml new file mode 100644 index 000000000000..734f09c524c3 --- /dev/null +++ b/games-strategy/wargus/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="launchpad">wargus</remote-id> + <remote-id type="sourceforge">wargus</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-strategy/wargus/wargus-2.3.0.ebuild b/games-strategy/wargus/wargus-2.3.0.ebuild new file mode 100644 index 000000000000..284be824d4f7 --- /dev/null +++ b/games-strategy/wargus/wargus-2.3.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils cmake-utils gnome2-utils games + +DESCRIPTION="Warcraft II for the Stratagus game engine" +HOMEPAGE="http://wargus.sourceforge.net/" +SRC_URI="https://launchpad.net/${PN}/trunk/2.3/+download/${PN}_${PV}.orig.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" + +S=${WORKDIR}/${PN}_${PV}.orig + +src_configure() { + local mycmakeargs=( + -DGAMEDIR="${GAMES_BINDIR}" + -DBINDIR="${GAMES_BINDIR}" + -DSTRATAGUS="${GAMES_BINDIR}"/stratagus + -DICONDIR=/usr/share/icons/hicolor/64x64/apps + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + elog "Enabling OpenGL in-game seems to cause segfaults/crashes." + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |