/[gentoo-x86]/gnome-extra/gnome-utils/gnome-utils-3.2.1.ebuild
Gentoo

Contents of /gnome-extra/gnome-utils/gnome-utils-3.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat May 5 08:23:09 2012 UTC (2 years, 4 months ago) by tetromino
Branch: MAIN
Changes since 1.6: +2 -2 lines
Add meta package for split gnome-utils in gnome-3.4. Update homepage.

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/gnome-utils-3.2.1.ebuild,v 1.6 2012/05/05 02:22:41 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8
9 inherit autotools eutils gnome2
10
11 DESCRIPTION="Utilities for the Gnome desktop"
12 HOMEPAGE="https://live.gnome.org/GnomeUtils"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 IUSE="doc ipv6 test"
17 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
18
19 # libcanberra 0.26-r2 is needed for gtk+:3 fixes
20 COMMON_DEPEND=">=dev-libs/glib-2.29.14:2
21 >=x11-libs/gtk+-3.0.3:3
22 >=gnome-base/gconf-2:2
23 >=gnome-base/gsettings-desktop-schemas-0.1.0
24 >=gnome-base/libgtop-2.12:2
25 >=media-libs/libcanberra-0.26-r2[gtk3]
26 x11-libs/libXext
27 x11-libs/libX11"
28
29 DEPEND="${COMMON_DEPEND}
30 x11-proto/xextproto
31 app-text/scrollkeeper
32 >=dev-util/intltool-0.40
33 virtual/pkgconfig
34 doc? ( >=dev-util/gtk-doc-1.10 )
35 dev-util/gtk-doc-am
36 gnome-base/gnome-common"
37 # eautoreconf needs dev-util/gtk-doc-am, gnome-base/gnome-common
38
39 # file collisions with g-c-c
40 # nautilus is used via dbus
41 RDEPEND="${COMMON_DEPEND}
42 >=gnome-base/nautilus-3.0.0
43 !<gnome-base/gnome-control-center-2.90"
44
45 pkg_setup() {
46 if ! use debug; then
47 G2CONF="${G2CONF} --enable-debug=minimum"
48 fi
49
50 G2CONF="${G2CONF}
51 $(use_enable ipv6)
52 --enable-zlib
53 --disable-static
54 --disable-schemas-install
55 --disable-schemas-compile
56 --disable-scrollkeeper"
57 DOCS="AUTHORS ChangeLog NEWS README THANKS"
58 }
59
60 src_prepare() {
61 # Fix missing freetype2 headers/libs with gtk+-3.4, bug #411939
62 epatch "${FILESDIR}/${PN}-3.2.1-glib-2.32-gtk-3.4.patch"
63 eautoreconf
64
65 # Remove idiotic -D.*DISABLE_DEPRECATED cflags
66 # This method is kinda prone to breakage. Recheck carefully with next bump.
67 # bug 339074
68 LC_ALL=C find . -iname 'Makefile.am' -exec \
69 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 1 failed"
70 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
71 LC_ALL=C find . -iname 'Makefile.in' -exec \
72 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 2 failed"
73
74 if ! use test ; then
75 sed -e 's/ tests//' -i logview/Makefile.{am,in} || die "sed 3 failed"
76 fi
77
78 gnome2_src_prepare
79 }

  ViewVC Help
Powered by ViewVC 1.1.20