gnome-bluetooth: fix rfkill for all users, from Arch.

This commit is contained in:
Juan RP 2011-04-09 11:33:27 +02:00
parent 131f8918d5
commit 30cd749fa5
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# Get access to /dev/rfkill for users
# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
#
# Updated for udev >= 154
# http://bugs.debian.org/582188
# https://bugzilla.redhat.com/show_bug.cgi?id=588660
ENV{ACL_MANAGE}=="0", GOTO="gnome_bluetooth_end"
ACTION!="add|change", GOTO="gnome_bluetooth_end"
KERNEL=="rfkill", TAG+="udev-acl"
LABEL="gnome_bluetooth_end"

View file

@ -1,6 +1,7 @@
# Template file for 'gnome-bluetooth'
pkgname=gnome-bluetooth
version=3.0.0
revision=1
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-desktop-update --disable-schemas-compile
@ -65,3 +66,9 @@ Add_dependency full gvfs
Add_dependency full obexd ">=0"
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils
post_install()
{
install -m644 -D ${FILESDIR}/61-gnome-bluetooth-rfkill.rules \
${DESTDIR}/lib/udev/rules.d//61-gnome-bluetooth-rfkill.rules
}