summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-09-27 22:08:42 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-09-27 22:08:42 +0000
commita403664465106258250987759f13b677fc43bdd8 (patch)
tree5297928c06f6dfaa53cbd14df682002223253c49 /gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild
parentVersion bump. Fix RCS support. Fix support of old pygobject. (diff)
downloadgentoo-2-a403664465106258250987759f13b677fc43bdd8.tar.gz
gentoo-2-a403664465106258250987759f13b677fc43bdd8.tar.bz2
gentoo-2-a403664465106258250987759f13b677fc43bdd8.zip
Version bump. Translation updates.
(Portage version: 2.2_rc86/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild')
-rw-r--r--gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild b/gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild
new file mode 100644
index 000000000000..a26dc98a2294
--- /dev/null
+++ b/gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomecanvas/libgnomecanvas-2.30.2.ebuild,v 1.1 2010/09/27 22:08:42 eva Exp $
+
+EAPI="2"
+GCONF_DEBUG="no"
+
+inherit gnome2 multilib virtualx
+
+DESCRIPTION="The Gnome 2 Canvas library"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc glade"
+
+RDEPEND=">=dev-libs/glib-2.10
+ >=x11-libs/gtk+-2.13
+ >=media-libs/libart_lgpl-2.3.8
+ >=x11-libs/pango-1.0.1
+ glade? ( >=gnome-base/libglade-2 )"
+
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/pkgconfig-0.18
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable glade) --disable-static"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix intltoolize broken file, see upstream #577133
+ sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
+ || die "sed failed"
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use glade; then
+ # libglade doesn't need .la files
+ find "${D}/usr/$(get_libdir)/libglade/2.0" -name "*.la" -delete || die
+ fi
+}
+
+src_test() {
+ Xmake check || die "Test phase failed"
+}