From fa786b02a3ac40e0d250e9f2fd3d8838afb8946c Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Thu, 18 Feb 2021 16:50:50 -0800 Subject: [PATCH] temp/wys: fork from alpine to build fixes for Librem5 call audio (MR 1960) This has upstreamed fixes for call audio on the L5, but upstream hasn't made a release yet. In the meantime, this is needed for calls to work on 5.11.0 and later kernels [ci:skip-build]: won't finish in time --- temp/wys/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ temp/wys/wys.desktop | 11 +++++++++++ 2 files changed, 45 insertions(+) create mode 100644 temp/wys/APKBUILD create mode 100644 temp/wys/wys.desktop diff --git a/temp/wys/APKBUILD b/temp/wys/APKBUILD new file mode 100644 index 000000000..7fc6d27dc --- /dev/null +++ b/temp/wys/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Clayton Craft +# Maintainer: Clayton Craft +pkgname=wys +pkgver=0.1.10_git20210214 +pkgrel=0 +pkgdesc="A daemon to bring up and take down PulseAudio loopbacks for phone call audio." +arch="all !mips64 !s390x" # blocked by modemmanager +url="https://source.puri.sm/Librem5/wys" +license="GPL-3.0-or-later" +makedepends="meson pulseaudio-dev glib-dev modemmanager-dev" +_commit=16b5c2813e135454506acb7df2c967f52592ea20 +source=" + $pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/wys/-/archive/$_commit/wys-$_commit.tar.gz + wys.desktop" +# $pkgname-$pkgver.tar.gz::https://source.puri.sm/Librem5/wys/-/archive/v$pkgver/wys-v$pkgver.tar.gz +# builddir=$srcdir/$pkgname-v$pkgver +builddir=$srcdir/$pkgname-$_commit + +build() { + abuild-meson build + meson compile ${JOBS:+-j ${JOBS}} -C build +} + +check() { + meson test --no-rebuild -v -C build +} + +package() { + DESTDIR="$pkgdir" meson install --no-rebuild -C build + install -D -m644 $srcdir/wys.desktop $pkgdir/etc/xdg/autostart/wys.desktop +} + +sha512sums="b132172eb15a99005e964d2d8afaf0bb1634fe25637e0cc17d63a9ef75f4ddd494d5ac14e242480e013b8342ee2858e997f8decc8b625a65a453928df773a85d wys-0.1.10_git20210214.tar.gz +0f67c24d9af727e803d5cdb2dc01c7d99a2bfe33414fdc29cf5ec34c5a308b3a5f65970832087310e25e4ba7dc706b5a1d1ae99ab595d7264e972047a08f71e4 wys.desktop" diff --git a/temp/wys/wys.desktop b/temp/wys/wys.desktop new file mode 100644 index 000000000..1284dc41f --- /dev/null +++ b/temp/wys/wys.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Wys +Name[es]=Wys +Comment=Daemon for managing PulseAudio for phone call audio +Comment[es]=Demonio para manejar PulseAudio por audio de llamadas telefónicas +Exec=/usr/bin/wys +NoDisplay=true +Terminal=false +Type=Application +StartupNotify=true +X-GNOME-AutoRestart=true