git subrepo clone --branch=master https://aur.archlinux.org/bluez-utils-compat
subrepo: subdir: "bluez-utils-compat" merged: "0c663fc" upstream: origin: "https://aur.archlinux.org/bluez-utils-compat" branch: "master" commit: "0c663fc" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
This commit is contained in:
parent
b4b18659d9
commit
6517fdbe98
34
bluez-utils-compat/.SRCINFO
Normal file
34
bluez-utils-compat/.SRCINFO
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
pkgbase = bluez-utils-compat
|
||||||
|
pkgdesc = Development and debugging utilities for the bluetooth protocol stack. Includes deprecated tools.
|
||||||
|
pkgver = 5.55
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://www.bluez.org/
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
arch = mips64el
|
||||||
|
arch = armv6h
|
||||||
|
arch = armv7h
|
||||||
|
arch = arm
|
||||||
|
arch = aarch64
|
||||||
|
license = GPL2
|
||||||
|
makedepends = dbus
|
||||||
|
makedepends = libical
|
||||||
|
makedepends = systemd
|
||||||
|
makedepends = alsa-lib
|
||||||
|
makedepends = json-c
|
||||||
|
makedepends = ell
|
||||||
|
depends = dbus
|
||||||
|
depends = systemd
|
||||||
|
depends = glib2
|
||||||
|
optdepends = ell: for btpclient
|
||||||
|
provides = bluez-hcidump
|
||||||
|
provides = bluez-utils=5.55
|
||||||
|
provides = bluez-hcitool
|
||||||
|
conflicts = bluez-hcidump
|
||||||
|
conflicts = bluez-utils
|
||||||
|
conflicts = bluez-hcitool
|
||||||
|
source = https://www.kernel.org/pub/linux/bluetooth/bluez-5.55.tar.xz
|
||||||
|
sha256sums = 8863717113c4897e2ad3271fc808ea245319e6fd95eed2e934fae8e0894e9b88
|
||||||
|
|
||||||
|
pkgname = bluez-utils-compat
|
||||||
|
|
12
bluez-utils-compat/.gitrepo
Normal file
12
bluez-utils-compat/.gitrepo
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
; DO NOT EDIT (unless you know what you are doing)
|
||||||
|
;
|
||||||
|
; This subdirectory is a git "subrepo", and this file is maintained by the
|
||||||
|
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
|
||||||
|
;
|
||||||
|
[subrepo]
|
||||||
|
remote = https://aur.archlinux.org/bluez-utils-compat
|
||||||
|
branch = master
|
||||||
|
commit = 0c663fce561ac410869943fe0f7c4a21adb554c5
|
||||||
|
parent = b4b18659d9d7674536381c4b107e80b405085661
|
||||||
|
method = merge
|
||||||
|
cmdver = 0.4.3
|
72
bluez-utils-compat/PKGBUILD
Normal file
72
bluez-utils-compat/PKGBUILD
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# Maintainer: twa022 <twa022 at gmail dot com>
|
||||||
|
# Contributor: David Thurstenson <thurstylark@gmail.com>
|
||||||
|
# Contributor: Tom Gundersen <teg@jklm.no>
|
||||||
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||||
|
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
|
||||||
|
|
||||||
|
pkgname='bluez-utils-compat'
|
||||||
|
_pkgbase='bluez'
|
||||||
|
pkgver=5.55
|
||||||
|
pkgrel=1
|
||||||
|
url="http://www.bluez.org/"
|
||||||
|
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h' 'arm' 'aarch64')
|
||||||
|
license=('GPL2')
|
||||||
|
pkgdesc="Development and debugging utilities for the bluetooth protocol stack. Includes deprecated tools."
|
||||||
|
depends=('dbus' 'systemd' 'glib2')
|
||||||
|
makedepends=('dbus' 'libical' 'systemd' 'alsa-lib' 'json-c' 'ell')
|
||||||
|
optdepends=('ell: for btpclient')
|
||||||
|
conflicts=('bluez-hcidump' 'bluez-utils' 'bluez-hcitool')
|
||||||
|
provides=('bluez-hcidump' "bluez-utils=${pkgver}" 'bluez-hcitool')
|
||||||
|
source=(https://www.kernel.org/pub/linux/bluetooth/"${_pkgbase}-${pkgver}".tar.xz) #{xz,sign}
|
||||||
|
# see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
|
||||||
|
sha256sums=('8863717113c4897e2ad3271fc808ea245319e6fd95eed2e934fae8e0894e9b88')
|
||||||
|
#validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann <marcel@holtmann.org>
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${_pkgbase}-${pkgver}"
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--libexecdir=/usr/lib \
|
||||||
|
--with-dbusconfdir=/usr/share \
|
||||||
|
--enable-btpclient \
|
||||||
|
--enable-midi \
|
||||||
|
--enable-sixaxis \
|
||||||
|
--enable-hid2hci \
|
||||||
|
--enable-mesh \
|
||||||
|
--enable-experimental \
|
||||||
|
--enable-library \
|
||||||
|
--enable-deprecated # to enable deprectated tools
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "${_pkgbase}-${pkgver}"
|
||||||
|
# tests segfault and hang
|
||||||
|
# make check || /bin/true # https://bugzilla.kernel.org/show_bug.cgi?id=196621
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_pkgbase}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" \
|
||||||
|
install-binPROGRAMS \
|
||||||
|
install-man1
|
||||||
|
|
||||||
|
# add missing tools FS#41132, FS#41687, FS#42716
|
||||||
|
for _dir in tools attrib ; do
|
||||||
|
for _files in $( find "$_dir"/ -type f -perm -755 ); do
|
||||||
|
_filename="$( basename "${_files}" )"
|
||||||
|
install -Dm755 "${srcdir}/${_pkgbase}-${pkgver}/${_dir}/${_filename}" "${pkgdir}/usr/bin/${_filename}"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
|
||||||
|
#make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
|
||||||
|
#rmdir ${pkgdir}/usr/lib
|
||||||
|
rm -rf "${pkgdir}"/usr/lib
|
||||||
|
|
||||||
|
# move the hid2hci man page out
|
||||||
|
rm "${pkgdir}"/usr/share/man/man1/hid2hci.1
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user