You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/gnome-base/libgnome/libgnome-2.32.1.ebuild

67 lines
1.7 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnome/libgnome-2.32.1.ebuild,v 1.10 2012/05/05 05:38:11 jdhore Exp $
EAPI="3"
GCONF_DEBUG="yes"
inherit gnome2 eutils
DESCRIPTION="Essential Gnome Libraries"
HOMEPAGE="http://library.gnome.org/devel/libgnome/stable/"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
IUSE="branding doc"
SRC_URI="${SRC_URI}
branding? ( mirror://gentoo/gentoo-gdm-theme-r3.tar.bz2 )"
RDEPEND=">=gnome-base/gconf-2
>=dev-libs/glib-2.16
>=gnome-base/gnome-vfs-2.5.3
>=gnome-base/libbonobo-2.13
>=dev-libs/popt-1.7
media-libs/libcanberra"
DEPEND="${RDEPEND}
>=dev-lang/perl-5
>=dev-util/intltool-0.40
virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1 )"
PDEPEND="gnome-base/gvfs"
pkg_setup() {
G2CONF="${G2CONF}
--disable-static
--disable-schemas-install
--enable-canberra
--disable-esd"
DOCS="AUTHORS ChangeLog NEWS README"
}
src_prepare() {
gnome2_src_prepare
# Make sure menus have icons. People don't like change
epatch "${FILESDIR}/${PN}-2.28.0-menus-have-icons.patch"
use branding && epatch "${FILESDIR}"/${PN}-2.26.0-branding.patch
}
src_install() {
gnome2_src_install
if use branding; then
# Add gentoo backgrounds
dodir /usr/share/pixmaps/backgrounds/gnome/gentoo || die "dodir failed"
insinto /usr/share/pixmaps/backgrounds/gnome/gentoo
doins "${WORKDIR}"/gentoo-emergence/gentoo-emergence.png || die "doins 1 failed"
doins "${WORKDIR}"/gentoo-cow/gentoo-cow-alpha.png || die "doins 2 failed"
fi
find "${ED}" -name '*.la' -exec rm -f {} +
}