/[gentoo-x86]/net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild
Gentoo

Contents of /net-print/libgnomecups/libgnomecups-0.2.3-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Aug 7 11:21:31 2012 UTC (2 years, 3 months ago) by tetromino
Branch: MAIN
Fix build failure with cups-1.6 (bug #428812, thanks to Diego Elio Pettenò).

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 tetromino 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-print/libgnomecups/libgnomecups-0.2.3-r2.ebuild,v 1.10 2012/07/15 18:22:40 armin76 Exp $
4    
5     EAPI="4"
6     GCONF_DEBUG="yes"
7     GNOME2_LA_PUNT="yes"
8     GNOME_TARBALL_SUFFIX="bz2"
9    
10     inherit eutils gnome2
11    
12     DESCRIPTION="GNOME cups library"
13     HOMEPAGE="http://www.gnome.org/"
14    
15     LICENSE="GPL-2 LGPL-2"
16     SLOT="0"
17     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
18     IUSE=""
19    
20     RDEPEND=">=dev-libs/glib-2:2
21     >=net-print/cups-1.3.8"
22     DEPEND="${RDEPEND}
23     virtual/pkgconfig
24     >=dev-util/intltool-0.28"
25    
26     pkg_setup() {
27     G2CONF="${G2CONF} --disable-static"
28     DOCS="AUTHORS ChangeLog NEWS"
29     }
30    
31     src_prepare() {
32     epatch "${FILESDIR}"/enablenet.patch
33    
34     # Fix .pc file per bug #235013
35     epatch "${FILESDIR}"/${P}-pkgconfig.patch
36    
37     # Upstream fix for g_list_find_custom() argument order
38     epatch "${FILESDIR}/${P}-g_list_find_custom.patch"
39    
40     # >=glib-2.31 compat, bug #400789, https://bugzilla.gnome.org/show_bug.cgi?id=664930
41     epatch "${FILESDIR}/${P}-glib.h.patch"
42    
43     # cups-1.6 compat, bug #428812
44     epatch "${FILESDIR}/${P}-cups-1.6.patch"
45    
46     gnome2_src_prepare
47     }

  ViewVC Help
Powered by ViewVC 1.1.20