mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:07:13 +08:00
fix obex dbus activation issue
This commit is contained in:
parent
c3d185e804
commit
61699e63b6
@ -1,7 +1,7 @@
|
||||
pkgbase=bluez
|
||||
pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci' 'bluez-plugins')
|
||||
pkgver=5.35
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
url="http://www.bluez.org/"
|
||||
arch=('x86_64')
|
||||
license=('GPL2')
|
||||
@ -33,7 +33,7 @@ build() {
|
||||
--libexecdir=/usr/lib \
|
||||
--enable-sixaxis \
|
||||
--enable-experimental \
|
||||
--enable-library # this is deprecated only for legacy apps
|
||||
--enable-library # this is deprecated
|
||||
make
|
||||
}
|
||||
|
||||
@ -70,7 +70,10 @@ package_bluez() {
|
||||
cp -a doc/*.txt ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis/
|
||||
# fix module loading errors
|
||||
install -dm755 ${pkgdir}/usr/lib/modprobe.d
|
||||
install -Dm644 ${srcdir}/bluetooth.modprobe ${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf
|
||||
install -Dm644 ${srcdir}/bluetooth.modprobe ${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf
|
||||
|
||||
# fix obex file transfer - https://bugs.archlinux.org/task/45816
|
||||
ln -fs /usr/lib/systemd/user/obex.service ${pkgdir}/usr/lib/systemd/user/dbus-org.bluez.obex.service
|
||||
}
|
||||
|
||||
package_bluez-utils() {
|
||||
@ -142,4 +145,4 @@ package_bluez-plugins() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
make DESTDIR=${pkgdir} \
|
||||
install-pluginLTLIBRARIES
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user