Created
September 12, 2015 04:37
-
-
Save hanetzer/c7d1e2bdf9631f5782f8 to your computer and use it in GitHub Desktop.
bluez-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Juan Diego Tascon | |
# Maintainer: Swift Geek | |
pkgname=bluez-git | |
pkgver=20130324 | |
pkgrel=1 | |
pkgdesc="Libraries and tools for the Bluetooth protocol stack" | |
url="http://www.bluez.org/" | |
arch=('i686' 'x86_64') | |
license=('GPL2') | |
depends=('dbus-core') | |
makedepends=('gstreamer0.10-base' 'libusb-compat' 'libnl' 'libsndfile') | |
optdepends=("gstreamer0.10-base: bluetooth GStreamer support" | |
"alsa-lib: Audio bluetooth devices support" | |
"dbus-python: to run bluez-simple-agent" | |
"pygobject: to run bluez-simple-agent" | |
"libusb-compat: USB adapters support" | |
"cups: CUPS backend" | |
"libnl: netlink plugin") | |
conflicts=('bluez' 'bluez-libs' 'bluez-utils') | |
provides=('bluez=4.97' 'bluez-libs' 'bluez-utils') | |
replaces=('bluez' 'bluez-libs' 'bluez-utils') | |
options=('!libtool' 'emptydirs') | |
backup=(etc/bluetooth/{proximity,input,network,audio,main,bluetooth}.conf | |
'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf') | |
source=('bluetooth.conf.d' | |
'rc.bluetooth' | |
'bluez::git://git.kernel.org/pub/scm/bluetooth/bluez.git') | |
md5sums=('7412982b440f29fa7f76a41a87fef985' | |
'8f9498707f809506928b2e480d3b6789' | |
'SKIP') | |
build() { | |
cd ${srcdir}/bluez | |
./bootstrap || return 1 | |
./configure --prefix=/usr \ | |
--sysconfdir=/etc \ | |
--localstatedir=/var \ | |
--libexecdir=/usr/lib \ | |
--enable-gstreamer \ | |
--enable-alsa \ | |
--enable-usb \ | |
--enable-tools \ | |
--enable-bccmd \ | |
--enable-dfutool \ | |
--enable-hid2hci \ | |
--enable-hidd \ | |
--enable-pand \ | |
--enable-dund \ | |
--enable-cups \ | |
--enable-library \ | |
--enable-wiimote | |
make | |
} | |
package() { | |
cd "${srcdir}/bluez" | |
make DESTDIR="${pkgdir}" install || return 1 | |
install -vDm755 "${srcdir}/rc.bluetooth" "${pkgdir}/etc/rc.d/bluetooth" | |
install -vd "${pkgdir}/etc/bluetooth" | |
install -vm644 profiles/*/*.conf "${pkgdir}/etc/bluetooth/" | |
install -vm644 src/*.conf "${pkgdir}/etc/bluetooth/" | |
install -vDm644 "${srcdir}/bluetooth.conf.d" "${pkgdir}/etc/conf.d/bluetooth" | |
# # FS#27630 | |
# cd test | |
# # Python bindings | |
# install -vd "${pkgdir}/usr/lib/python2.7/site-packages" | |
# install -vDm755 *.py "${pkgdir}/usr/lib/python2.7/site-packages" | |
# | |
# # Python untilities | |
# install -vDm755 simple-agent "${pkgdir}/usr/bin/bluez-simple-agent" | |
# for filename in test-*; | |
# do | |
# install -vDm755 "${filename}" "${pkgdir}/usr/bin/bluez-${filename}" | |
# done | |
# cd .. | |
# sed -i 's#/usr/bin/python#/usr/bin/python2#' "${pkgdir}/usr/bin/bluez"-* | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment