summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-01-07 09:50:52 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-01-07 09:50:52 +0000
commit900278174ab0343c19b619239982228f1b0244f7 (patch)
treee8950cd4405239d7f8ffc235ec6afa33b793c5b2 /games-strategy
parentEnsure make fails on mktool -i failure. (diff)
downloadhistorical-900278174ab0343c19b619239982228f1b0244f7.tar.gz
historical-900278174ab0343c19b619239982228f1b0244f7.tar.bz2
historical-900278174ab0343c19b619239982228f1b0244f7.zip
version bump (bug #535818)
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/lgeneral/ChangeLog9
-rw-r--r--games-strategy/lgeneral/Manifest14
-rw-r--r--games-strategy/lgeneral/lgeneral-1.2.4.ebuild100
3 files changed, 110 insertions, 13 deletions
diff --git a/games-strategy/lgeneral/ChangeLog b/games-strategy/lgeneral/ChangeLog
index ac0fdbc58bc5..a7b7998b4b76 100644
--- a/games-strategy/lgeneral/ChangeLog
+++ b/games-strategy/lgeneral/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/lgeneral
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.45 2014/10/20 07:00:23 tupone Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/ChangeLog,v 1.46 2015/01/07 09:50:47 mr_bones_ Exp $
+
+*lgeneral-1.2.4 (07 Jan 2015)
+
+ 07 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org> +lgeneral-1.2.4.ebuild:
+ version bump (bug #535818)
20 Oct 2014; Alfredo Tupone <tupone@gentoo.org> lgeneral-1.2.3.ebuild,
+files/lgeneral-1.2.3-format.patch:
diff --git a/games-strategy/lgeneral/Manifest b/games-strategy/lgeneral/Manifest
index 373a07d67e5a..1f243e837e18 100644
--- a/games-strategy/lgeneral/Manifest
+++ b/games-strategy/lgeneral/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX lgeneral-1.2.3-format.patch 1956 SHA256 f42070cbf2db7583e56726136f77cec871882acf840f014227a37a1f8288bb01 SHA512 ce66984f01b78ae3b1abced5f68a1b37f26cf06c1383f04536dad8302fa424b3d3680539e3e61ed5c8d3264f8eda3955239477b2e2df6456c53521df994a81b6 WHIRLPOOL facb25d6d14d2632c3b1cb302e1b8834f8099bf2a1b50bc8e78546e4377106300493bcd1d902dee4bade0c1eb7a71edfb4f69964f5eed6f2d4969c02cbcb7262
DIST lgeneral-1.2.3.tar.gz 1630400 SHA256 55d17bb173c956c705b94bc8a6399d5311b3ec82c9f1821a97fe9ec45da0d9a1 SHA512 f6481d39e29e112b40bf4fce0edae4ad0228a31eea14aec3f8504ebb1878212e4c82b13a77ff09939f0f41903cb8f915ebfd005ab9e3f7b821d4ca3ddef5ec15 WHIRLPOOL f58182f1327667f2254c65000f79f97e247e42d431078bd4aa0ca76c24699ef5486ba3033faf84eb0a043daafcbf882fd3ceb56427847e5ac1f7567b679cda59
+DIST lgeneral-1.2.4.tar.gz 1677195 SHA256 7207cba927f518b5962a4c5b709a8aca128fd0638c47984e9da0415ad2610c00 SHA512 c85cc6454b30d0ac84a2a4e0e35b9cca8b4ab3f8816f9bac607a439dde5eb667432596c09af3e5f1382572860eab4291dcbe045af7eef59cf879a4e9db9506cd WHIRLPOOL e25e7cb0ed6fabf408773a8aedb0e79ade10390f874d7c08a3624b273166a718630587afcde88ca0a9664e8634a0656c69e7aa5f9f708125cc1f381a12add7cd
DIST pg-data.tar.gz 410454 SHA256 f2f74022cf8c279451911dda0a57cffab26ebf11429d61a6596310340ed23f76 SHA512 b0df30dd9a9d0652acd8702d601c489e5d3a030854ceeb173d2daa656c00633a78a3f45814da9f4157b86544dec34eda02495742242653c7cdebba5ec9951516 WHIRLPOOL 69f22f28cf4639dab0e6cf90036c26178129d7f67decf8b95ca175bb224bb3b985cf80382e06e45db06ef21d9ab9819fc1821b3d633a67bbb06ba56a8b450022
EBUILD lgeneral-1.2.3.ebuild 2041 SHA256 3b28cfcb8424f45705203250086e75ce388cf09bb7173dbb1311f2d4d6f6daaf SHA512 428af9f7e6cf1bdd439aa727257c03bd1f292f8e9a6ef866c79d73033a63cb3016a4e752dd170faadd3ff25c05c3406cd79e046061cf3d31684edbe10c93c9cd WHIRLPOOL f1fce1b08d3c270a3d50b0b3fa6cfb6d8a8fc5cf9a434a3502ca4c36c83b1b72b82b55583de990190c2dadc56a67537748715c396dd97d2469dda0796f0fada1
-MISC ChangeLog 8456 SHA256 a14d9ea1324f76d2b78ef0ebeba81f35e564967e75a9861d83e98faeabfd11a2 SHA512 850d3b3f75260ed34adb1a21509c3c0c55ae30b076b3c532385acfcc7d954fc3bde2a87eb2e8304ed2bf1af87ec08b37db96a968a4498405d7f1f99ca4a581d9 WHIRLPOOL 334cce8fd30ebfaac3e58a3e52dfb1338e38fbed2945828faffd3fbb815a5c72a7ec2e7ea971f789043690b8195bef5ef4e3073053f0e8879f1950eee5df8062
+EBUILD lgeneral-1.2.4.ebuild 2159 SHA256 e5c2c17eecc0ba6e7dd0893454b8d23d74aa09637623ce971a04f6597c4b3304 SHA512 50600a3f7ccd2830543d5611b21d6a72c0fcfea9ba0e08cb7a07af4d6089896e41f932123435cf048e4d112a3db465f1904c6b7ec7f4cc2b46ce771e90ff9df8 WHIRLPOOL 622facf697b29fb435aacd82ac801b0be0f7c6ee84ae83f6566f51981d864c0e68e779b7f3b50ac4b8911e6d8bb40027ee843f8491ff3916a056c228b61a6664
+MISC ChangeLog 8599 SHA256 8ef2e377efb0bccb168581f585b76d6d541750c8e435ee9dc8b5507e8ce68d37 SHA512 87c8bc9b8f7dd463acac47a14cf06e64e57d755b62372a852c3807bb9256bde973365dcf1c94bb46f3ebaa9572ec7877ee06a8ce581d76a320ff3b02818f7f7e WHIRLPOOL ca30e275685260a6ae46a9ea0cf2ff5a59e62bfb3f72a5681f35069c6d1f508877ceb7bd8a65e10a3b1213380a297b5e21f550d2dbeec755576195c752e4d493
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iEYEAREIAAYFAlREswwACgkQIY77eQFFFC3+mQCaAteMnJNghRz7DozZlssE4rXk
-GioAoK5TJacnboU9+47MvNgGkTRsqY1j
-=//Me
------END PGP SIGNATURE-----
diff --git a/games-strategy/lgeneral/lgeneral-1.2.4.ebuild b/games-strategy/lgeneral/lgeneral-1.2.4.ebuild
new file mode 100644
index 000000000000..6044e8bc930c
--- /dev/null
+++ b/games-strategy/lgeneral/lgeneral-1.2.4.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lgeneral/lgeneral-1.2.4.ebuild,v 1.1 2015/01/07 09:50:47 mr_bones_ Exp $
+
+EAPI=5
+inherit eutils autotools gnome2-utils games
+
+MY_P="${P/_/}"
+MY_P="${MY_P/beta/beta-}"
+DESCRIPTION="A Panzer General clone written in SDL"
+HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LGeneral"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
+ mirror://sourceforge/${PN}/pg-data.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="media-libs/libsdl[sound,video]
+ media-libs/sdl-mixer
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e '/desktop_DATA/d' \
+ -e '/icon_DATA/d' \
+ Makefile.am || die
+
+ cp /usr/share/gettext/config.rpath .
+ rm -f missing
+ mv configure.in configure.ac
+ eautoreconf
+
+ # Build a temporary lgc-pg that knows about ${WORKDIR}:
+ cp -pPR "${S}" "${WORKDIR}"/tmp-build || die
+ sed -i \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
+ -e "s:@D@::" \
+ {lgc-pg,src}/misc.c || die
+
+ cd "${WORKDIR}"/tmp-build || die
+ sed -i \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
+ -e "s:@D@:${D}:" \
+ {lgc-pg,src}/misc.c || die
+}
+
+src_configure() {
+ egamesconf \
+ $(use_enable nls)
+
+ # Build the temporary lgc-pg:
+ cd "${WORKDIR}"/tmp-build || die
+ egamesconf \
+ --disable-nls \
+ --datadir="${D}/${GAMES_DATADIR}"
+}
+
+src_compile() {
+ emake
+
+ # Build the temporary lgc-pg:
+ cd "${WORKDIR}"/tmp-build || die
+ emake
+}
+
+src_install() {
+ default
+ keepdir "${GAMES_DATADIR}"/${PN}/{ai_modules,music,terrain}
+
+ # Generate scenario data:
+ dodir "${GAMES_DATADIR}"/${PN}/gfx/{flags,units,terrain} #413901
+ SDL_VIDEODRIVER=dummy "${WORKDIR}"/tmp-build/lgc-pg/lgc-pg \
+ -s "${WORKDIR}"/pg-data \
+ -d "${D}/${GAMES_DATADIR}"/${PN} \
+ || die
+
+ newicon -s 48 lgeneral48.png ${PN}.png
+ make_desktop_entry ${PN} LGeneral
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}