summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-04-11 12:07:22 +0300
committerMart Raudsepp <leio@gentoo.org>2020-04-11 12:07:22 +0300
commit218fcc1afeed4b5eedfd73cff2ca05375bc22c2a (patch)
tree133cb3b5480b85c252b1b31957aada981d9c2106 /dev-libs/libmanette/libmanette-0.2.4.ebuild
parentapp-emulation/simh: bump up to 3.11.1 (diff)
downloadgentoo-218fcc1afeed4b5eedfd73cff2ca05375bc22c2a.tar.gz
gentoo-218fcc1afeed4b5eedfd73cff2ca05375bc22c2a.tar.bz2
gentoo-218fcc1afeed4b5eedfd73cff2ca05375bc22c2a.zip
dev-libs/libmanette: bump to 0.2.4
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'dev-libs/libmanette/libmanette-0.2.4.ebuild')
-rw-r--r--dev-libs/libmanette/libmanette-0.2.4.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libmanette/libmanette-0.2.4.ebuild b/dev-libs/libmanette/libmanette-0.2.4.ebuild
new file mode 100644
index 000000000000..6e27d2729cea
--- /dev/null
+++ b/dev-libs/libmanette/libmanette-0.2.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome.org gnome2-utils meson vala xdg
+
+DESCRIPTION="Simple GObject game controller library"
+HOMEPAGE="https://gitlab.gnome.org/aplazas/libmanette"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+introspection +udev +vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.50:2
+ udev? ( dev-libs/libgudev[introspection?] )
+ dev-libs/libevdev
+ introspection? ( >=dev-libs/gobject-introspection-1.56:= )
+"
+DEPEND="${DEPEND}
+ vala? ( $(vala_depend) )
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ xdg_src_prepare
+ use vala && vala_src_prepare
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature udev gudev)
+ $(meson_use introspection)
+ $(meson_use vala vapi)
+ )
+ meson_src_configure
+}