2009-12-03 00:36:10 +01:00
|
|
|
# Template file for 'bluez'
|
|
|
|
pkgname=bluez
|
2012-03-07 00:35:19 +01:00
|
|
|
version=4.99
|
2012-05-30 21:25:29 +02:00
|
|
|
revision=7
|
2012-01-14 08:21:45 +01:00
|
|
|
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-12-20 11:26:48 +01:00
|
|
|
configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund
|
2011-04-29 12:43:48 +02:00
|
|
|
--enable-alsa --enable-usb --enable-tools --enable-bccmd
|
2011-12-20 11:26:48 +01:00
|
|
|
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand
|
2012-05-30 21:25:29 +02:00
|
|
|
--enable-cups --enable-capng --enable-pnat --enable-wiimote --disable-test
|
|
|
|
--with-systemdunitdir=/lib/systemd/system"
|
2012-05-24 16:47:26 +02:00
|
|
|
subpackages="bluez-alsa bluez-compat bluez-gstreamer libbluetooth libbluetooth-devel"
|
2012-05-26 16:58:31 +02:00
|
|
|
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"
|
2009-12-03 00:36:10 +01:00
|
|
|
short_desc="Bluetooth tools and daemons"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-11 08:35:45 +02:00
|
|
|
homepage="http://www.bluez.org/"
|
|
|
|
license="GPL-2"
|
2012-03-07 00:35:19 +01:00
|
|
|
checksum=41889a91a5516eec26c4e59095ceea076de158b1ac38fd0ede9034596f511d3b
|
2009-12-03 00:36:10 +01: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-03-01 10:00:23 +01:00
|
|
|
make_dirs="/var/lib/bluetooth 0755 root root"
|
2009-12-03 00:36:10 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/bluetooth/main.conf
|
2011-10-25 14:08:30 +02:00
|
|
|
/etc/bluetooth/rfcomm.conf
|
2009-12-03 00:36:10 +01:00
|
|
|
/etc/bluetooth/network.conf
|
2011-10-25 14:08:30 +02:00
|
|
|
/etc/bluetooth/input.conf
|
|
|
|
/etc/bluetooth/audio.conf
|
|
|
|
/etc/bluetooth/serial.conf"
|
2009-12-03 00:36:10 +01:00
|
|
|
|
2012-01-14 08:21:45 +01:00
|
|
|
post_install() {
|
2011-12-20 11:26:48 +01: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 03:15:42 +02:00
|
|
|
# systemd takes care of bluetoothd initialization.
|
|
|
|
rm -f ${DESTDIR}/lib/udev/rules.d/97-bluetooth.rules
|
2011-01-11 23:35:13 +01:00
|
|
|
}
|