summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libwacom/Manifest1
-rw-r--r--dev-libs/libwacom/libwacom-0.18.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/libwacom/Manifest b/dev-libs/libwacom/Manifest
index 7394683446a9..82eef248fdd6 100644
--- a/dev-libs/libwacom/Manifest
+++ b/dev-libs/libwacom/Manifest
@@ -1,3 +1,4 @@
DIST libwacom-0.11.tar.bz2 424554 SHA256 995f192e53f09444b79b66986227ebbac477520956363dededa19af3d8746284 SHA512 465f1ea9354bcba7d1c5d9fe146192b7ba1593973690718b2584b4786feb434f672556e7eed799761f96a37fe79bd14ae33ab7695d3ce9d5214cf9bc5b26eecc WHIRLPOOL 7f29b09a9bdee0d9cb2f5712414bdbcccf1b2a31a387020de2c1f911411934a3ae61a1d430b40e3402282fbc60e0d184b82c1cd524e43c8417d678f27063f607
DIST libwacom-0.15.tar.bz2 440516 SHA256 ab65c589d5d6de176c5280ebe9cc1e807b9fa6fce7224b88f280b19464bb7713 SHA512 10c38cb9af4f07a09c0248bff827bc9ceba99200e1298452b5a3745666ccac5ad01b6122563cddff83ec0072ff40321c053f190d4af3477967a4cb419d444aa6 WHIRLPOOL a8b65d32a15cb7c5c5b3e486bae0fddebec7f917ee93d01a65a81f7d9e3525fe74df6af3edb6786eb9946c71f29f0397f8be1ab52df21ac60f0b35a3ec35994a
DIST libwacom-0.17.tar.bz2 452943 SHA256 89517967f7fb3b4c4774893b041b09ea3574e46beb97815a43885cc387d57525 SHA512 8c9dc7f21fabb2e30f3b00f0c2da2b56bd3786c3bc2b4643bb0f446db325c895312a021f01685318d25d6588335f14b5725760dac7b06075892c18cfd36b89ee WHIRLPOOL 80c4fa7c8f9179027410d2f13adceb3d9d64dea0494e4bcaa0707e66f24f1d0323db0d1108fcdd5f1a36c107663daf9301ff733211fe1795cadc9232e80acfbe
+DIST libwacom-0.18.tar.bz2 445524 SHA256 71bfa2a8d10ec2f2ada852aed816724a9af4713cbe0cf8559877b7fa56a7b722 SHA512 68258fbcada5c96e581d1386ca863a80ef979d2f0022de4bcc52d82d0f49c43d4c3c602ea088c1c16128c4aabb3b867f518d4d94335b7757eba6cf7e8c8b950d WHIRLPOOL 7c152b2846ee81cce256218df5fabbbb2fb2e103e6c30c905dd40c09e65a789719dc38f5b1a058caa792c2993552ea58c03b8c4d8d26be395531f601ef406e9e
diff --git a/dev-libs/libwacom/libwacom-0.18.ebuild b/dev-libs/libwacom/libwacom-0.18.ebuild
new file mode 100644
index 000000000000..995700e38102
--- /dev/null
+++ b/dev-libs/libwacom/libwacom-0.18.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+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() {
+ 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
+}