x11-drivers/xf86-input-vmmouse: Fix udev rule installation.
authorAndreas Kinzler <akinzler@gmx.de>
Sun, 29 Jan 2017 18:57:46 +0000 (10:57 -0800)
committerMatt Turner <mattst88@gentoo.org>
Sun, 29 Jan 2017 19:00:14 +0000 (11:00 -0800)
Bug: https://bugs.gentoo.org/565838

x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-13.1.0-r1.ebuild [new file with mode: 0644]
x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-9999.ebuild

diff --git a/x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-13.1.0-r1.ebuild b/x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-13.1.0-r1.ebuild
new file mode 100644 (file)
index 0000000..780b4ed
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit xorg-2
+
+DESCRIPTION="VMWare mouse input driver"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       x11-proto/randrproto"
+
+pkg_setup() {
+       XORG_CONFIGURE_OPTIONS=(
+               --with-hal-bin-dir=/punt
+               --with-hal-callouts-dir=/punt
+               --with-hal-fdi-dir=/punt
+               --with-udev-rules-dir=/lib/udev/rules.d
+       )
+
+       xorg-2_pkg_setup
+}
+
+src_install() {
+       xorg-2_src_install
+       rm -rf "${ED}"/punt
+}
index 942951afd8eaeb5517e0d6a22d4f0ed8cc793a0c..a478bb7a3f0b647a96ac372b2ad76995232ff738 100644 (file)
@@ -19,6 +19,7 @@ pkg_setup() {
                --with-hal-bin-dir=/punt
                --with-hal-callouts-dir=/punt
                --with-hal-fdi-dir=/punt
+               --with-udev-rules-dir=/lib/udev/rules.d
        )
 
        xorg-2_pkg_setup