summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-05-01 16:01:46 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-05-01 16:01:46 +0000
commit8c206fb13e717af4b3d1d22d4602d9df87f30543 (patch)
treef1fd51d8c6b2239f75f35af495f154844353598e /x11-libs
parentStop using get_libdir for setting udev directory. (diff)
downloadgentoo-2-8c206fb13e717af4b3d1d22d4602d9df87f30543.tar.gz
gentoo-2-8c206fb13e717af4b3d1d22d4602d9df87f30543.tar.bz2
gentoo-2-8c206fb13e717af4b3d1d22d4602d9df87f30543.zip
Move goocanvas from the gnome overlay to the tree
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/goocanvas/ChangeLog8
-rw-r--r--x11-libs/goocanvas/goocanvas-2.0.0.ebuild46
2 files changed, 53 insertions, 1 deletions
diff --git a/x11-libs/goocanvas/ChangeLog b/x11-libs/goocanvas/ChangeLog
index 584096bd6af9..cb6472b2650e 100644
--- a/x11-libs/goocanvas/ChangeLog
+++ b/x11-libs/goocanvas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/goocanvas
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/goocanvas/ChangeLog,v 1.22 2011/03/29 12:58:33 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/goocanvas/ChangeLog,v 1.23 2011/05/01 16:01:44 nirbheek Exp $
+
+*goocanvas-2.0.0 (01 May 2011)
+
+ 01 May 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +goocanvas-2.0.0.ebuild:
+ Move goocanvas from the gnome overlay to the tree
29 Mar 2011; Christoph Mende <angelos@gentoo.org> goocanvas-0.14.ebuild:
Fix gtk+ slot deps
diff --git a/x11-libs/goocanvas/goocanvas-2.0.0.ebuild b/x11-libs/goocanvas/goocanvas-2.0.0.ebuild
new file mode 100644
index 000000000000..9fe29475a55d
--- /dev/null
+++ b/x11-libs/goocanvas/goocanvas-2.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/goocanvas/goocanvas-2.0.0.ebuild,v 1.1 2011/05/01 16:01:46 nirbheek Exp $
+
+EAPI="3"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="Canvas widget for GTK+ using the cairo 2D library for drawing"
+HOMEPAGE="http://live.gnome.org/GooCanvas"
+
+LICENSE="GPL-2"
+SLOT="2.0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc examples"
+
+RDEPEND=">=x11-libs/gtk+-3.0.0:3
+ >=dev-libs/glib-2.28.0:2
+ >=x11-libs/cairo-1.10.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.8 )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+ G2CONF="${G2CONF} --disable-rebuilds --disable-static"
+}
+
+src_prepare() {
+ # Do not build demos
+ sed -e 's/^\(SUBDIRS =.*\)demo\(.*\)$/\1\2/' \
+ -i Makefile.am Makefile.in || die "sed failed"
+
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use examples; then
+ insinto "/usr/share/doc/${P}/examples/"
+ doins demo/*.[ch] demo/*.png
+ fi
+}