bluez: move systemd related settings to the systemd option.
This commit is contained in:
parent
482dd4f7f9
commit
c4bbcf2bc4
1 changed files with 3 additions and 4 deletions
|
@ -1,16 +1,14 @@
|
|||
# Template file for 'bluez'
|
||||
pkgname=bluez
|
||||
version=5.21
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-udevdir=/usr/lib/udev
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
--enable-pie --enable-threads --enable-library"
|
||||
hostmakedepends="automake libtool pkg-config flex"
|
||||
makedepends="libglib-devel libudev-devel>=183 dbus-devel
|
||||
cups-devel libical-devel readline-devel>=6.3"
|
||||
conf_files="/etc/bluetooth/main.conf"
|
||||
systemd_services="bluetooth.service true"
|
||||
short_desc="Bluetooth tools and daemons"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.bluez.org/"
|
||||
|
@ -22,8 +20,9 @@ checksum=81eb073516f39ff1fa02fa40120e834f40fdb0b772f8f4153a9ab566cc0a1f4f
|
|||
build_options="systemd"
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --enable-systemd"
|
||||
configure_args+=" --enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
makedepends+=" systemd-devel"
|
||||
systemd_services="bluetooth.service true"
|
||||
else
|
||||
configure_args+=" --disable-systemd"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue