/[gentoo-x86]/x11-libs/goocanvas/goocanvas-1.0.0.ebuild
Gentoo

Contents of /x11-libs/goocanvas/goocanvas-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 5 03:52:27 2012 UTC (12 months, 2 weeks ago) by jdhore
Branch: MAIN
Changes since 1.3: +2 -2 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/x11-libs/goocanvas/goocanvas-1.0.0.ebuild,v 1.3 2012/04/03 20:28:23 jlec Exp $
4
5 EAPI="3"
6
7 GCONF_DEBUG=no
8 GNOME2_LA_PUNT=yes
9
10 inherit gnome2 libtool
11
12 DESCRIPTION="Canvas widget for GTK+ using the cairo 2D library for drawing"
13 HOMEPAGE="http://live.gnome.org/GooCanvas"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
18 IUSE="doc examples"
19
20 RDEPEND=">=x11-libs/gtk+-2.12:2
21 >=dev-libs/glib-2.10:2
22 >=x11-libs/cairo-1.4"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig
25 doc? ( >=dev-util/gtk-doc-1.8 )"
26
27 pkg_setup() {
28 DOCS="AUTHORS ChangeLog NEWS README TODO"
29 G2CONF="${G2CONF} --disable-rebuilds --disable-static"
30 }
31
32 src_prepare() {
33 # Fails to build with recent GTK+
34 sed -e "s/-D.*_DISABLE_DEPRECATED//g" \
35 -i src/Makefile.am src/Makefile.in demo/Makefile.am demo/Makefile.in \
36 || die "sed 1 failed"
37
38 sed -e 's/^\(SUBDIRS =.*\)demo\(.*\)$/\1\2/' \
39 -i Makefile.am Makefile.in || die "sed 2 failed"
40
41 # Needed for FreeBSD - Please do not remove
42 elibtoolize
43 }
44
45 src_install() {
46 gnome2_src_install
47
48 if use examples; then
49 insinto /usr/share/doc/${P}/examples/
50 doins demo/*.c demo/flower.png demo/toroid.png
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.13