remove gtk2 use flag; fix src_install; tidy
authorMichael Sterrett <mr_bones_@gentoo.org>
Tue, 20 Sep 2005 20:32:38 +0000 (20:32 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Tue, 20 Sep 2005 20:32:38 +0000 (20:32 +0000)
Package-Manager: portage-2.0.51.22-r2

games-strategy/freeciv/ChangeLog
games-strategy/freeciv/Manifest
games-strategy/freeciv/freeciv-2.0.5.ebuild

index 3935798c6b33424efea9d5ff36c54c3964b8956c..c265e04c871b490a16e80d984fef387630b4169e 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-strategy/freeciv
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.32 2005/09/19 23:12:41 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/ChangeLog,v 1.33 2005/09/20 20:32:38 mr_bones_ Exp $
+
+  20 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> freeciv-2.0.5.ebuild:
+  remove gtk2 use flag; fix src_install; tidy
 
   19 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org>
   -freeciv-2.0.3.ebuild, -freeciv-2.0.4.ebuild:
index a8119ce9c778b0b78bafbd70775c3d093fae57a2..4bc529874c42c306d624e52a20c3a783af315f65 100644 (file)
@@ -1,6 +1,6 @@
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 MD5 8ba6f0937fdbd16de6e906c841a23f6a freeciv-1.14.2.ebuild 2063
-MD5 9f0613cd4e121ea3b7e8b95b7cd5596a freeciv-2.0.5.ebuild 4572
-MD5 5136e264786c605b3b0c131a4b9a764b ChangeLog 5788
+MD5 7f5ab55771584dc457c6f112d416e7a9 freeciv-2.0.5.ebuild 4299
+MD5 99b3d7bc0b526465266e954bf78e7135 ChangeLog 5912
 MD5 439e954e20f13b112d572ff57700ce00 files/digest-freeciv-1.14.2 131
 MD5 7b03506340a683cb71edfc8a8f9fa1d6 files/digest-freeciv-2.0.5 129
index b1970c7173a8523e8f8045e57e1046400b665060..6a951aabb511808b53c36585b504fbab5b194bdc 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.5.ebuild,v 1.2 2005/09/11 05:37:57 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeciv/freeciv-2.0.5.ebuild,v 1.3 2005/09/20 20:32:38 mr_bones_ Exp $
 
 inherit games
 
@@ -17,26 +17,21 @@ SRC_URI="ftp://ftp.freeciv.org/pub/freeciv/stable/${MY_P}.tar.bz2
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="alpha amd64 ppc sparc x86"
-IUSE="alsa dedicated esd gtk gtk2 nls readline sdl Xaw3d"
+IUSE="alsa dedicated esd gtk nls readline sdl Xaw3d"
 
 RDEPEND="sys-libs/zlib
        readline? ( sys-libs/readline )
        !dedicated? (
                virtual/x11
                gtk? (
-                       gtk2? (
-                               >=x11-libs/gtk+-2.0.0
-                               >=dev-libs/glib-2.0.0
-                               >=dev-libs/atk-1.0.3
-                               >=x11-libs/pango-1.0.5
-                       )
-                       !gtk2? (
-                               =x11-libs/gtk+-1*
-                               >=dev-libs/glib-1.2.5
-                               >=media-libs/imlib-1.9.2
-                       )
+                       >=x11-libs/gtk+-2.0.0
+                       >=dev-libs/glib-2.0.0
+                       >=dev-libs/atk-1.0.3
+                       >=x11-libs/pango-1.0.5
+               )
+               !gtk? (
+                       Xaw3d? ( x11-libs/Xaw3d )
                )
-               !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) )
                alsa? (
                        >=media-libs/alsa-lib-1.0
                        >=media-libs/audiofile-0.2
@@ -56,11 +51,7 @@ pkg_setup() {
        games_pkg_setup
        if ! use dedicated ; then
                if use gtk ; then
-                       if use gtk2 ; then
-                               einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
-                       else
-                               einfo "The Freeciv Client will be built with the GTK+-1.2 toolkit"
-                       fi
+                       einfo "The Freeciv Client will be built with the GTK+-2 toolkit"
                elif use Xaw3d ; then
                        einfo "The Freeciv Client will be built with the Xaw3d toolkit"
                else
@@ -78,7 +69,6 @@ pkg_setup() {
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       return 0
 
        # install locales in /usr/share/locale
        sed -i \
@@ -116,9 +106,7 @@ src_compile() {
                myclient="xaw"
                use Xaw3d && myclient="xaw3d"
                if use gtk ; then
-                       use gtk2 \
-                               && myclient="gtk-2.0" \
-                               || myclient="gtk"
+                       myclient="gtk-2.0"
                fi
                #FIXME --enable-{alsa,esd,sdl-mixer} actually disable them...
                #FIXME   ==> use --disable-* only, and autodetect to enable.