/[gentoo-x86]/gnome-base/libgnome/libgnome-2.32.1-r1.ebuild
Gentoo

Contents of /gnome-base/libgnome/libgnome-2.32.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jul 15 17:24:58 2012 UTC (2 years, 2 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
alpha/ia64/sh/sparc stable wrt #410611

(Portage version: 2.1.11.5/cvs/Linux ia64)

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-base/libgnome/libgnome-2.32.1-r1.ebuild,v 1.8 2012/05/29 16:24:37 aballier Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8 GNOME_TARBALL_SUFFIX="bz2"
9
10 inherit gnome2 eutils
11
12 DESCRIPTION="Essential Gnome Libraries"
13 HOMEPAGE="http://library.gnome.org/devel/libgnome/stable/"
14
15 LICENSE="LGPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
18 IUSE="branding doc"
19
20 SRC_URI="${SRC_URI}
21 branding? ( mirror://gentoo/gentoo-gdm-theme-r3.tar.bz2 )"
22
23 RDEPEND=">=gnome-base/gconf-2
24 >=dev-libs/glib-2.16:2
25 >=gnome-base/gnome-vfs-2.5.3
26 >=gnome-base/libbonobo-2.13
27 >=dev-libs/popt-1.7
28 media-libs/libcanberra"
29
30 DEPEND="${RDEPEND}
31 >=dev-lang/perl-5
32 >=dev-util/intltool-0.40
33 virtual/pkgconfig
34 doc? ( >=dev-util/gtk-doc-1 )"
35
36 PDEPEND="gnome-base/gvfs"
37
38 pkg_setup() {
39 G2CONF="${G2CONF}
40 --disable-static
41 --disable-schemas-install
42 --enable-canberra
43 --disable-esd"
44 DOCS="AUTHORS ChangeLog NEWS README"
45 }
46
47 src_prepare() {
48 gnome2_src_prepare
49
50 # Make sure menus have icons. People don't like change
51 epatch "${FILESDIR}/${PN}-2.28.0-menus-have-icons.patch"
52
53 use branding && epatch "${FILESDIR}"/${PN}-2.26.0-branding.patch
54
55 # Default to Adwaita theme over Clearlooks to proper gtk3 support
56 sed -i -e 's/Clearlooks/Adwaita/' schemas/desktop_gnome_interface.schemas.in.in || die
57
58 # Drop DEPRECATED flags
59 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' libgnome/Makefile.* || die
60 }
61
62 src_install() {
63 gnome2_src_install
64
65 if use branding; then
66 # Add gentoo backgrounds
67 dodir /usr/share/pixmaps/backgrounds/gnome/gentoo
68 insinto /usr/share/pixmaps/backgrounds/gnome/gentoo
69 doins "${WORKDIR}"/gentoo-emergence/gentoo-emergence.png
70 doins "${WORKDIR}"/gentoo-cow/gentoo-cow-alpha.png
71 fi
72 }

  ViewVC Help
Powered by ViewVC 1.1.20