main/sxmo-common: new bluetooth-pulse subpackage (MR 3763)
Add easy support for pulseaudio bluetooth like we have for pipewire bluetooth. Will update docs when this is merged. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
f1ef7e279b
commit
41a8429257
1 changed files with 14 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Miles Alan <m@milesalan.com>
|
||||
pkgname=sxmo-common
|
||||
pkgver=1.13.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Simple Mobile: Core package to build custom SXMO desktop environments"
|
||||
url="http://sr.ht/~mil/Sxmo"
|
||||
arch="noarch !armhf"
|
||||
|
@ -53,7 +53,7 @@ depends="
|
|||
yt-dlp
|
||||
"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
|
||||
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth"
|
||||
subpackages="$pkgname-qt_tweaks $pkgname-bluetooth $pkgname-bluetoothpulse"
|
||||
source="
|
||||
sxmo-qt-mobile-controls.sh
|
||||
postmarketos.conf
|
||||
|
@ -91,6 +91,18 @@ bluetooth() {
|
|||
provides="postmarketos-ui-sxmo-bluetooth=$pkgver-r$pkgrel"
|
||||
}
|
||||
|
||||
bluetoothpulse() {
|
||||
depends="
|
||||
bluez
|
||||
pulseaudio-bluez
|
||||
!sxmo-common-bluetooth
|
||||
"
|
||||
replaces="bluez" # Autoenable controllers
|
||||
mkdir -p "$subpkgdir"/etc/bluetooth
|
||||
install -Dm644 "$srcdir"/postmarketos.conf \
|
||||
"$subpkgdir"/etc/bluetooth/main.conf
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bf8db527c49fa724e640a90269ba2648a2555f5867b2adbfbd88d1f685261f757339757c09ee08f590c76de4bd3d0c73a47dea9bd340644dd4707e76152cefd1 sxmo-qt-mobile-controls.sh
|
||||
cc4e4404b135ce484e0976b243973e39f1137aa9dd5e9297f767b2ea65b719ca82e84cc66cb093950ce330dbf786981ced2e5b0d16350deb5706a08ffccb4606 postmarketos.conf
|
||||
|
|
Loading…
Reference in a new issue