git » pipewire.git » commit e848d53

0.3.13-2: split alsa-card-profiles

author Jan Alexander Steffens
2020-10-05 18:10:54 UTC
committer Jan Alexander Steffens
2020-10-05 18:10:54 UTC
parent 0c771c0fb8e1eb057e14e6a87bf3f11d4ed0f020

0.3.13-2: split alsa-card-profiles

PKGBUILD +5 -1

diff --git a/PKGBUILD b/PKGBUILD
index fccb7cd..fa77b70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgbase=pipewire
 pkgname=(pipewire pipewire-docs pipewire-jack pipewire-pulse pipewire-alsa)
 pkgver=0.3.13
-pkgrel=1
+pkgrel=2
 pkgdesc="Server and user space API to deal with multimedia pipelines"
 url="https://pipewire.org"
 license=(LGPL2.1)
@@ -50,6 +50,7 @@ _ver=${pkgver:0:3}
 
 package_pipewire() {
   depends=(gstreamer gst-plugins-base sbc rtkit vulkan-icd-loader bluez-libs
+           alsa-card-profiles
            libdbus-1.so libsndfile.so libudev.so libasound.so libsystemd.so
            libglib-2.0.so libgobject-2.0.so)
   optdepends=('pipewire-docs: Documentation'
@@ -72,6 +73,9 @@ package_pipewire() {
 
   _pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack
   _pick jack usr/lib/spa-0.2/jack
+
+  # Use alsa-card-profiles built with Pulseaudio
+  rm -rv "$pkgdir"/usr/share/alsa-card-profile
 }
 
 package_pipewire-docs() {