2009-12-02 23:36:10 +00:00
|
|
|
# Template file for 'bluez'
|
|
|
|
pkgname=bluez
|
2012-06-24 17:23:21 +00:00
|
|
|
version=4.101
|
2012-10-10 15:12:59 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-07-09 15:56:12 +00:00
|
|
|
configure_args="--libexecdir=/usr/lib --enable-gstreamer --enable-dund
|
2012-10-10 15:12:59 +00:00
|
|
|
--enable-alsa --enable-usb --enable-tools --enable-bccmd
|
|
|
|
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand
|
|
|
|
--enable-cups --enable-pnat --enable-wiimote --disable-test
|
|
|
|
--with-systemdunitdir=/usr/lib/systemd/system --enable-sap
|
|
|
|
--enable-datafiles --enable-dbusoob --enable-health"
|
|
|
|
subpackages="bluez-alsa bluez-compat bluez-gstreamer
|
|
|
|
libbluetooth libbluetooth-devel"
|
|
|
|
makedepends="pkg-config flex libudev-devel>=183 readline-devel
|
|
|
|
dbus-devel glib-devel libusb-compat-devel libcap-ng-devel
|
|
|
|
gst-plugins-base-devel libsndfile-devel cups-devel"
|
2009-12-02 23:36:10 +00:00
|
|
|
short_desc="Bluetooth tools and daemons"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-11 06:35:45 +00:00
|
|
|
homepage="http://www.bluez.org/"
|
|
|
|
license="GPL-2"
|
2012-10-10 15:12:59 +00:00
|
|
|
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
|
2012-06-24 17:23:21 +00:00
|
|
|
checksum=41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d
|
2009-12-02 23:36:10 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains tools and system daemons for using Bluetooth devices.
|
|
|
|
|
|
|
|
BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
|
|
|
|
project distributed under GNU General Public License (GPL)."
|
|
|
|
|
2012-06-21 06:19:40 +00:00
|
|
|
systemd_services="bluetooth.service on"
|
2012-03-01 09:00:23 +00:00
|
|
|
make_dirs="/var/lib/bluetooth 0755 root root"
|
2009-12-02 23:36:10 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/bluetooth/main.conf
|
2011-10-25 12:08:30 +00:00
|
|
|
/etc/bluetooth/rfcomm.conf
|
2009-12-02 23:36:10 +00:00
|
|
|
/etc/bluetooth/network.conf
|
2011-10-25 12:08:30 +00:00
|
|
|
/etc/bluetooth/input.conf
|
|
|
|
/etc/bluetooth/audio.conf
|
|
|
|
/etc/bluetooth/serial.conf"
|
2009-12-02 23:36:10 +00:00
|
|
|
|
2012-01-14 07:21:45 +00:00
|
|
|
post_install() {
|
2011-12-20 10:26:48 +00:00
|
|
|
for f in network input audio serial; do
|
|
|
|
vinstall ${f}/${f}.conf 644 etc/bluetooth
|
|
|
|
done
|
|
|
|
vinstall scripts/bluetooth_serial 755 lib/udev
|
|
|
|
for f in simple-agent test-device test-input; do
|
|
|
|
vinstall test/${f} 755 usr/bin bluez-${f}
|
|
|
|
done
|
2011-10-11 01:15:42 +00:00
|
|
|
# systemd takes care of bluetoothd initialization.
|
2012-07-09 15:56:12 +00:00
|
|
|
rm -f ${DESTDIR}/usr/lib/udev/rules.d/97-bluetooth.rules
|
|
|
|
|
|
|
|
# Switch to /usr.
|
|
|
|
vmove "lib/*" usr/lib
|
|
|
|
|
2011-01-11 22:35:13 +00:00
|
|
|
}
|