summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--99-noavrcp.conf4
-rw-r--r--PKGBUILD14
3 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..4f4ae91189f6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = bluez-systemd-noavrcp-git
+ pkgdesc = systemd drop-in configuration to disable bluetooth avrcp plugin
+ pkgver = 1
+ pkgrel = 1
+ arch = any
+ license = GPL
+ depends = bluez
+ source = 99-noavrcp.conf
+ b2sums = 8c67ad76f85484575563dc52d21798366eece08fb39c02d470c64665dd6c11a3703b51d2b8425f25774d96e4adb3914c1598c8fa1a7a39619c8fc2f87d0f1f30
+
+pkgname = bluez-systemd-noavrcp-git
+
diff --git a/99-noavrcp.conf b/99-noavrcp.conf
new file mode 100644
index 000000000000..789c1c7ce90d
--- /dev/null
+++ b/99-noavrcp.conf
@@ -0,0 +1,4 @@
+# Drop-in Config: Disable AVRCP Plugin
+[Service]
+ExecStart=
+ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=avrcp
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..f97b62cacc1e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,14 @@
+# Maintainer: DuckSoft <realducksoft@gmail.com>
+pkgname=bluez-systemd-noavrcp-git
+pkgver=1
+pkgrel=1
+pkgdesc="systemd drop-in configuration to disable bluetooth avrcp plugin"
+arch=(any)
+license=('GPL')
+depends=(bluez)
+source=(99-noavrcp.conf)
+b2sums=('8c67ad76f85484575563dc52d21798366eece08fb39c02d470c64665dd6c11a3703b51d2b8425f25774d96e4adb3914c1598c8fa1a7a39619c8fc2f87d0f1f30')
+
+package() {
+ install -Dm644 99-noavrcp.conf -t $pkgdir/etc/systemd/system/bluetooth.service.d/
+}