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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat May 5 05:38:11 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.12: +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.1.ebuild,v 1.12 2011/03/16 10:48:17 nirbheek Exp $
4
5 EAPI="2"
6 GCONF_DEBUG="no"
7
8 inherit gnome2 multilib virtualx
9
10 DESCRIPTION="The Gnome 2 Canvas library"
11 HOMEPAGE="http://www.gnome.org/"
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 DOCS="AUTHORS ChangeLog NEWS README"
32
33 pkg_setup() {
34 G2CONF="${G2CONF} $(use_enable glade) --disable-static"
35 }
36
37 src_prepare() {
38 gnome2_src_prepare
39
40 # Fix intltoolize broken file, see upstream #577133
41 sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
42 || die "sed failed"
43 }
44
45 src_install() {
46 gnome2_src_install
47
48 if use glade; then
49 # libglade doesn't need .la files
50 find "${D}/usr/$(get_libdir)/libglade/2.0" -name "*.la" -delete || die
51 fi
52 }
53
54 src_test() {
55 Xmake check || die "Test phase failed"
56 }

  ViewVC Help
Powered by ViewVC 1.1.20