dev-libs/libevdev: Version bump to 1.6.0
authorMatt Turner <mattst88@gentoo.org>
Tue, 30 Oct 2018 22:55:33 +0000 (15:55 -0700)
committerMatt Turner <mattst88@gentoo.org>
Tue, 30 Oct 2018 22:56:32 +0000 (15:56 -0700)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
dev-libs/libevdev/Manifest
dev-libs/libevdev/libevdev-1.6.0.ebuild [new file with mode: 0644]
dev-libs/libevdev/libevdev-9999.ebuild

index 85c9c97a52a8043a95bda7c4dbd4c61efaf671bc..3a162eb67bc11cbf5a9e7d41f0c2695d85caa91c 100644 (file)
@@ -1 +1,2 @@
 DIST libevdev-1.5.9.tar.xz 408200 BLAKE2B b99974eab572693c9e2a915b21adf2e6c09e26af70011ce661084ac9add51cb6257f36bcfeb89d76c8987cf8724e69b027d30eda17c4457a40f3e047302efa19 SHA512 4496ab4d9dc165f416a574c21a7fcee54ae104c21ef4785a4dd0311fff428020cdbb5da7bf3f835e78dae05effdb1a557d189347f6e62dd6be2d8bcdc845850c
+DIST libevdev-1.6.0.tar.xz 411512 BLAKE2B 0e9190fd4c28b36bcf325953aa634c0d8c604cef7f56e46679fc88351536d78b0bddedbbdfffe4164e0039c7d56ef604b143e23de2c4bb9a66653a03d6844fa9 SHA512 73046da447773716c9f0c9f511f3a0a6ababcf92a146eba363014afcbdb465f4c3cd8be0917f2f01561a72f24f20fe8ecd333467437d9d85c03afcb433d05060
diff --git a/dev-libs/libevdev/libevdev-1.6.0.ebuild b/dev-libs/libevdev/libevdev-1.6.0.ebuild
new file mode 100644 (file)
index 0000000..2f3e3b8
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit multilib-minimal python-any-r1
+
+DESCRIPTION="Handler library for evdev events"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/"
+
+if [[ ${PV} == 9999* ]] ; then
+       EGIT_REPO_URI="https://anongit.freedesktop.org/git/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
+}
index d551ca6aecf245554f23fca85208c80af910182b..2f3e3b8ac97aac7e1aea5507c5ab67e5315ba861 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7