commit:     0ef95c8ac04c03f4ba3f202ac36e4b5c603af58a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  9 15:56:51 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 16:09:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef95c8a

xfce-extra/xfce4-vala: Support vala:0.40 (stable)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-vala/xfce4-vala-4.10.3-r5.ebuild | 40 +++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/xfce-extra/xfce4-vala/xfce4-vala-4.10.3-r5.ebuild 
b/xfce-extra/xfce4-vala/xfce4-vala-4.10.3-r5.ebuild
new file mode 100644
index 00000000000..7b9ab017937
--- /dev/null
+++ b/xfce-extra/xfce4-vala/xfce4-vala-4.10.3-r5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+VALA_MIN_API_VERSION=0.40
+VALA_MAX_API_VERSION=${VALA_MIN_API_VERSION}
+VALA_USE_DEPEND=vapigen
+inherit vala
+
+DESCRIPTION="Vala bindings for the Xfce desktop environment"
+HOMEPAGE="https://wiki.xfce.org/vala-bindings";
+SRC_URI="https://archive.xfce.org/src/bindings/${PN}/${PV%.*}/${P}.tar.bz2";
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="$(vala_depend)
+       >=xfce-base/exo-0.10:=
+       >=xfce-base/garcon-0.2:=
+       >=xfce-base/libxfce4ui-4.10:=
+       >=xfce-base/libxfce4util-4.10:=
+       >=xfce-base/xfce4-panel-4.10:=
+       >=xfce-base/xfconf-4.10:="
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+}
+
+src_configure() {
+       local myconf=(
+               "--with-vala-api=${VALA_MIN_API_VERSION}"
+       )
+
+       vala_src_prepare
+       econf "${myconf[@]}"
+}

Reply via email to