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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Tue May 15 23:32:53 2012 UTC (2 years, 1 month ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
keyword ~amd64-fbsd

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

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.3.ebuild,v 1.12 2012/05/05 05:38:11 jdhore 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 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
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 find "${ED}" -name '*.la' -exec rm -f {} +
51 }
52
53 src_test() {
54 Xemake check || die "Test phase failed"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20