summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2011-01-11 07:17:51 +0000
committerFabio Erculiani <lxnay@gentoo.org>2011-01-11 07:17:51 +0000
commitb473f03d331ed7d0bf9c6b02ef93a0ef85966670 (patch)
tree3bf935fff36051c66f978a81aa099efefbe9696a
parentVersion bump. Import from perl-experimental (diff)
downloadgentoo-2-b473f03d331ed7d0bf9c6b02ef93a0ef85966670.tar.gz
gentoo-2-b473f03d331ed7d0bf9c6b02ef93a0ef85966670.tar.bz2
gentoo-2-b473f03d331ed7d0bf9c6b02ef93a0ef85966670.zip
add dodoc, implement udev rules, remove useless bluetooth use flag, close bug #351227, thanks to Jouni Rinne
(Portage version: 2.1.9.28/cvs/Linux x86_64)
-rw-r--r--app-misc/cwiid/ChangeLog11
-rw-r--r--app-misc/cwiid/cwiid-20110107-r1.ebuild (renamed from app-misc/cwiid/cwiid-20110107.ebuild)13
-rw-r--r--app-misc/cwiid/files/60-cwiid.rules2
3 files changed, 19 insertions, 7 deletions
diff --git a/app-misc/cwiid/ChangeLog b/app-misc/cwiid/ChangeLog
index 8bf795342787..271df7879ae1 100644
--- a/app-misc/cwiid/ChangeLog
+++ b/app-misc/cwiid/ChangeLog
@@ -1,6 +1,13 @@
-# ChangeLog for x11-drivers/cwiid
+# ChangeLog for app-misc/cwiid
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cwiid/ChangeLog,v 1.1 2011/01/07 14:44:44 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cwiid/ChangeLog,v 1.2 2011/01/11 07:17:51 lxnay Exp $
+
+*cwiid-20110107-r1 (11 Jan 2011)
+
+ 11 Jan 2011; Fabio Erculiani <lxnay@gentoo.org> +files/60-cwiid.rules,
+ -cwiid-20110107.ebuild, +cwiid-20110107-r1.ebuild:
+ add dodoc, implement udev rules, remove useless bluetooth use flag, close
+ bug #351227, thanks to Jouni Rinne
*cwiid-20110107 (07 Jan 2011)
diff --git a/app-misc/cwiid/cwiid-20110107.ebuild b/app-misc/cwiid/cwiid-20110107-r1.ebuild
index 0509ea8d118d..1299390d8bee 100644
--- a/app-misc/cwiid/cwiid-20110107.ebuild
+++ b/app-misc/cwiid/cwiid-20110107-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cwiid/cwiid-20110107.ebuild,v 1.1 2011/01/07 14:44:44 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cwiid/cwiid-20110107-r1.ebuild,v 1.1 2011/01/11 07:17:51 lxnay Exp $
EAPI="3"
@@ -23,16 +23,16 @@ HOMEPAGE="http://abstrakraft.org/cwiid"
LICENSE="GPL-2"
SLOT="0"
-IUSE="python bluetooth"
+IUSE="python"
DEPEND="sys-apps/gawk
sys-apps/sed
sys-devel/bison
>=sys-devel/flex-2.5.35"
-RDEPEND="bluetooth? ( net-wireless/bluez )
- python? ( >=dev-lang/python-2.4 )
- x11-libs/gtk+:2"
+RDEPEND="net-wireless/bluez
+ x11-libs/gtk+:2
+ python? ( >=dev-lang/python-2.4 )"
pkg_setup() {
CONFIG_CHECK="BT_L2CAP INPUT_UINPUT"
@@ -63,4 +63,7 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ insinto /etc/udev/rules.d
+ doins "${FILESDIR}/60-${PN}.rules"
}
diff --git a/app-misc/cwiid/files/60-cwiid.rules b/app-misc/cwiid/files/60-cwiid.rules
new file mode 100644
index 000000000000..80689062a871
--- /dev/null
+++ b/app-misc/cwiid/files/60-cwiid.rules
@@ -0,0 +1,2 @@
+# make possible to use cwiid device as user
+KERNEL=="uinput", MODE="0660", GROUP="plugdev"