diff options
-rw-r--r-- | gnome-extra/gnome-utils/ChangeLog | 8 | ||||
-rw-r--r-- | gnome-extra/gnome-utils/gnome-utils-3.0.1.ebuild | 72 |
2 files changed, 79 insertions, 1 deletions
diff --git a/gnome-extra/gnome-utils/ChangeLog b/gnome-extra/gnome-utils/ChangeLog index ce1504e37169..77cab328ed59 100644 --- a/gnome-extra/gnome-utils/ChangeLog +++ b/gnome-extra/gnome-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-extra/gnome-utils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/ChangeLog,v 1.221 2011/08/13 17:38:56 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/ChangeLog,v 1.222 2011/08/19 11:54:28 nirbheek Exp $ + +*gnome-utils-3.0.1 (19 Aug 2011) + + 19 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + +gnome-utils-3.0.1.ebuild: + Bump to 3.0.1, from gnome overlay for GNOME 3 13 Aug 2011; Raúl Porcel <armin76@gentoo.org> gnome-utils-2.32.0-r2.ebuild: alpha/ia64/sh/sparc stable wrt #369909 diff --git a/gnome-extra/gnome-utils/gnome-utils-3.0.1.ebuild b/gnome-extra/gnome-utils/gnome-utils-3.0.1.ebuild new file mode 100644 index 000000000000..e8dafd4321a0 --- /dev/null +++ b/gnome-extra/gnome-utils/gnome-utils-3.0.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/gnome-utils-3.0.1.ebuild,v 1.1 2011/08/19 11:54:28 nirbheek Exp $ + +EAPI="3" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" + +inherit gnome2 + +DESCRIPTION="Utilities for the Gnome2 desktop" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc ipv6 test" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" + +# libcanberra 0.26-r2 is needed for gtk+:3 fixes +COMMON_DEPEND=">=dev-libs/glib-2.28.0:2 + >=x11-libs/gtk+-3.0.3:3 + >=gnome-base/gconf-2:2 + >=gnome-base/gsettings-desktop-schemas-0.1.0 + >=gnome-base/libgtop-2.12:2 + >=media-libs/libcanberra-0.26-r2[gtk3] + x11-libs/libXext + x11-libs/libX11" + +DEPEND="${COMMON_DEPEND} + x11-proto/xextproto + app-text/scrollkeeper + >=dev-util/intltool-0.40 + >=dev-util/pkgconfig-0.9 + doc? ( >=dev-util/gtk-doc-1.10 )" + +# file collisions +RDEPEND="${COMMON_DEPEND} + !<gnome-base/gnome-control-center-2.90" + +pkg_setup() { + if ! use debug; then + G2CONF="${G2CONF} --enable-debug=minimum" + fi + + G2CONF="${G2CONF} + $(use_enable ipv6) + --enable-zlib + --disable-maintainer-flags + --disable-static + --disable-schemas-install + --disable-schemas-compile + --disable-scrollkeeper" + DOCS="AUTHORS ChangeLog NEWS README THANKS" +} + +src_prepare() { + gnome2_src_prepare + + # Remove idiotic -D.*DISABLE_DEPRECATED cflags + # This method is kinda prone to breakage. Recheck carefully with next bump. + # bug 339074 + find . -iname 'Makefile.am' -exec \ + sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 1 failed" + # Do Makefile.in after Makefile.am to avoid automake maintainer-mode + find . -iname 'Makefile.in' -exec \ + sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 1 failed" + + if ! use test ; then + sed -e 's/ tests//' -i logview/Makefile.{am,in} || die "sed 2 failed" + fi +} |