diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-12 20:47:55 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-12 20:47:55 +0000 |
commit | 442d84f5d8f37322a509e0a7126a32400c34d934 (patch) | |
tree | f2e2c828d1b0c9f834d099ed06d35abb56a182e6 /gnome-base | |
parent | Small stylistic fix. (diff) | |
download | gentoo-2-442d84f5d8f37322a509e0a7126a32400c34d934.tar.gz gentoo-2-442d84f5d8f37322a509e0a7126a32400c34d934.tar.bz2 gentoo-2-442d84f5d8f37322a509e0a7126a32400c34d934.zip |
Enable optional vala support.
(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/librsvg/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-base/librsvg/librsvg-2.36.3.ebuild | 19 | ||||
-rw-r--r-- | gnome-base/librsvg/metadata.xml | 1 |
3 files changed, 16 insertions, 10 deletions
diff --git a/gnome-base/librsvg/ChangeLog b/gnome-base/librsvg/ChangeLog index c87d957dd919..7ab64db78694 100644 --- a/gnome-base/librsvg/ChangeLog +++ b/gnome-base/librsvg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-base/librsvg # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.280 2012/09/10 16:23:24 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/ChangeLog,v 1.281 2012/09/12 20:47:55 tetromino Exp $ + + 12 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + librsvg-2.36.3.ebuild, metadata.xml: + Enable optional vala support. 10 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> librsvg-2.36.3.ebuild: diff --git a/gnome-base/librsvg/librsvg-2.36.3.ebuild b/gnome-base/librsvg/librsvg-2.36.3.ebuild index 5684c8407680..dd8fde360fda 100644 --- a/gnome-base/librsvg/librsvg-2.36.3.ebuild +++ b/gnome-base/librsvg/librsvg-2.36.3.ebuild @@ -1,22 +1,23 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.36.3.ebuild,v 1.2 2012/09/10 16:23:24 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/librsvg-2.36.3.ebuild,v 1.3 2012/09/12 20:47:55 tetromino Exp $ EAPI="4" GNOME2_LA_PUNT="yes" GCONF_DEBUG="no" +VALA_MIN_API_VERSION="0.18" +VALA_USE_DEPEND="vapigen" -inherit autotools eutils gnome2 multilib +inherit autotools eutils gnome2 multilib vala DESCRIPTION="Scalable Vector Graphics (SVG) rendering library" HOMEPAGE="http://librsvg.sourceforge.net/" -SRC_URI="${SRC_URI} mirror://gentoo/introspection.m4.bz2" LICENSE="LGPL-2" SLOT="2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc +gtk +introspection tools" # vala -#REQUIRED_USE="vala? ( introspection )" +IUSE="doc +gtk +introspection tools vala" +REQUIRED_USE="vala? ( introspection )" RDEPEND=">=dev-libs/glib-2.24:2 >=x11-libs/cairo-1.2 @@ -34,8 +35,8 @@ DEPEND="${RDEPEND} dev-libs/vala-common >=dev-util/gtk-doc-am-1.13 - doc? ( >=dev-util/gtk-doc-1.13 )" -# vala? ( >=dev-lang/vala-0.17.1.26:0.18[vapigen] )" + doc? ( >=dev-util/gtk-doc-1.13 ) + vala? ( $(vala_depend) )" # >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf pkg_setup() { @@ -44,9 +45,8 @@ pkg_setup() { $(use_enable tools) $(use_enable gtk gtk-theme) $(use_enable introspection) + $(use_enable vala) --enable-pixbuf-loader" - # TODO: Add vala support once vala.eclass is committed - #$(use_enable vala) if use gtk && use tools; then G2CONF="${G2CONF} --enable-rsvg-view" else @@ -61,6 +61,7 @@ pkg_setup() { src_prepare() { # Make rsvg-view non-automagic epatch "${FILESDIR}/${PN}-2.36.0-rsvg-view-automagic.patch" + use vala && vala_src_prepare eautoreconf gnome2_src_prepare diff --git a/gnome-base/librsvg/metadata.xml b/gnome-base/librsvg/metadata.xml index 9d83ffc773ce..3f9c04a39d1c 100644 --- a/gnome-base/librsvg/metadata.xml +++ b/gnome-base/librsvg/metadata.xml @@ -7,5 +7,6 @@ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> <flag name="tools">Build miscellaneous tools</flag> + <flag name="vala">Enable bindings for <pkg>dev-lang/vala</pkg></flag> </use> </pkgmetadata> |