summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-12-31 00:19:25 +0200
committerMart Raudsepp <leio@gentoo.org>2019-12-31 00:36:05 +0200
commit06e0873a47b4f0264995d874815423d5c57d7b1b (patch)
tree96dadbda6836c6b05ac6521456a84e0fa8fda765 /dev-lang/vala/vala-0.40.18.ebuild
parentgnome-extra/zenity: bump to 3.32.0 (diff)
downloadgentoo-06e0873a47b4f0264995d874815423d5c57d7b1b.tar.gz
gentoo-06e0873a47b4f0264995d874815423d5c57d7b1b.tar.bz2
gentoo-06e0873a47b4f0264995d874815423d5c57d7b1b.zip
dev-lang/vala: bump to 0.40.18
Package-Manager: Portage-2.3.79, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'dev-lang/vala/vala-0.40.18.ebuild')
-rw-r--r--dev-lang/vala/vala-0.40.18.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-lang/vala/vala-0.40.18.ebuild b/dev-lang/vala/vala-0.40.18.ebuild
new file mode 100644
index 000000000000..f8a7cfa9827a
--- /dev/null
+++ b/dev-lang/vala/vala-0.40.18.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2
+
+DESCRIPTION="Compiler for the GObject type system"
+HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
+
+LICENSE="LGPL-2.1"
+SLOT="0.40"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
+IUSE="test valadoc"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/glib-2.40.0:2
+ >=dev-libs/vala-common-${PV}
+ valadoc? ( >=media-gfx/graphviz-2.16 )
+"
+DEPEND="${RDEPEND}
+ !${CATEGORY}/${PN}:0
+ dev-libs/libxslt
+ sys-devel/flex
+ virtual/pkgconfig
+ virtual/yacc
+ test? (
+ dev-libs/dbus-glib
+ >=dev-libs/glib-2.26:2
+ dev-libs/gobject-introspection )
+"
+
+PATCHES=(
+ # From master
+ "${FILESDIR}"/0.40-Allow-disabling-the-build-of-valadoc.patch
+ # Add missing bits to make valadoc parallel installable
+ "${FILESDIR}"/0.40-valadoc-doclets-data-parallel-installable.patch
+)
+
+src_configure() {
+ # weasyprint enables generation of PDF from HTML
+ gnome2_src_configure \
+ --disable-unversioned \
+ $(use_enable valadoc) \
+ VALAC=: \
+ WEASYPRINT=:
+}
+
+src_install() {
+ default
+ find "${D}" -name "*.la" -delete || die
+}