forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST libmanette-0.2.3.tar.xz 33620 BLAKE2B ec811e0a939713e99eb931a2aa0c1b67a2de1fad4c4e399e47975b795da7672ab56a217cda94f4642f749aed1ff4379c67b58da349f8ac8434c95a80c7909980 SHA512 23d3feae3b0ba81deb75b0ff911eb37f3d0d767a0ae65815d34cadf69f78ca7f081177a2161105ea3979ba9222b3641e6b776bf4fcf3e46a9de716bdce475df6 | ||
DIST libmanette-0.2.4.tar.xz 38196 BLAKE2B d9bd8817ec03c9414eb249ce50d3468e2eb2dee78ba36b7a1ac9b04d87e1888d086766594109ee8d89fc4f48fea8d6e7949c7fe44646cacae00145b14f416697 SHA512 713686e3fd515a09846def3283a9e687571dfe47357af00f95739b6e888a454ab14c526a11b38c4ad19bdf928fc3b13b8be32612557dd0ecc743efd2cb6e0792 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |