mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
bluez: update to 5.21; added systemd build option (on).
This commit is contained in:
parent
8690954b86
commit
ae9412c429
1 changed files with 14 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'bluez'
|
# Template file for 'bluez'
|
||||||
pkgname=bluez
|
pkgname=bluez
|
||||||
version=5.20
|
version=5.21
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-udevdir=/usr/lib/udev
|
configure_args="--with-udevdir=/usr/lib/udev
|
||||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||||
--enable-pie --enable-threads --enable-library"
|
--enable-pie --enable-threads --enable-library"
|
||||||
hostmakedepends="automake libtool pkg-config flex"
|
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"
|
cups-devel libical-devel readline-devel>=6.3"
|
||||||
conf_files="/etc/bluetooth/main.conf"
|
conf_files="/etc/bluetooth/main.conf"
|
||||||
systemd_services="bluetooth.service true"
|
systemd_services="bluetooth.service true"
|
||||||
|
@ -16,7 +16,18 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.bluez.org/"
|
homepage="http://www.bluez.org/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
|
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() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue