45 lines
1.6 KiB
Text
45 lines
1.6 KiB
Text
# Special package with additional patch to make it work on the pinephone. Can be removed
|
|
# once that's upstreamed to Purism or another solution has been implemented.
|
|
#
|
|
# differences with upsteam wys:
|
|
# * added patch for switching pulse profiles
|
|
# * added pulseaudio-utils dependency for pactl command
|
|
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
pkgname=wys-pinephone
|
|
pkgver=0.1.7
|
|
pkgrel=1
|
|
pkgdesc="A daemon to bring up and take down PulseAudio loopbacks for phone call audio."
|
|
arch="all"
|
|
url="https://source.puri.sm/Librem5/wys"
|
|
license="GPL-3.0-or-later"
|
|
depends="pulseaudio-utils"
|
|
makedepends="
|
|
glib-dev
|
|
meson
|
|
modemmanager-dev
|
|
pulseaudio-dev
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/wys/-/archive/v$pkgver/wys-v$pkgver.tar.gz
|
|
0001-Simplify-daemon-to-only-switch-card-profiles.patch
|
|
wys.desktop
|
|
"
|
|
|
|
builddir="$srcdir/wys-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C output
|
|
install -D -m644 $srcdir/wys.desktop $pkgdir/etc/xdg/autostart/wys.desktop
|
|
}
|
|
|
|
sha512sums="81a9f97cced2ceee0823bf3e45bb8fd6b79d8ae6d8fb1b459f8a5e24ebde0884899924c5af601466317ff397246028aafeec97504179f54c78e83eee7f322437 wys-pinephone-0.1.7.tar.gz
|
|
ad825ad3e47f5cb7cc188ef845ed37654c591669d4d3b7733fd5242057a1b613618599f776ebe86d0c8ee6254c78b68a69f01e8b0483c31e302cec41700f92b6 0001-Simplify-daemon-to-only-switch-card-profiles.patch
|
|
0f67c24d9af727e803d5cdb2dc01c7d99a2bfe33414fdc29cf5ec34c5a308b3a5f65970832087310e25e4ba7dc706b5a1d1ae99ab595d7264e972047a08f71e4 wys.desktop"
|