dev-lang/vala: bump to 0.48.3
authorMart Raudsepp <leio@gentoo.org>
Wed, 8 Apr 2020 08:02:19 +0000 (11:02 +0300)
committerMart Raudsepp <leio@gentoo.org>
Wed, 8 Apr 2020 09:32:15 +0000 (12:32 +0300)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
dev-lang/vala/Manifest
dev-lang/vala/vala-0.48.3.ebuild [new file with mode: 0644]

index 34eef715759424d4273060f2e41e6fcedcd67e25..c7a7a6628a39d84287ac236ec4a1110a1a02399e 100644 (file)
@@ -8,3 +8,4 @@ DIST vala-0.44.9.tar.xz 3363004 BLAKE2B b87f8f7d9cda5a77486720b8c542c42ed448cfbb
 DIST vala-0.46.6.tar.xz 3383032 BLAKE2B c7f38cf617f3a0d5a5915ebedd320ef6a5c3714e21618e95756529e1fb09abc12417f31aeefc0111e828da5c2dabd6195b07bb1cc69c6e74f73d72fe7403637a SHA512 ab24c3ad37af62e38289fd085a33f72e178e0b58c1f24c27c58c1010270a4b0e5cb4cc510b6147c51e5796a7ae63aed3a4ac219b24ff985f2546e25c9ad48992
 DIST vala-0.46.7.tar.xz 3402828 BLAKE2B c028875e2c6036a6657244bff62d3a2eec2104c06ec3c993f4d59371f2ec7947cfd36f577d41a2c4ba52f6dd7fb03251cad989e3b2787e2817bd988cc16030ca SHA512 609694c2b773abdd8f47d0e9dd8e1dabac2053f7e0321eac7232b3931b15df30e095541dbb02965fc74f3a29b7562b7a326c56ce7c570e6528f8cfa480363c76
 DIST vala-0.48.2.tar.xz 3433912 BLAKE2B 25b10235b81b34e0baf6a3cceed660affca9d226ca4f04e96d0dbf4d2ba10635452806bca4f9a82387778bbf813f8ee43c36cf476ab81c524cefaba0febcbad0 SHA512 0ea2d2c56d6d01007fe41e13bc51faa5e780259bc55f34a2d84270a5b6a0a46d59cce5eb195f81c78f1acbfb118cc3c5882edf0d187788791ee3ce865faece89
+DIST vala-0.48.3.tar.xz 3438824 BLAKE2B 4d743a158e12134f31f2e9850713594e3bd668b2a5e74d05df2d828b10a2272dc2cb228bc0041a394dc08633db3e2497eb095c5526763d69225388198995e470 SHA512 e73eade8b0cfa312d896c81b76e045bc9b8b71bd89298c0f8d78b2f596eebf64dc0eea8d1e266b2c17a774105560ed47590fbe00d65b1fda8db6823ac3ba4bb4
diff --git a/dev-lang/vala/vala-0.48.3.ebuild b/dev-lang/vala/vala-0.48.3.ebuild
new file mode 100644 (file)
index 0000000..1f7c05b
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2
+
+DESCRIPTION="Compiler for the GObject type system"
+HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
+
+LICENSE="LGPL-2.1+"
+SLOT="0.48"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux"
+IUSE="test valadoc"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.48.0:2
+       >=dev-libs/vala-common-${PV}
+       valadoc? ( >=media-gfx/graphviz-2.16 )
+       !<net-libs/libsoup-2.66.2[vala]
+" # Older libsoup generates a libsoup-2.4.vapi that isn't fine for vala:0.46 anymore
+# We block here, so libsoup[vala] consumers wouldn't have to >= it, which would be bad
+# as the newer is not required with older vala when those are picked instead of 0.46.
+# vala-0.45.91 ships a broken libsoup-2.4.vapi copy too, but that'll be fixed by 0.45.92
+DEPEND="${RDEPEND}
+       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 )
+"
+
+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
+}