bluez: re-add bluetoothd systemd service, previous patch didn't work.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# Template file for 'bluez'
|
||||
pkgname=bluez
|
||||
version=4.99
|
||||
revision=2
|
||||
revision=3
|
||||
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund
|
||||
--enable-alsa --enable-usb --enable-tools --enable-bccmd
|
||||
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand
|
||||
--enable-cups --enable-capng --enable-pnat --enable-wiimote
|
||||
--with-systemdsystemunitdir=/lib/systemd/system --disable-test"
|
||||
makedepends="automake>=1.11.3_1 pkg-config flex libudev-devel readline-devel gst-plugins-base-devel alsa-lib-devel dbus-devel glib-devel libusb-compat-devel libcap-ng-devel libsndfile-devel cups-devel"
|
||||
--enable-cups --enable-capng --enable-pnat --enable-wiimote --disable-test"
|
||||
subpackages="bluez-alsa bluez-compat bluez-gstreamer libbluetooth libbluetooth-devel"
|
||||
makedepends="pkg-config flex libudev-devel readline-devel gst-plugins-base-devel dbus-devel glib-devel libusb-compat-devel libcap-ng-devel libsndfile-devel cups-devel"
|
||||
short_desc="Bluetooth tools and daemons"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.bluez.org/"
|
||||
@@ -21,6 +21,7 @@ long_desc="
|
||||
BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
|
||||
project distributed under GNU General Public License (GPL)."
|
||||
|
||||
systemd_services="bluetooth.service on"
|
||||
make_dirs="/var/lib/bluetooth 0755 root root"
|
||||
conf_files="
|
||||
/etc/bluetooth/main.conf
|
||||
@@ -30,15 +31,8 @@ conf_files="
|
||||
/etc/bluetooth/audio.conf
|
||||
/etc/bluetooth/serial.conf"
|
||||
|
||||
subpackages="$pkgname-alsa $pkgname-compat $pkgname-gstreamer libbluetooth"
|
||||
subpackages="$subpackages libbluetooth-devel"
|
||||
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/bluetooth.service 644 lib/systemd/system
|
||||
for f in network input audio serial; do
|
||||
vinstall ${f}/${f}.conf 644 etc/bluetooth
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user