diff options
-rw-r--r-- | dev-libs/libwacom/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libwacom/libwacom-0.7.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-libs/libwacom/ChangeLog b/dev-libs/libwacom/ChangeLog index afa22103516f..2160c53c0033 100644 --- a/dev-libs/libwacom/ChangeLog +++ b/dev-libs/libwacom/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libwacom # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libwacom/ChangeLog,v 1.11 2013/01/06 09:25:13 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libwacom/ChangeLog,v 1.12 2013/03/28 16:50:26 pacho Exp $ + +*libwacom-0.7 (28 Mar 2013) + + 28 Mar 2013; Pacho Ramos <pacho@gentoo.org> +libwacom-0.7.ebuild: + Version bump for Gnome 3.8 06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> libwacom-0.6.ebuild: Add ~sparc, wrt bug #449220 diff --git a/dev-libs/libwacom/libwacom-0.7.ebuild b/dev-libs/libwacom/libwacom-0.7.ebuild new file mode 100644 index 000000000000..4c5cbc026aba --- /dev/null +++ b/dev-libs/libwacom/libwacom-0.7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libwacom/libwacom-0.7.ebuild,v 1.1 2013/03/28 16:50:26 pacho Exp $ + +EAPI=4 + +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/udev[gudev]" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +src_prepare() { + if ! use doc; then + sed -e 's:^\(SUBDIRS = .* \)doc:\1:' -i Makefile.in || die "sed failed" + fi +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + local udevdir="$(udev_get_udevdir)" + dodir "${udevdir}/rules.d" + # generate-udev-rules must be run from inside tools directory + pushd tools > /dev/null + ./generate-udev-rules > "${ED}/${udevdir}/rules.d/65-libwacom.rules" || + die "generating udev rules failed" + popd > /dev/null + use doc && dohtml -r doc/html/* + prune_libtool_files +} |