summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Brill (egore) <egore@gmx.de>2008-02-16 01:14:04 +0000
committerChristoph Brill (egore) <egore@gmx.de>2008-02-16 01:14:04 +0000
commitbe875acde5e7915659627e4dd035d979bc141ff5 (patch)
tree865398e48f6040ca4a889f90fe109334b8b165e3 /x11-drivers
parentdev-libs/libwiimote: Add patch to build with --as-needed LDFLAGS (diff)
downloadsunrise-be875acde5e7915659627e4dd035d979bc141ff5.tar.gz
sunrise-be875acde5e7915659627e4dd035d979bc141ff5.tar.bz2
sunrise-be875acde5e7915659627e4dd035d979bc141ff5.zip
x11-drivers/xf86-input-wiimote: New Ebuild for bug 210312
svn path=/sunrise/; revision=5663
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-input-wiimote/ChangeLog9
-rw-r--r--x11-drivers/xf86-input-wiimote/Manifest5
-rw-r--r--x11-drivers/xf86-input-wiimote/files/xf86-input-wiimote-0.0.1-libwiimote.patch19
-rw-r--r--x11-drivers/xf86-input-wiimote/metadata.xml5
-rw-r--r--x11-drivers/xf86-input-wiimote/xf86-input-wiimote-0.0.1.ebuild26
5 files changed, 64 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-wiimote/ChangeLog b/x11-drivers/xf86-input-wiimote/ChangeLog
new file mode 100644
index 000000000..dfd89409b
--- /dev/null
+++ b/x11-drivers/xf86-input-wiimote/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for x11-drivers/xf86-input-wiimote
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 16 Feb 2008; Christoph Brill (egore) egore@gmx.de
+ +files/xf86-input-wiimote-0.0.1-libwiimote.patch, +metadata.xml,
+ +xf86-input-wiimote-0.0.1.ebuild:
+ New Ebuild for bug 210312
+
diff --git a/x11-drivers/xf86-input-wiimote/Manifest b/x11-drivers/xf86-input-wiimote/Manifest
new file mode 100644
index 000000000..b4297bab0
--- /dev/null
+++ b/x11-drivers/xf86-input-wiimote/Manifest
@@ -0,0 +1,5 @@
+AUX xf86-input-wiimote-0.0.1-libwiimote.patch 596 RMD160 2e923cf488b1618c31497fc7dbfbd286d38bad86 SHA1 3dfdf76700749e6eb6fcfe6d5ba7f045fc42d95b SHA256 98ef15b64261c255c43aa1c71641bcdae7b6b0c53beb0e16ad39d8a29d2736da
+DIST xf86-input-wiimote-0.0.1.tar.bz2 221032 RMD160 41aebf17a22a2d90a38bf6ec0dc3d4850fcb02be SHA1 2dead1e6d9b6291849f98ae606f575b725ffb0c9 SHA256 40237e4539af81ab9c18e967454bf72e797b30264541e79116220d120d7ed09a
+EBUILD xf86-input-wiimote-0.0.1.ebuild 608 RMD160 838c88fcddaa1b6db6e93063cf37fecfcd9b5725 SHA1 077c286e9b291a8db649b1b5e4c17aec8cc64e0c SHA256 ae8ec17b8cce31f4d51c94e081961b2e999ad8d20c574bc1b1e702cf71f9a19c
+MISC ChangeLog 315 RMD160 034e81a3df54fbdbdd400f0ae8df8d2ab37a376e SHA1 32d558e399a087434602514441616748a1410c9f SHA256 a6c98b40f4ae04776808722986565b4e02e4a78e60ff4115feb66dd04b7bb883
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/x11-drivers/xf86-input-wiimote/files/xf86-input-wiimote-0.0.1-libwiimote.patch b/x11-drivers/xf86-input-wiimote/files/xf86-input-wiimote-0.0.1-libwiimote.patch
new file mode 100644
index 000000000..2fb34b480
--- /dev/null
+++ b/x11-drivers/xf86-input-wiimote/files/xf86-input-wiimote-0.0.1-libwiimote.patch
@@ -0,0 +1,19 @@
+--- configure.ac.org 2007-12-18 04:37:59.000000000 +0100
++++ configure.ac 2008-02-16 02:03:11.000000000 +0100
+@@ -59,10 +59,14 @@
+ PKG_CHECK_MODULES(XORG, xorg-server xproto $REQUIRED_MODULES)
+ sdkdir=$(pkg-config --variable=sdkdir xorg-server)
+
+-LIBS="-lcwiimote"
++PKG_CHECK_MODULES(libwiimote, [libwiimote >= 0.4.0])
++AC_SUBST(libwiimote_CFLAGS)
++AC_SUBST(libwiimote_LIBS)
++
++LIBS="$libwiimote_LIBS"
+ AC_SUBST([LIBS])
+
+-CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
++CFLAGS="$CFLAGS $XORG_CFLAGS $libwiimote_CFLAGS"' -I$(top_srcdir)/src'
+ AC_SUBST([CFLAGS])
+
+ # Checks for libraries.
diff --git a/x11-drivers/xf86-input-wiimote/metadata.xml b/x11-drivers/xf86-input-wiimote/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/x11-drivers/xf86-input-wiimote/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-input-wiimote/xf86-input-wiimote-0.0.1.ebuild b/x11-drivers/xf86-input-wiimote/xf86-input-wiimote-0.0.1.ebuild
new file mode 100644
index 000000000..41eaf90f0
--- /dev/null
+++ b/x11-drivers/xf86-input-wiimote/xf86-input-wiimote-0.0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+#XDPVER=4
+
+inherit x-modular autotools eutils
+
+DESCRIPTION="X.Org driver for Wiimote input devices"
+HOMEPAGE="http://people.freedesktop.org/~whot/wiimote/"
+SRC_URI="http://people.freedesktop.org/~whot/wiimote/${P}.tar.bz2"
+
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+RDEPEND=">=x11-base/xorg-server-1.0.99"
+DEPEND="${RDEPEND}
+ dev-libs/libwiimote
+ x11-proto/inputproto"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-libwiimote.patch"
+ eautoreconf || die "eautoreconf failed"
+}