commit:     5364e87a621d5cbfc434bd936a867ed6be03df44
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 26 17:32:42 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Aug 26 17:36:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5364e87a

dev-libs/libevdev: Version bump to 1.8.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/libevdev/Manifest              |  1 +
 dev-libs/libevdev/libevdev-1.8.0.ebuild | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest
index 3d06bb4e49f..61c72584c52 100644
--- a/dev-libs/libevdev/Manifest
+++ b/dev-libs/libevdev/Manifest
@@ -1 +1,2 @@
 DIST libevdev-1.7.0.tar.xz 438264 BLAKE2B 
3f71ccdfbd68598afed7316dd4902a8ac439c6f094788abed5cb8ed24acaf070edaeceefad17de51cadb039259aa0de6a8ec576fa1f8dbd60878ee75aeb39fde
 SHA512 
bc43723fd1ca251a77ee549022609f73c15a33ae470fc843ac687542fb1938fba4d046d3ee1dc814bc38a4292a7f2ad9e71fcce45525b518a4f4a5bef099aa6f
+DIST libevdev-1.8.0.tar.xz 439000 BLAKE2B 
408c60669557419c945901da5f146302cf0cdc43ed74cf4dc8ff4a9c272319c49f644bf95acf3d8656173bfc2f3763a6cc172ee4707a7f0129d15449701e9449
 SHA512 
8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4

diff --git a/dev-libs/libevdev/libevdev-1.8.0.ebuild 
b/dev-libs/libevdev/libevdev-1.8.0.ebuild
new file mode 100644
index 00000000000..c32b139bc87
--- /dev/null
+++ b/dev-libs/libevdev/libevdev-1.8.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit multilib-minimal python-any-r1
+
+DESCRIPTION="Handler library for evdev events"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ 
https://gitlab.freedesktop.org/libevdev/libevdev";
+
+if [[ ${PV} == 9999* ]] ; then
+       EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git";
+       inherit autotools git-r3
+else
+       SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="doc static-libs"
+
+BDEPEND="
+       ${PYTHON_DEPS}
+       doc? ( app-doc/doxygen )
+       virtual/pkgconfig
+"
+RESTRICT="test" # Tests need to run as root.
+
+src_prepare() {
+       default
+       [[ ${PV} == 9999* ]] && eautoreconf
+}
+
+multilib_src_configure() {
+       ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+       if use doc ;then
+               local HTML_DOCS=( doc/html/. )
+               einstalldocs
+       fi
+}

Reply via email to