summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-04-11 22:55:12 +0000
committerRémi Cardona <remi@gentoo.org>2008-04-11 22:55:12 +0000
commit3682c36698c0ba6e0a045f2368bd5d360afb0d1f (patch)
treeda3ca11e59ebd2c243fa9daddefafbf7f52605fa /dev-cpp
parentx86 stable, bug #216769 (diff)
downloadgentoo-2-3682c36698c0ba6e0a045f2368bd5d360afb0d1f.tar.gz
gentoo-2-3682c36698c0ba6e0a045f2368bd5d360afb0d1f.tar.bz2
gentoo-2-3682c36698c0ba6e0a045f2368bd5d360afb0d1f.zip
dev-cpp/libgnomecanvasmm: Bump to 2.22.0 (upstream version bump, nothing new)
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libgnomecanvasmm/ChangeLog8
-rw-r--r--dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.22.0.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-cpp/libgnomecanvasmm/ChangeLog b/dev-cpp/libgnomecanvasmm/ChangeLog
index 54c82906bdc0..0cdd8436d0be 100644
--- a/dev-cpp/libgnomecanvasmm/ChangeLog
+++ b/dev-cpp/libgnomecanvasmm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-cpp/libgnomecanvasmm
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomecanvasmm/ChangeLog,v 1.60 2008/01/03 20:43:20 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomecanvasmm/ChangeLog,v 1.61 2008/04/11 22:55:12 remi Exp $
+
+*libgnomecanvasmm-2.22.0 (11 Apr 2008)
+
+ 11 Apr 2008; Rémi Cardona <remi@gentoo.org>
+ +libgnomecanvasmm-2.22.0.ebuild:
+ Bump to 2.22.0 (upstream version bump, nothing new)
*libgnomecanvasmm-2.20.0 (03 Jan 2008)
diff --git a/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.22.0.ebuild b/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.22.0.ebuild
new file mode 100644
index 000000000000..e06624dbc6b3
--- /dev/null
+++ b/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.22.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.22.0.ebuild,v 1.1 2008/04/11 22:55:12 remi Exp $
+
+inherit gnome2
+
+DESCRIPTION="C++ bindings for libgnomecanvas"
+HOMEPAGE="http://gtkmm.sourceforge.net/"
+
+LICENSE="LGPL-2.1"
+SLOT="2.6"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc examples"
+
+RDEPEND=">=gnome-base/libgnomecanvas-2.6
+ >=dev-cpp/gtkmm-2.4"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.12.0
+ doc? ( app-doc/doxygen )"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO INSTALL"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ if ! use examples; then
+ # don't waste time building the examples
+ sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
+ die "sed Makefile.in failed"
+ fi
+}
+
+src_compile() {
+ gnome2_src_compile
+
+ if use doc; then
+ cd "${S}/docs/reference"
+ make all || die "failed to build API docs"
+ fi
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use doc ; then
+ dohtml -r docs/reference/html/*
+ fi
+
+ if use examples; then
+ cp -R examples "${D}/usr/share/doc/${PF}"
+ fi
+}