diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-08-07 11:21:31 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-08-07 11:21:31 +0000 |
commit | 04ef69db8a3277ef506bdecc0c74003c79efcfdb (patch) | |
tree | 1c87a2b8dcf8463125d83c47b9c1eb310321c03e /net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild | |
parent | Version bump KDE SC 4.8.5 (diff) | |
download | historical-04ef69db8a3277ef506bdecc0c74003c79efcfdb.tar.gz historical-04ef69db8a3277ef506bdecc0c74003c79efcfdb.tar.bz2 historical-04ef69db8a3277ef506bdecc0c74003c79efcfdb.zip |
Fix build failure with cups-1.6 (bug #428812, thanks to Diego Elio Pettenò).
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild')
-rw-r--r-- | net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild b/net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild new file mode 100644 index 000000000000..8d79e3169313 --- /dev/null +++ b/net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild,v 1.1 2012/08/07 11:21:31 tetromino Exp $ + +EAPI="4" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" + +inherit eutils gnome2 + +DESCRIPTION="GNOME cups library" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-libs/glib-2:2 + >=net-print/cups-1.3.8" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-util/intltool-0.28" + +pkg_setup() { + G2CONF="${G2CONF} --disable-static" + DOCS="AUTHORS ChangeLog NEWS" +} + +src_prepare() { + epatch "${FILESDIR}"/enablenet.patch + + # Fix .pc file per bug #235013 + epatch "${FILESDIR}"/${P}-pkgconfig.patch + + # Upstream fix for g_list_find_custom() argument order + epatch "${FILESDIR}/${P}-g_list_find_custom.patch" + + # >=glib-2.31 compat, bug #400789, https://bugzilla.gnome.org/show_bug.cgi?id=664930 + epatch "${FILESDIR}/${P}-glib.h.patch" + + # cups-1.6 compat, bug #428812 + epatch "${FILESDIR}/${P}-cups-1.6.patch" + + gnome2_src_prepare +} |