/[gentoo-x86]/gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild
Gentoo

Contents of /gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat May 5 05:38:11 2012 UTC (2 years, 8 months ago) by jdhore
Branch: MAIN
Changes since 1.6: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

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/libgnomecanvas/libgnomecanvas-2.30.2.ebuild,v 1.6 2011/03/16 10:48:17 nirbheek Exp $
4
5 EAPI="3"
6 GCONF_DEBUG="no"
7
8 inherit gnome2 multilib virtualx
9
10 DESCRIPTION="The Gnome 2 Canvas library"
11 HOMEPAGE="http://library.gnome.org/devel/libgnomecanvas/stable/"
12
13 LICENSE="LGPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm ia64 ~mips ~ppc ~ppc64 sh sparc x86 ~x86-fbsd"
16 IUSE="doc glade"
17
18 RDEPEND=">=dev-libs/glib-2.10:2
19 >=x11-libs/gtk+-2.13:2
20 >=media-libs/libart_lgpl-2.3.8
21 >=x11-libs/pango-1.0.1
22 glade? ( >=gnome-base/libglade-2:2.0 )"
23
24 DEPEND="${RDEPEND}
25 >=dev-lang/perl-5
26 sys-devel/gettext
27 >=dev-util/intltool-0.35
28 virtual/pkgconfig
29 doc? ( >=dev-util/gtk-doc-1 )"
30
31 pkg_setup() {
32 DOCS="AUTHORS ChangeLog NEWS README"
33 G2CONF="${G2CONF} $(use_enable glade) --disable-static"
34 }
35
36 src_prepare() {
37 gnome2_src_prepare
38
39 # Fix intltoolize broken file, see upstream #577133
40 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
41 || die "sed failed"
42
43 # Don't build demos that are not even installed, bug #226299
44 sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
45 || die "sed 2 failed"
46 }
47
48 src_install() {
49 gnome2_src_install
50
51 if use glade; then
52 # libglade doesn't need .la files
53 find "${ED}/usr/$(get_libdir)/libglade/2.0" -name "*.la" -delete || die
54 fi
55 }
56
57 src_test() {
58 Xmake check || die "Test phase failed"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20