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

Contents of /gnome-extra/gnome-utils/gnome-utils-2.32.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat May 5 02:22:38 2012 UTC (23 months, 2 weeks ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Add missing gtk-doc-am and gnome-common build-time deps (bug #414617, thanks to Michael Weber). Update to virtual/pkgconfig.

(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-2.32.0-r2.ebuild,v 1.8 2012/04/16 16:53:33 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8 GNOME_TARBALL_SUFFIX="bz2"
9
10 inherit gnome2 eutils autotools
11
12 DESCRIPTION="Utilities for the Gnome desktop"
13 HOMEPAGE="https://live.gnome.org/GnomeUtils"
14 SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/gnome/${P}-icons.tar.xz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
19 IUSE="bonobo doc ipv6 test"
20
21 RDEPEND=">=dev-libs/glib-2.20:2
22 >=x11-libs/gtk+-2.20:2
23 >=gnome-base/libgtop-2.12
24 >=gnome-base/gconf-2:2
25 >=media-libs/libcanberra-0.4[gtk]
26 x11-libs/libXext
27 x11-libs/libX11
28 bonobo? ( || ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 ) )"
29
30 DEPEND="${RDEPEND}
31 x11-proto/xextproto
32 app-text/gnome-doc-utils
33 app-text/scrollkeeper
34 >=dev-util/intltool-0.40
35 virtual/pkgconfig
36 doc? ( >=dev-util/gtk-doc-1.10 )
37 dev-util/gtk-doc-am
38 gnome-base/gnome-common"
39
40 pkg_setup() {
41 if ! use debug; then
42 G2CONF="${G2CONF} --enable-debug=minimum"
43 fi
44
45 G2CONF="${G2CONF}
46 $(use_enable ipv6)
47 $(use_enable bonobo gdict-applet)
48 --disable-maintainer-flags
49 --enable-zlib
50 --disable-static
51 --disable-schemas-install
52 --disable-scrollkeeper"
53 DOCS="AUTHORS ChangeLog NEWS README THANKS"
54 }
55
56 src_prepare() {
57 # Fix uninitialized variable preventing crashes (already fixed in master)
58 epatch "${FILESDIR}/${P}-fix-uninitialized.patch"
59
60 # Provide updated icons
61 epatch "${FILESDIR}/${P}-new-icons.patch"
62 epatch "${FILESDIR}/${P}-new-icons2.patch"
63
64 # Remove idiotic -D.*DISABLE_DEPRECATED cflags
65 # This method is kinda prone to breakage. Recheck carefully with next bump.
66 # bug 339074
67 LC_ALL=C find . -iname 'Makefile.am' -exec \
68 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 1 failed"
69 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
70 LC_ALL=C find . -iname 'Makefile.in' -exec \
71 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + || die "sed 2 failed"
72
73 if ! use test ; then
74 sed -e 's/ tests//' -i logview/Makefile.{am,in} || die "sed 3 failed"
75 fi
76
77 # Fix intltoolize broken file, see upstream #577133
78 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
79 || die "sed failed"
80
81 intltoolize --force --copy --automake || die "intltoolize failed"
82 eautoreconf
83
84 gnome2_src_prepare
85 }

  ViewVC Help
Powered by ViewVC 1.1.20