summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-02-16 22:27:32 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-02-16 22:27:32 +0000
commit398e013b562ff95cfc4da5d941a72a1c7df4c952 (patch)
tree245de3b45f8e944789d6de9306d46578b87a0c9c /games-strategy
parentFix the dependencies, fix installing examples and run tests. (diff)
downloadhistorical-398e013b562ff95cfc4da5d941a72a1c7df4c952.tar.gz
historical-398e013b562ff95cfc4da5d941a72a1c7df4c952.tar.bz2
historical-398e013b562ff95cfc4da5d941a72a1c7df4c952.zip
version bump
Package-Manager: portage-2.2.0_alpha162/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freeciv/ChangeLog7
-rw-r--r--games-strategy/freeciv/Manifest18
-rw-r--r--games-strategy/freeciv/freeciv-2.3.4.ebuild126
3 files changed, 149 insertions, 2 deletions
diff --git a/games-strategy/freeciv/ChangeLog b/games-strategy/freeciv/ChangeLog
index 3c8ec0a41d44..a900203e484e 100644
--- a/games-strategy/freeciv/ChangeLog
+++ b/games-strategy/freeciv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/freeciv
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.142 2013/01/30 18:47:10 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.143 2013/02/16 22:27:27 hasufell Exp $
+
+*freeciv-2.3.4 (16 Feb 2013)
+
+ 16 Feb 2013; Julian Ospald <hasufell@gentoo.org> +freeciv-2.3.4.ebuild:
+ version bump
30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
-files/freeciv-2.3.2-clean-man.patch, -freeciv-2.3.2.ebuild:
diff --git a/games-strategy/freeciv/Manifest b/games-strategy/freeciv/Manifest
index 228500459ae7..22344e7593ab 100644
--- a/games-strategy/freeciv/Manifest
+++ b/games-strategy/freeciv/Manifest
@@ -1,4 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST freeciv-2.3.3.tar.bz2 31381312 SHA256 fc88a8330fa1f30676e775bbdc31c57e07792a45b9b7c31f3a27728351b90258 SHA512 1705f3ef16ba10ee6913d2950e063d50f025d35848ac476ed37fb1663f487877bd7437e3986b02002758ce7f259221fec34e7f77eb1ac442ca01fffce7c7f6e4 WHIRLPOOL 968b17a82050bcea600a5ca30480c7b6c4a9c44b60ec253a4c8195a1cfbecb8d153df293090a5a03ce8c2b67d25d0191b3e4c3e9d1fc261767d9ce8b6eaff5a9
+DIST freeciv-2.3.4.tar.bz2 31395893 SHA256 084c10c50c06166177c9864b5610eaf36dca3808e3d3a7da8ef7ae927d56c41c SHA512 51d89321cf7b5b08d2338f8d76051ebde745c85e4ebad21b9ff2109696edfdc79ad43d7f8d2bf989400ce5e71f28127835dc4b4e60635fb71ebb3a2fb149269a WHIRLPOOL afcb5543049059d87503451c7d82abe6be765406fe3aba13fa01dec430062c4ed51c39b42827fb863a37c0b9737962f9557c6069f9d7be1efbd851c18268b6ce
EBUILD freeciv-2.3.3.ebuild 3241 SHA256 8d02bee20c2baecf03f54d6f0f58db5475b6a4085f54e65f37d3de270406cd3a SHA512 ca243917f3181da625d927684e2813d294df3362a32d55cd1df6763aab9d5950f7511cfee9983de4ebae3992b1dee5408aca89442ae9d3cdc3686001a8e88f25 WHIRLPOOL 2f2757a778f776200e04eb027a8f703057dfde735f541ab42a99391588622b82b22d4e4ff2d27be2982a778fa2e481dca0aeb8f32a73106e3302b401549fd899
-MISC ChangeLog 20509 SHA256 50c1980bfb8ffca22501da7447c148bf6e088b8137b67226f261f045b83ce44e SHA512 d9f151ffcb5fa1a19a07701d47506c21be734e92de09f15fb8af4cc7c60c6e16b47baa86e02689e7d52738efa65cca1a751ffebb3b74e95245ce89833f61fdfb WHIRLPOOL eb657bc8bdefde2d1146cfbd01bf11b8b40b030faee59102b2dc3219fc8f4164c8a6730ec3faa6c1d9168238fb73aea17db64bf52111396b021ce478da2f09f8
+EBUILD freeciv-2.3.4.ebuild 3207 SHA256 e27e0ae1c796cc8a8d91070038c37358e04e720d63c5d7bb21542112b8dd318a SHA512 42d6dbe90f22a002ef9408431c468bbb859145ce67a978ccc0f88f27f8d46ee444a62686bdaf0d817abeded95820768c44c9212ab152c430bb58b7a2bd4edf45 WHIRLPOOL d31cdfd89c8317c0fe7a0b7ecf1294833c9ac1244c6573c58a6bc71658ed10de0906334e51a24f6d888a6dfda5b863a53be1d48302d14a2ae1d2f6cd3ad74a41
+MISC ChangeLog 20628 SHA256 85f56c9668db063485876930d356e5e636925447b33768023d0cee2869cfdf3b SHA512 b630f5cb295e68bf40d3588076f6896c1656d02ff5cf03e3193f6e165e9f406645d8485ac7969859927e37e6dad6e2bc22470b643f26ebd25a5074f8aced0fcb WHIRLPOOL a6b859388060e7bd11919817ea118b068b1fb227b2916e5e18827114f24a663efdf1b0894b39200db98d74dc3b85d85789fb928b84bf14a944ebcbb87a930b0e
MISC metadata.xml 389 SHA256 f235b6ab122a8aaaee297ee34fe84b294bd2b015ce8cde7c772a387585992f2f SHA512 af497be698410d0fd2a006ff7b7768be9d9a2aec79a247721bf7675e6e15b811eb4cf6f6fd917f85db06f0e0c79c6b61c9a1a245035f2672e0548817d2101670 WHIRLPOOL c11bf694279d81c2f94c3766fd7e05180e9e291dfd7c63471eb3ce1b30201ecedccc6ddb16886e939afb7feefb34f5233d477e19e5b5c93a58b8146aab5366d4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRIAfTAAoJEFpvPKfnPDWzSzwIAKMcdN8+VMIBtUBT6ILhRQG9
+xgtyh1elG6MUUv6pR0dJdSoRjrTUNV2dF1TsmkqmOAe3Kst6bpvp6X6mN1klDQRi
+fZklOKz2r2/wbz2Lf6kWUNTiJVsiK5EKpUhW4/a8QKCdqRdOWBUoHwO+pyMSix5p
+dJKtZvxy4qKTwFNKpqdVjX0D4UyBcNFbPdI3bxkTb91w2qS9kFKvL9qHJXdT92Oq
+1yzrVk83QZ0EkuiJlKYgJ92f3Tj0zm83nGDgwLNSphjv/9oXIUZIbQE7hQzzpKS2
+EOTlrep8JwozzCfv59krf8UCijuD8K/6EmjoMaE7jaDmrO2aRvc0474RbM0zJE8=
+=Vdtf
+-----END PGP SIGNATURE-----
diff --git a/games-strategy/freeciv/freeciv-2.3.4.ebuild b/games-strategy/freeciv/freeciv-2.3.4.ebuild
new file mode 100644
index 000000000000..7011c52d3dae
--- /dev/null
+++ b/games-strategy/freeciv/freeciv-2.3.4.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.3.4.ebuild,v 1.1 2013/02/16 22:27:27 hasufell Exp $
+
+EAPI=5
+inherit eutils gnome2-utils games-ggz games
+
+DESCRIPTION="multiplayer strategy game (Civilization Clone)"
+HOMEPAGE="http://www.freeciv.org/"
+SRC_URI="mirror://sourceforge/freeciv/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="auth dedicated ggz +gtk ipv6 nls readline sdl +sound"
+REQUIRED_USE="|| ( gtk sdl )"
+
+RDEPEND="readline? ( sys-libs/readline )
+ sys-libs/zlib
+ app-arch/bzip2
+ auth? ( virtual/mysql )
+ !dedicated? (
+ nls? ( virtual/libintl )
+ gtk? ( x11-libs/gtk+:2 )
+ sdl? (
+ media-libs/libsdl[video]
+ media-libs/sdl-image[png]
+ media-libs/freetype:2
+ )
+ sound? (
+ media-libs/libsdl[audio]
+ media-libs/sdl-mixer[vorbis]
+ )
+ ggz? ( games-board/ggz-gtk-client )
+ media-libs/libpng:0
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ !dedicated? (
+ nls? ( sys-devel/gettext )
+ x11-proto/xextproto
+ )"
+
+src_prepare() {
+ # install the .desktop in /usr/share/applications
+ # install the icons in /usr/share/pixmaps
+ sed -i \
+ -e 's:^.*\(desktopfiledir = \).*:\1/usr/share/applications:' \
+ -e 's:^\(icon[0-9]*dir = \)$(prefix)\(.*\):\1/usr\2:' \
+ -e 's:^\(icon[0-9]*dir = \)$(datadir)\(.*\):\1/usr/share\2:' \
+ client/Makefile.in \
+ server/Makefile.in \
+ modinst/Makefile.in \
+ data/Makefile.in \
+ data/icons/Makefile.in \
+ || die
+}
+
+src_configure() {
+ local myclient myopts
+
+ if use dedicated ; then
+ myclient="no"
+ else
+ use sdl && myclient="${myclient} sdl"
+ use gtk && myclient="${myclient} gtk"
+ myopts=$(use_with ggz ggz-client)
+ fi
+
+ egamesconf \
+ --localedir=/usr/share/locale \
+ --with-ggzconfig=/usr/bin \
+ --enable-noregistry="${GGZ_MODDIR}" \
+ $(use_enable auth) \
+ $(use_enable ipv6) \
+ $(use_enable nls) \
+ $(use_with readline) \
+ $(use_enable sound sdl-mixer) \
+ ${myopts} \
+ --enable-client="${myclient}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ if use dedicated ; then
+ rm -rf "${D}/usr/share/pixmaps"
+ rm -f "${D}"/usr/share/man/man6/freeciv-{client,gtk2,sdl,xaw}*
+ else
+ # Create and install the html manual. It can't be done for dedicated
+ # servers, because the 'freeciv-manual' tool is then not built. Also
+ # delete freeciv-manual from the GAMES_BINDIR, because it's useless.
+ # Note: to have it localized, it should be ran from _postinst, or
+ # something like that, but then it's a PITA to avoid orphan files...
+ ./manual/freeciv-manual || die
+ dohtml manual*.html
+ if use sdl ; then
+ make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
+ else
+ rm -f "${D}"/usr/share/man/man6/freeciv-sdl*
+ fi
+ rm -f "${D}"/usr/share/man/man6/freeciv-xaw*
+ fi
+ find "${D}" -name "freeciv-manual*" -delete
+
+ dodoc ChangeLog NEWS doc/{BUGS,CodingStyle,HACKING,HOWTOPLAY,README*,TODO}
+ rm -rf "${D}$(games_get_libdir)"
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ games-ggz_update_modules
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ games-ggz_update_modules
+ gnome2_icon_cache_update
+}