Index: x11-drivers/xf86-input-multitouch/xf86-input-multitouch-9999.ebuild |
diff --git a/x11-drivers/xf86-input-multitouch/xf86-input-multitouch-9999.ebuild b/x11-drivers/xf86-input-multitouch/xf86-input-multitouch-9999.ebuild |
new file mode 100644 |
index 0000000000000000000000000000000000000000..508fec3525bb5e5d5c5ce71b14b63fbf478a5921 |
--- /dev/null |
+++ b/x11-drivers/xf86-input-multitouch/xf86-input-multitouch-9999.ebuild |
@@ -0,0 +1,33 @@ |
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
+# Distributed under the terms of the GNU General Public License v2 |
+ |
+EAPI=2 |
+ |
+inherit toolchain-funcs cros-workon |
+ |
+DESCRIPTION="Multitouch Xorg Xinput driver." |
+HOMEPAGE="http://bitmath.org/code/multitouch/" |
+CROS_WORKON_LOCALNAME="multitouch" |
+LICENSE="GPL" |
+SLOT="0" |
+IUSE="" |
+KEYWORDS="~arm ~x86" |
+ |
+RDEPEND="x11-base/xorg-server |
+ x11-libs/mtdev |
+ x11-libs/pixman" |
+DEPEND="${RDEPEND}" |
+ |
+src_compile() { |
+ tc-export CC CXX AR RANLIB LD NM |
+ |
+ export CCFLAGS="$CFLAGS" |
+ CFLAGS="${CFLAGS} -I${SYSROOT}/usr/include/pixman-1" |
+ |
+ emake || die "compile failed" |
+} |
+ |
+src_install() { |
+ insinto /usr/lib/xorg/modules/input |
+ doins obj/multitouch.so |
+} |