summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/vala')
-rw-r--r--dev-lang/vala/ChangeLog8
-rw-r--r--dev-lang/vala/vala-0.12.0.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-lang/vala/ChangeLog b/dev-lang/vala/ChangeLog
index 19cc90bfa1c5..1c1859a1f22d 100644
--- a/dev-lang/vala/ChangeLog
+++ b/dev-lang/vala/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/vala
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/ChangeLog,v 1.54 2011/03/23 15:54:40 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/ChangeLog,v 1.55 2011/04/04 13:38:32 eva Exp $
+
+*vala-0.12.0 (04 Apr 2011)
+
+ 04 Apr 2011; Gilles Dartiguelongue <eva@gentoo.org> +vala-0.12.0.ebuild:
+ Version bump. Many bug fixes and binding updates. Add get_next_char to string
+ class.
23 Mar 2011; Gilles Dartiguelongue <eva@gentoo.org> -vala-0.9.3.ebuild,
-vala-0.10.4.ebuild, -vala-0.11.6.ebuild:
diff --git a/dev-lang/vala/vala-0.12.0.ebuild b/dev-lang/vala/vala-0.12.0.ebuild
new file mode 100644
index 000000000000..7d44b72f475b
--- /dev/null
+++ b/dev-lang/vala/vala-0.12.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.12.0.ebuild,v 1.1 2011/04/04 13:38:32 eva Exp $
+
+EAPI="3"
+GCONF_DEBUG="no"
+
+inherit alternatives gnome2
+
+DESCRIPTION="Vala - Compiler for the GObject type system"
+HOMEPAGE="http://live.gnome.org/Vala"
+
+LICENSE="LGPL-2.1"
+SLOT="0.12"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="test +vapigen"
+
+RDEPEND=">=dev-libs/glib-2.16:2"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ || ( sys-devel/bison dev-util/byacc dev-util/yacc )
+ dev-util/pkgconfig
+ dev-libs/libxslt
+ test? (
+ dev-libs/dbus-glib
+ >=dev-libs/glib-2.26:2 )"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-unversioned
+ $(use_enable vapigen)"
+ DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
+}
+
+src_install() {
+ gnome2_src_install
+ mv "${ED}"/usr/share/aclocal/vala.m4 \
+ "${ED}"/usr/share/aclocal/vala-${SLOT/./-}.m4 || die "failed to move vala m4 macro"
+ find "${ED}" -name "*.la" -delete || die "la file removal failed"
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ alternatives_auto_makesym /usr/share/aclocal/vala.m4 "vala-0-[0-9][0-9].m4"
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+ alternatives_auto_makesym /usr/share/aclocal/vala.m4 "vala-0-[0-9][0-9].m4"
+}