bluez: install systemd unit provided by bluez.

This commit is contained in:
Juan RP 2012-05-30 21:25:29 +02:00
parent 777538ba71
commit 827d5c6d39
2 changed files with 3 additions and 13 deletions

View file

@ -1,10 +0,0 @@
[Unit]
Description=Bluetooth Manager
[Service]
Type=dbus
BusName=org.bluez
ExecStart=/usr/sbin/bluetoothd -n
[Install]
WantedBy=bluetooth.target

View file

@ -1,13 +1,14 @@
# Template file for 'bluez'
pkgname=bluez
version=4.99
revision=6
revision=7
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 --disable-test"
--enable-cups --enable-capng --enable-pnat --enable-wiimote --disable-test
--with-systemdunitdir=/lib/systemd/system"
subpackages="bluez-alsa bluez-compat bluez-gstreamer libbluetooth libbluetooth-devel"
makedepends="pkg-config flex libudev-devel>=183 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"
@ -31,7 +32,6 @@ conf_files="
/etc/bluetooth/serial.conf"
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