dev-lang/vala: bump to 0.48.5
authorMart Raudsepp <leio@gentoo.org>
Fri, 24 Apr 2020 20:19:42 +0000 (23:19 +0300)
committerMart Raudsepp <leio@gentoo.org>
Fri, 24 Apr 2020 20:27:21 +0000 (23:27 +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.5.ebuild [new file with mode: 0644]

index d6a874de93d4714d4987cec80d0dd2f89d02f94d..a42087e71545a9e9b627e02fc8971a31c4335302 100644 (file)
@@ -11,3 +11,4 @@ DIST vala-0.46.7.tar.xz 3402828 BLAKE2B c028875e2c6036a6657244bff62d3a2eec2104c0
 DIST vala-0.46.9.tar.xz 3413264 BLAKE2B 6bc14f9316b3d5a2c81b0fbaed48ca85ffec37c616746b1bf432c883838097938e13931d06efc1e4abd027441e31fe73b2e76ba9b578ea33948f4dbe38a18bf2 SHA512 64ce902a15de9a477d50e3b0a0f64007c1acea7ad620ad224ed49cecbb029ebf8c9fcd79df6f0c64f46c0fd25cbf34f94be145a937460329dc9c38087073f240
 DIST vala-0.48.2.tar.xz 3433912 BLAKE2B 25b10235b81b34e0baf6a3cceed660affca9d226ca4f04e96d0dbf4d2ba10635452806bca4f9a82387778bbf813f8ee43c36cf476ab81c524cefaba0febcbad0 SHA512 0ea2d2c56d6d01007fe41e13bc51faa5e780259bc55f34a2d84270a5b6a0a46d59cce5eb195f81c78f1acbfb118cc3c5882edf0d187788791ee3ce865faece89
 DIST vala-0.48.3.tar.xz 3438824 BLAKE2B 4d743a158e12134f31f2e9850713594e3bd668b2a5e74d05df2d828b10a2272dc2cb228bc0041a394dc08633db3e2497eb095c5526763d69225388198995e470 SHA512 e73eade8b0cfa312d896c81b76e045bc9b8b71bd89298c0f8d78b2f596eebf64dc0eea8d1e266b2c17a774105560ed47590fbe00d65b1fda8db6823ac3ba4bb4
+DIST vala-0.48.5.tar.xz 3445096 BLAKE2B a41fd6b5b06526eb1a743c2e8681b4e3891b19a24213669f28407f9e8e29c3aa1a077458558491e0af05aed5659a7a6d4a0a18d711465d9c936e719245b944b1 SHA512 129097880c0dbe40cb84dc60a0af454b247759131ce29e9b5cbf74ca9dae35917e1ba973eff1d5ee025e54afe5a0881eb37d11ab433346e5e4c9a7625952b2d3
diff --git a/dev-lang/vala/vala-0.48.5.ebuild b/dev-lang/vala/vala-0.48.5.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
+}