From df900ad1fa79a1f51d0e3810bb923859a2952a44 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 5 Feb 2015 21:49:08 +0000 Subject: version bump; clean old Package-Manager: portage-2.2.14/cvs/Linux x86_64 --- games-strategy/freeciv/ChangeLog | 8 +- games-strategy/freeciv/Manifest | 6 +- games-strategy/freeciv/freeciv-2.4.3.ebuild | 173 ---------------------------- games-strategy/freeciv/freeciv-2.4.4.ebuild | 173 ++++++++++++++++++++++++++++ 4 files changed, 183 insertions(+), 177 deletions(-) delete mode 100644 games-strategy/freeciv/freeciv-2.4.3.ebuild create mode 100644 games-strategy/freeciv/freeciv-2.4.4.ebuild (limited to 'games-strategy') diff --git a/games-strategy/freeciv/ChangeLog b/games-strategy/freeciv/ChangeLog index cb3be2006649..fe5708fe030a 100644 --- a/games-strategy/freeciv/ChangeLog +++ b/games-strategy/freeciv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/freeciv # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.160 2015/01/03 19:21:26 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.161 2015/02/05 21:49:03 mr_bones_ Exp $ + +*freeciv-2.4.4 (05 Feb 2015) + + 05 Feb 2015; Michael Sterrett +freeciv-2.4.4.ebuild, + -freeciv-2.4.3.ebuild: + version bump; clean old 03 Jan 2015; Michael Sterrett metadata.xml: drop ggz from metadata.xml diff --git a/games-strategy/freeciv/Manifest b/games-strategy/freeciv/Manifest index 1203df02e75b..8c429cdb111f 100644 --- a/games-strategy/freeciv/Manifest +++ b/games-strategy/freeciv/Manifest @@ -1,6 +1,6 @@ DIST freeciv-2.3.4.tar.bz2 31395893 SHA256 084c10c50c06166177c9864b5610eaf36dca3808e3d3a7da8ef7ae927d56c41c SHA512 51d89321cf7b5b08d2338f8d76051ebde745c85e4ebad21b9ff2109696edfdc79ad43d7f8d2bf989400ce5e71f28127835dc4b4e60635fb71ebb3a2fb149269a WHIRLPOOL afcb5543049059d87503451c7d82abe6be765406fe3aba13fa01dec430062c4ed51c39b42827fb863a37c0b9737962f9557c6069f9d7be1efbd851c18268b6ce -DIST freeciv-2.4.3.tar.bz2 38815762 SHA256 7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899 SHA512 7abed9b3c0f65aa5ed856080a6da68152a8fe9ea285a070858f9a92ec32fb27bfb48fb77b7098a23bbf3e092c982ed455b6ea795230295c9d14f4832378ee3ba WHIRLPOOL 8f83c02ed5954a2ffcb522110543877251199650834e27d014ff4bab783d8d7d8283c7ef95d573c8af2860dd4884ea9878b6f4a0e3fbe8bcde1349af4f242705 +DIST freeciv-2.4.4.tar.bz2 38847925 SHA256 8307fc9d69571b031ccc465e8029d8a7ea3dbef4e3651f2de07356aba931e2a3 SHA512 3f2ff619b21c36748a98bda98c923ec9ea71faf18cac77d8b247e4a79c4a8f41c9b399e648a0a51fe54738de3276081c31ded98f769104812125d304716796a7 WHIRLPOOL 0eb8374ad2d7174dab8971c39c0ce7f14e72c1c7a64dfa8461a054a53d2b659af71197bad7c65e65e3e5da4fd5552bfb10aa2fa8b9870c9b1fbd7e03c58c9c00 EBUILD freeciv-2.3.4.ebuild 3084 SHA256 33d92621a203f68f2d4ca61d9ff2878fc265873ba9938154daadc3c47bd663f5 SHA512 25fb6a542dffbae41e9e06f8bbb843a156190cddd01093edb463ad268593b1ce991e6f62b4e67855ca280c9f439204588984746282c4a11840c5641f63512e5e WHIRLPOOL a187339e6b7f2444844646c1137957fca28d94ceae3fad926aa816a939ad685c667a33a37c7fadc9061480e3656ee62879abf6aaef0c3c16030b4d90ba798137 -EBUILD freeciv-2.4.3.ebuild 4569 SHA256 452997b36489473be4f755deb2920e4e09b2b40720fa4cb4958f4fb07e2a4273 SHA512 04e6e490043db652319030859d9d974bac48ad4f4a91998dfef06fa27f88f213d6fa71f9bf941c8321d32374d3da95bcf4fb84295827156849d308d5109d2c8c WHIRLPOOL af7f0697124966f27d60a13a437269e93521c8376a08d2fdaa133957310df291958cf21f2a62231e5d2c4d15b2f9bb8d3f298a443ae622c2ba4d3c94fcb0c630 -MISC ChangeLog 22867 SHA256 80c54fbd8230b63fb5c1e8d8e61712edd1db3452b0014dc88ce6a512e9b078eb SHA512 0c212b02ef1b274610b4ef8b6501fbb9b1951ee615fbd7bdeeac383ac89bcc5755f25fdcea7a22044520fc1d6760c13c97c2d9856c2d5ed0f0bd086921caedd1 WHIRLPOOL bcdfd21d532946b1ec5e1132d1162927f68c56930678d9f1492d76549451a84d2497e95655c5c12632d2b0eb95dca925e516f3fc9a98037d21f14eeaae64c518 +EBUILD freeciv-2.4.4.ebuild 4569 SHA256 9446f363535b48fbd491858593d81698af37a6f088e1df2618994b520af6e197 SHA512 2ac73061c13edb5ab7597ef1aa944b8d94af494404481bc70b90d267c7839f1dd7368380d0d7cf0f1fcd84bdf96e450b335bf14c20dbea9b99733f74eeb0ddef WHIRLPOOL babe0cbc692303fcb48182bdbec49d65a3deaf559e9f948cf53e97cb6573de88e9512acee6ddb0e15ef7dd7efaf9c02a55b52c872a9e42b95ea6d1e59d170faa +MISC ChangeLog 23027 SHA256 39345f4e02ab6d01228b5cf2c5019c2f7b4183eb34467762f1b998c21fc24aa2 SHA512 fc43e64360f9bd0653e41790f50c64c68585f4b8528b976fb049d8db947fa8ba8eda8c134d47a7de45b6b4363f142921c6efa7d30993002b5a3d2431e04f0124 WHIRLPOOL 7568cc4dc80c388d778255ae3ca6aeee11f094636570cc8006f34a1600f2e6da795a4d93182af7e766676fa8c4d87669a0b1a1aa1bdaddb0d0b63f6a40681a47 MISC metadata.xml 766 SHA256 344b9d2e6a9530190830a3cd22fe4447c03b5d8bb3d4fdf9347afb3480bac1a7 SHA512 44ebb76fc37c9ba0e9ec81426462815d7e878a588337655ec215caa8bc9b8b8adfd0fb5bd9f09bff7ec5625c1b750a0c69baf519100139e65c84197395d2b5a5 WHIRLPOOL b7bb77adf21b60d7cfab0133e002da0d97d641a8b515594c70f3b70aae3edd3eb0a8485daa5023b211a64f0f4aa8894a912197eec066eaa9a98d7141be5664e1 diff --git a/games-strategy/freeciv/freeciv-2.4.3.ebuild b/games-strategy/freeciv/freeciv-2.4.3.ebuild deleted file mode 100644 index 367165ae688b..000000000000 --- a/games-strategy/freeciv/freeciv-2.4.3.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.4.3.ebuild,v 1.5 2015/01/03 17:49:50 mr_bones_ Exp $ - -EAPI=5 -inherit eutils gnome2-utils 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 aimodules dedicated +gtk ipv6 mapimg modpack mysql nls postgres readline sdl +server +sound sqlite" - -RDEPEND="app-arch/bzip2 - app-arch/xz-utils - dev-lang/lua - net-misc/curl - sys-libs/zlib - auth? ( - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql ) - sqlite? ( dev-db/sqlite:3 ) - !mysql? ( !postgres? ( !sqlite? ( virtual/mysql ) ) ) - ) - readline? ( sys-libs/readline:0 ) - dedicated? ( aimodules? ( dev-libs/libltdl:0 ) ) - !dedicated? ( - media-libs/libpng:0 - gtk? ( x11-libs/gtk+:2 ) - mapimg? ( media-gfx/imagemagick ) - modpack? ( x11-libs/gtk+:2 ) - nls? ( virtual/libintl ) - sdl? ( - media-libs/libsdl[video] - media-libs/sdl-image[png] - media-libs/freetype:2 - ) - server? ( aimodules? ( sys-devel/libtool:2 ) ) - sound? ( - media-libs/libsdl[sound] - media-libs/sdl-mixer[vorbis] - ) - !sdl? ( !gtk? ( x11-libs/gtk+:2 ) ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig - !dedicated? ( - x11-proto/xextproto - nls? ( sys-devel/gettext ) - )" - -pkg_setup() { - if use !dedicated && use !server ; then - ewarn "Disabling server USE flag will make it impossible" - ewarn "to start local games, but you will still be able to" - ewarn "join multiplayer games." - fi - games_pkg_setup -} - -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 - sed -i -e 's/=SDL/=X-SDL/' bootstrap/freeciv-sdl.desktop.in || die -} - -src_configure() { - local myclient myopts mydatabase - - if use auth ; then - if use !mysql && use !postgres && use !sqlite ; then - einfo "No database backend chosen, defaulting" - einfo "to mysql!" - mydatabase=mysql - else - use mysql && mydatabase="${mydatabase} mysql" - use postgres && mydatabase="${mydatabase} postgres" - use sqlite && mydatabase="${mydatabase} sqlite3" - fi - else - mydatabase=no - fi - - if use dedicated ; then - myclient="no" - myopts="--enable-server" - else - if use !sdl && use !gtk ; then - einfo "No client backend given, defaulting to" - einfo "gtk2 client!" - myclient="gtk2" - else - use sdl && myclient="${myclient} sdl" - use gtk && myclient="${myclient} gtk2" - fi - myopts="$(use_enable server) --without-ggz-client" - fi - - # disabling shared libs will break aimodules USE flag - egamesconf \ - --docdir="/usr/share/doc/${P}" \ - --localedir=/usr/share/locale \ - $(use_enable ipv6) \ - $(use_enable mapimg) \ - --enable-aimodules="$(usex aimodules "yes" "no")" \ - --enable-shared \ - --enable-fcdb="${mydatabase}" \ - $(use_enable nls) \ - $(use_with readline) \ - $(use_enable sound sdl-mixer) \ - --enable-fcmp="$(usex modpack "gtk2" "no")" \ - --enable-sys-lua \ - ${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,gtk3,modpack,sdl,xaw}* - else - if use server ; then - # 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 - fi - 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 - - rm -f "${D}$(games_get_libdir)"/*.a - prune_libtool_files - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-strategy/freeciv/freeciv-2.4.4.ebuild b/games-strategy/freeciv/freeciv-2.4.4.ebuild new file mode 100644 index 000000000000..a992b1b718bc --- /dev/null +++ b/games-strategy/freeciv/freeciv-2.4.4.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.4.4.ebuild,v 1.1 2015/02/05 21:49:03 mr_bones_ Exp $ + +EAPI=5 +inherit eutils gnome2-utils 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 aimodules dedicated +gtk ipv6 mapimg modpack mysql nls postgres readline sdl +server +sound sqlite" + +RDEPEND="app-arch/bzip2 + app-arch/xz-utils + dev-lang/lua + net-misc/curl + sys-libs/zlib + auth? ( + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 ) + !mysql? ( !postgres? ( !sqlite? ( virtual/mysql ) ) ) + ) + readline? ( sys-libs/readline:0 ) + dedicated? ( aimodules? ( dev-libs/libltdl:0 ) ) + !dedicated? ( + media-libs/libpng:0 + gtk? ( x11-libs/gtk+:2 ) + mapimg? ( media-gfx/imagemagick ) + modpack? ( x11-libs/gtk+:2 ) + nls? ( virtual/libintl ) + sdl? ( + media-libs/libsdl[video] + media-libs/sdl-image[png] + media-libs/freetype:2 + ) + server? ( aimodules? ( sys-devel/libtool:2 ) ) + sound? ( + media-libs/libsdl[sound] + media-libs/sdl-mixer[vorbis] + ) + !sdl? ( !gtk? ( x11-libs/gtk+:2 ) ) + )" +DEPEND="${RDEPEND} + virtual/pkgconfig + !dedicated? ( + x11-proto/xextproto + nls? ( sys-devel/gettext ) + )" + +pkg_setup() { + if use !dedicated && use !server ; then + ewarn "Disabling server USE flag will make it impossible" + ewarn "to start local games, but you will still be able to" + ewarn "join multiplayer games." + fi + games_pkg_setup +} + +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 + sed -i -e 's/=SDL/=X-SDL/' bootstrap/freeciv-sdl.desktop.in || die +} + +src_configure() { + local myclient myopts mydatabase + + if use auth ; then + if use !mysql && use !postgres && use !sqlite ; then + einfo "No database backend chosen, defaulting" + einfo "to mysql!" + mydatabase=mysql + else + use mysql && mydatabase="${mydatabase} mysql" + use postgres && mydatabase="${mydatabase} postgres" + use sqlite && mydatabase="${mydatabase} sqlite3" + fi + else + mydatabase=no + fi + + if use dedicated ; then + myclient="no" + myopts="--enable-server" + else + if use !sdl && use !gtk ; then + einfo "No client backend given, defaulting to" + einfo "gtk2 client!" + myclient="gtk2" + else + use sdl && myclient="${myclient} sdl" + use gtk && myclient="${myclient} gtk2" + fi + myopts="$(use_enable server) --without-ggz-client" + fi + + # disabling shared libs will break aimodules USE flag + egamesconf \ + --docdir="/usr/share/doc/${P}" \ + --localedir=/usr/share/locale \ + $(use_enable ipv6) \ + $(use_enable mapimg) \ + --enable-aimodules="$(usex aimodules "yes" "no")" \ + --enable-shared \ + --enable-fcdb="${mydatabase}" \ + $(use_enable nls) \ + $(use_with readline) \ + $(use_enable sound sdl-mixer) \ + --enable-fcmp="$(usex modpack "gtk2" "no")" \ + --enable-sys-lua \ + ${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,gtk3,modpack,sdl,xaw}* + else + if use server ; then + # 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 + fi + 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 + + rm -f "${D}$(games_get_libdir)"/*.a + prune_libtool_files + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad