[arch-commits] Commit in pulseaudio/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Oct 5 18:10:57 UTC 2020


    Date: Monday, October 5, 2020 @ 18:10:57
  Author: heftig
Revision: 397308

13.99.2+7+g6101798c7-1: split alsa-card-profiles

Modified:
  pulseaudio/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-05 18:10:54 UTC (rev 397307)
+++ PKGBUILD	2020-10-05 18:10:57 UTC (rev 397308)
@@ -1,9 +1,9 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgbase=pulseaudio
-pkgname=(pulseaudio libpulse pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer})
+pkgname=(pulseaudio libpulse alsa-card-profiles pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer})
 pkgdesc="A featureful, general-purpose sound server"
-pkgver=13.99.2+2+g410db7d21
+pkgver=13.99.2+7+g6101798c7
 pkgrel=1
 arch=(x86_64)
 url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
@@ -12,7 +12,7 @@
              speexdsp tdb systemd dbus avahi bluez bluez-libs jack2 sbc
              lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson
              xmltoman gst-plugins-base-libs)
-_commit=410db7d21651877dc15936f5449784e07b55fb01  # master
+_commit=6101798c7a4fa5b8ce7f5589706b03d87a3aee76  # master
 source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -30,6 +30,7 @@
 
 build() {
   arch-meson pulseaudio build \
+    -D alsadatadir=/usr/share/alsa-card-profile/mixer \
     -D pulsedsp-location='/usr/\$LIB/pulseaudio' \
     -D stream-restore-clear-old-devices=true \
     -D udevrulesdir=/usr/lib/udev/rules.d
@@ -52,8 +53,8 @@
 }
 
 package_pulseaudio() {
-  depends=("libpulse=$pkgver-$pkgrel" rtkit libltdl speexdsp tdb orc libsoxr
-           webrtc-audio-processing gst-plugins-base-libs)
+  depends=("libpulse=$pkgver-$pkgrel" alsa-card-profiles rtkit libltdl speexdsp
+           tdb orc libsoxr webrtc-audio-processing gst-plugins-base-libs)
   optdepends=('pulseaudio-alsa: ALSA configuration (recommended)')
   backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
   install=pulseaudio.install
@@ -95,6 +96,9 @@
   _pick libpulse usr/share/man/man5/pulse-client.conf.5
   _pick libpulse usr/share/vala
 
+### Split alsa-card-profiles
+  _pick alsa-card-profiles usr/share/alsa-card-profile
+
 ### Split modules
   local moddir=usr/lib/pulse-$pulsever/modules
 
@@ -125,6 +129,13 @@
   mv libpulse/* "$pkgdir"
 }
 
+package_alsa-card-profiles() {
+  pkgdesc="ALSA card profiles shared by PulseAudio"
+  license=(LGPL)
+
+  mv alsa-card-profiles/* "$pkgdir"
+}
+
 package_pulseaudio-zeroconf(){
   pkgdesc="Zeroconf support for PulseAudio"
   depends=("pulseaudio=$pkgver-$pkgrel" avahi openssl)



More information about the arch-commits mailing list