aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-11-07 21:58:19 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-11-08 10:23:32 +0000
commit1e15ed636990908ae282ac918e9efebf3411d2f3 (patch)
treef7d0f40520a80bbec8d97399c141f276945afdaa
parent0f48fe994fa53bb617adf960056d3863d83f7cd8 (diff)
downloadaports-1e15ed636990908ae282ac918e9efebf3411d2f3.tar.gz
aports-1e15ed636990908ae282ac918e9efebf3411d2f3.tar.bz2
aports-1e15ed636990908ae282ac918e9efebf3411d2f3.tar.xz
main/bluez: enable sixaxis plugin
This allows using PS3 controllers wirelessly
-rw-r--r--main/bluez/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/bluez/APKBUILD b/main/bluez/APKBUILD
index 4b103d15a6..e919eb0f21 100644
--- a/main/bluez/APKBUILD
+++ b/main/bluez/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bluez
pkgver=5.55
-pkgrel=0
+pkgrel=1
pkgdesc="Tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
arch="all"
@@ -24,6 +24,7 @@ subpackages="
$pkgname-hid2hci
$pkgname-meshctl
$pkgname-obexd
+ $pkgname-plugins
$pkgname-zsh-completion:zshcomp:noarch
"
source="https://www.kernel.org/pub/linux/bluetooth/bluez-$pkgver.tar.xz
@@ -61,7 +62,8 @@ build() {
--enable-library \
--enable-deprecated \
--enable-hid2hci \
- --enable-mesh
+ --enable-mesh \
+ --enable-sixaxis
make
}
@@ -138,6 +140,12 @@ obexd() {
mv "$pkgdir"/usr/lib/bluetooth/obexd "$subpkgdir"/usr/lib/bluetooth
}
+plugins() {
+ pkgdesc="Bluez plugins (PS3 Sixaxis controller)"
+ cd "$builddir"
+ make DESTDIR="$subpkgdir" install-pluginLTLIBRARIES
+}
+
zshcomp() {
depends=""
pkgdesc="Zsh compltions for $pkgname"