/[gentoo-x86]/dev-libs/libwacom/libwacom-0.12.ebuild
Gentoo

Contents of /dev-libs/libwacom/libwacom-0.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Mar 27 03:07:31 2015 UTC (3 years, 2 months ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Version bump (bug #544616, thanks to Chí-Thanh Christopher Nguyễn), adds support for cintiq 27qhd, dtu-1031x, pen medium; improves udev rules to avoid misidentifying as a joystick/touchpad.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libwacom/libwacom-0.11.ebuild,v 1.1 2015/02/17 22:52:04 tetromino Exp $
4
5 EAPI=5
6 inherit eutils udev
7
8 DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
9 HOMEPAGE="http://linuxwacom.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
11
12 LICENSE="MIT"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="doc static-libs"
16
17 RDEPEND="
18 dev-libs/glib:2
19 virtual/libgudev:=
20 "
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 doc? ( app-doc/doxygen )
24 "
25
26 src_prepare() {
27 if ! use doc; then
28 sed -e 's:^\(SUBDIRS = .* \)doc:\1:' -i Makefile.in || die
29 fi
30 }
31
32 src_configure() {
33 econf $(use_enable static-libs static)
34 }
35
36 src_install() {
37 default
38 local udevdir="$(get_udevdir)"
39 dodir "${udevdir}/rules.d"
40 # generate-udev-rules must be run from inside tools directory
41 pushd tools > /dev/null
42 ./generate-udev-rules > "${ED}/${udevdir}/rules.d/65-libwacom.rules" ||
43 die "generating udev rules failed"
44 popd > /dev/null
45 use doc && dohtml -r doc/html/*
46 prune_libtool_files
47 }

  ViewVC Help
Powered by ViewVC 1.1.20