summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-09-10 13:08:33 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-09-10 13:08:33 +0200
commit823f8c80627018e7b4c09f48d43e6fbe183961bd (patch)
tree52a7072934689ddd8d4de3ced480b12a84460d69 /dev-libs/libwacom
parentx11-misc/xdg-user-dirs: Version bump to 0.16 (diff)
downloadgentoo-823f8c80627018e7b4c09f48d43e6fbe183961bd.tar.gz
gentoo-823f8c80627018e7b4c09f48d43e6fbe183961bd.tar.bz2
gentoo-823f8c80627018e7b4c09f48d43e6fbe183961bd.zip
dev-libs/libwacom: Version bump to 0.26
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-libs/libwacom')
-rw-r--r--dev-libs/libwacom/Manifest1
-rw-r--r--dev-libs/libwacom/libwacom-0.26.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libwacom/Manifest b/dev-libs/libwacom/Manifest
index 7a179d8b9dd..891433e9f46 100644
--- a/dev-libs/libwacom/Manifest
+++ b/dev-libs/libwacom/Manifest
@@ -1,2 +1,3 @@
DIST libwacom-0.24.tar.bz2 488313 SHA256 2905a0ee5cc85eceb9f5bd06109e66a051b0ed18102c3e6798717c259c8d66c3 SHA512 331acb33ab798abf376f70647786c894014d5baa373cc66d53f1e77e77129ba78ec059f32f5cf3659a1fe3e8f9ff6ab3eb6eefd6090fc3c3bab4582ea25a5640 WHIRLPOOL c66050a0704f3edbe8fc089f1ed4c7df4ade019db93e9ce7349e5e80ef08cc9457cfa1843fe3182488c3c966f820c8e0b02ba0b9deb0c8d15d85a2f170482143
DIST libwacom-0.25.tar.bz2 478780 SHA256 29d0862cd008a82e19f4b74a35ca9da49dfdb994a1bc761bc87e503c9de040cc SHA512 080d12706c3b685ee1cb963b79068e0e7c08e47296c1535cde4d2280239758d6bccbd38982a63d366cab1a77a4db287cc5bb329abaee6dbb285c4b8e010eaf67 WHIRLPOOL c99d62a2b26964c84dcbfca9e5136a89c397360025028cc23e54bd1413b15ece58c5948b516e7cdc5d2e3a4592dfd0e46851f9cb4528a596448886e216864373
+DIST libwacom-0.26.tar.bz2 479348 SHA256 c3e4109c8aa675ca42cafbf39992dcd1fd6582314441c42ba32b49f5b79cfb76 SHA512 4250a9c3481580d88b76f0dbcc9bff39bbe88bf3c874e0d7776d604980481ef7f3bf6d550a46c4bcb9690fb589e955cb416a0724dae200ba027bc129b3cd3100 WHIRLPOOL ac1080a2f402cdb35a390f6a1958300b5e0c23eea9062521f48d4b05f93db4512dc4bc0a8c84a85e85b0406b76456785415afc50c48eed1f1ba01eedc6f26019
diff --git a/dev-libs/libwacom/libwacom-0.26.ebuild b/dev-libs/libwacom/libwacom-0.26.ebuild
new file mode 100644
index 00000000000..10dd4624d6e
--- /dev/null
+++ b/dev-libs/libwacom/libwacom-0.26.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils udev
+
+DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
+HOMEPAGE="http://linuxwacom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="
+ dev-libs/glib:2
+ virtual/libgudev:=
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+ default
+ if ! use doc; then
+ sed -e 's:^\(SUBDIRS = .* \)doc:\1:' -i Makefile.in || die
+ fi
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ local udevdir="$(get_udevdir)"
+ dodir "${udevdir}/rules.d"
+ # generate-udev-rules must be run from inside tools directory
+ pushd tools > /dev/null || die
+ ./generate-udev-rules > "${ED}/${udevdir}/rules.d/65-libwacom.rules" || die "generating udev rules failed"
+ popd > /dev/null || die
+ use doc && dohtml -r doc/html/*
+ prune_libtool_files
+}