From 827d5c6d39edd789bcc81d7e42993ad41168e0e2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 May 2012 21:25:29 +0200 Subject: [PATCH] bluez: install systemd unit provided by bluez. --- srcpkgs/bluez/files/bluetooth.service | 10 ---------- srcpkgs/bluez/template | 6 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 srcpkgs/bluez/files/bluetooth.service diff --git a/srcpkgs/bluez/files/bluetooth.service b/srcpkgs/bluez/files/bluetooth.service deleted file mode 100644 index 16e92d49f39..00000000000 --- a/srcpkgs/bluez/files/bluetooth.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Bluetooth Manager - -[Service] -Type=dbus -BusName=org.bluez -ExecStart=/usr/sbin/bluetoothd -n - -[Install] -WantedBy=bluetooth.target diff --git a/srcpkgs/bluez/template b/srcpkgs/bluez/template index 3816650689b..5b580e8f327 100644 --- a/srcpkgs/bluez/template +++ b/srcpkgs/bluez/template @@ -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