gnome-bluetooth: new rfkill udev rules file (Fedora), simplify.
This commit is contained in:
parent
d1ba075b53
commit
9dd5c82e16
@ -1,6 +0,0 @@
|
|||||||
case "${ACTION}" in
|
|
||||||
post)
|
|
||||||
echo -n "Updating dynamic linker shared cache... "
|
|
||||||
ldconfig && echo "ok." || echo "FAILED!"
|
|
||||||
;;
|
|
||||||
esac
|
|
@ -1,6 +0,0 @@
|
|||||||
case "${ACTION}" in
|
|
||||||
post)
|
|
||||||
echo -n "Updating dynamic linker shared cache... "
|
|
||||||
ldconfig && echo "ok." || echo "FAILED!"
|
|
||||||
;;
|
|
||||||
esac
|
|
@ -1,11 +1,7 @@
|
|||||||
# Get access to /dev/rfkill for users
|
# Get access to /dev/rfkill for users
|
||||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
|
||||||
#
|
#
|
||||||
# Updated for udev >= 154
|
# Simplified by Kay Sievers
|
||||||
# http://bugs.debian.org/582188
|
# https://bugzilla.redhat.com/show_bug.cgi?id=733326
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=588660
|
|
||||||
|
|
||||||
ENV{ACL_MANAGE}=="0", GOTO="gnome_bluetooth_end"
|
KERNEL=="rfkill", SUBSYSTEM=="misc", TAG+="uaccess"
|
||||||
ACTION!="add|change", GOTO="gnome_bluetooth_end"
|
|
||||||
KERNEL=="rfkill", TAG+="udev-acl"
|
|
||||||
LABEL="gnome_bluetooth_end"
|
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
# Template file for 'gnome-bluetooth-devel'.
|
# Template file for 'gnome-bluetooth-devel'.
|
||||||
#
|
#
|
||||||
depends="gtk+3-devel glib-devel gnome-bluetooth>=3.4.0"
|
noarch=yes
|
||||||
|
depends="gtk+3-devel glib-devel gnome-bluetooth>=${version}"
|
||||||
short_desc="${sourcepkg} - development files"
|
short_desc="${sourcepkg} - development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
# Template file for 'gnome-bluetooth'
|
# Template file for 'gnome-bluetooth'
|
||||||
pkgname=gnome-bluetooth
|
pkgname=gnome-bluetooth
|
||||||
version=3.4.0
|
version=3.4.0
|
||||||
|
revision=1
|
||||||
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-desktop-update --disable-schemas-compile
|
configure_args="--disable-desktop-update --disable-schemas-compile --disable-icon-update"
|
||||||
--disable-icon-update"
|
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||||
|
subpackages="$pkgname-devel"
|
||||||
depends="dconf bluez gvfs obexd-client hicolor-icon-theme desktop-file-utils"
|
depends="dconf bluez gvfs obexd-client hicolor-icon-theme desktop-file-utils"
|
||||||
makedepends="which pkg-config intltool gnome-doc-utils gobject-introspection libXi-devel gtk+3-devel libnotify-devel nautilus-sendto-devel"
|
makedepends="which pkg-config intltool gnome-doc-utils gobject-introspection libXi-devel gtk+3-devel libnotify-devel nautilus-sendto-devel"
|
||||||
short_desc="The GNOME Bluetooth Subsystem"
|
short_desc="The GNOME Bluetooth Subsystem"
|
||||||
@ -22,15 +24,6 @@ long_desc="
|
|||||||
bluetooth-sendto is also included for sending files to Bluetooth devices
|
bluetooth-sendto is also included for sending files to Bluetooth devices
|
||||||
via OBEX."
|
via OBEX."
|
||||||
|
|
||||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
|
||||||
subpackages="$pkgname-devel"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/61-gnome-bluetooth-rfkill.rules \
|
vinstall ${FILESDIR}/61-gnome-bluetooth-rfkill.rules 644 lib/udev/rules.d
|
||||||
644 lib/udev/rules.d
|
|
||||||
vmkdir etc/ld.so.conf.d
|
|
||||||
echo "/usr/lib/gnome-bluetooth" > \
|
|
||||||
${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user