bluez: update to 5.21; added systemd build option (on).

This commit is contained in:
Juan RP 2014-07-28 13:12:29 +02:00
parent 8690954b86
commit ae9412c429

View file

@ -1,13 +1,13 @@
# Template file for 'bluez'
pkgname=bluez
version=5.20
version=5.21
revision=1
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 systemd-devel
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"
@ -16,7 +16,18 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.bluez.org/"
license="GPL-2"
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
checksum=531fbaa0a9baf7b1f76fb8fd8975c20d3cc61cdc772a39d63df1d6abfc2a7481
checksum=81eb073516f39ff1fa02fa40120e834f40fdb0b772f8f4153a9ab566cc0a1f4f
# Package build options
build_options="systemd"
build_options_default="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-systemd"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-systemd"
fi
pre_configure() {
autoreconf -fi