diff options
Diffstat (limited to 'net-print/gnome-cups-manager/gnome-cups-manager-0.33-r1.ebuild')
-rw-r--r-- | net-print/gnome-cups-manager/gnome-cups-manager-0.33-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r1.ebuild b/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r1.ebuild new file mode 100644 index 000000000000..73b99850dca7 --- /dev/null +++ b/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gnome-cups-manager/gnome-cups-manager-0.33-r1.ebuild,v 1.1 2009/04/25 15:02:07 dang Exp $ + +inherit eutils gnome2 flag-o-matic + +DESCRIPTION="GNOME CUPS Printer Management Interface" +HOMEPAGE="http://www.gnome.org/" + +SRC_URI="${SRC_URI} + mirror://gentoo/${PN}-patches-${PVR}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +COMMON=">=x11-libs/gtk+-2.3.1 + >=dev-libs/glib-2.3.1 + >=gnome-base/libgnome-2 + >=gnome-base/libgnomeui-2.2 + >=gnome-base/libglade-2 + >=gnome-base/libbonobo-2 + >=net-print/libgnomecups-0.2.3 + gnome-base/gnome-keyring" + +RDEPEND="${COMMON} + x11-libs/gksu" + +DEPEND="${COMMON} + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.28" + +DOCS="ChangeLog NEWS README" + +src_unpack() { + gnome2_src_unpack + + rm "${WORKDIR}"/patches/140_all_ui_tooltip.patch || \ + die "removing patch failed" + + export EPATCH_SOURCE="${WORKDIR}/patches" \ + EPATCH_SUFFIX="patch" \ + EPATCH_MULTI_MSG="Applying Ubuntu patches (enhancements) ..." + epatch +} + +src_install() { + gnome2_src_install + #Debian-specific. + rm "${D}"/usr/sbin/gnome-cups-switch +} |