diff --git a/alsa-plugins/.signature b/alsa-plugins/.signature index 718cc5e9f..ebd1526a9 100644 --- a/alsa-plugins/.signature +++ b/alsa-plugins/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/bffW9OL1TqhLP/frzs0OjGR4AYodsyrOuE4SWjM6C0MW9C3VVkXuX2Nj5wqAWyEWPrC59BsaLRGn51l9f4uJwM= -SHA256 (Pkgfile) = 48136acf51ffcffd1329e5761f8bfa0e7560f4c416876a0f340586c50948d021 +RWSE3ohX2g5d/fBa21N9xHCtNDGVvIl8bO4n7reXrGwyGZw4JpRrappbsiBzyyyRjvhlrFoepsElrvWUnRsZYVYCBrWJMr+hiwc= +SHA256 (Pkgfile) = 027e2886f1c383ec57f6238501d84d391be971ab1b77d435d1d0f5233deb0f3c SHA256 (.footprint) = 37c6522ccf4fc33353130b3d087e57e708fa82ba482d47d2a584d8bfa8ba823d SHA256 (alsa-plugins-1.2.7.1.tar.bz2) = 8c337814954bb7c167456733a6046142a2931f12eccba3ec2a4ae618a3432511 +SHA256 (pulse-sysdefault.diff) = d8c59b891e2913619d057ffea308293d73892b16fa5a01583d056e372e55309d diff --git a/alsa-plugins/Pkgfile b/alsa-plugins/Pkgfile index 91bae5f59..601fb68d1 100644 --- a/alsa-plugins/Pkgfile +++ b/alsa-plugins/Pkgfile @@ -1,19 +1,22 @@ -# Description: ALSA Plugins contains plugins for various audio libraries and sound servers. -# URL: http://www.alsa-project.org/ -# Maintainer: Danny Rawlins, crux at romster dot me +# Description: ALSA Plugins contains plugins for various audio libraries and sound servers +# URL: https://www.alsa-project.org/wiki/Main_Page +# Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: alsa-lib -# Optional: ffmpeg speex jack libsamplerate +# Optional: dbus ffmpeg jack libsamplerate pulseaudio speexdsp name=alsa-plugins version=1.2.7.1 -release=1 -source=(ftp://ftp.alsa-project.org/pub/plugins/$name-$version.tar.bz2) +release=2 +source=(ftp://ftp.alsa-project.org/pub/plugins/$name-$version.tar.bz2 + pulse-sysdefault.diff) build() { - cd $name-$version + cd $name-$version - ./configure --prefix=/usr --sysconfdir=/etc + patch -Np1 -i $SRC/pulse-sysdefault.diff - make - make DESTDIR=$PKG install + ./configure --prefix=/usr --sysconfdir=/etc + + make + make DESTDIR=$PKG install } diff --git a/alsa-plugins/pulse-sysdefault.diff b/alsa-plugins/pulse-sysdefault.diff new file mode 100644 index 000000000..4ecd45f85 --- /dev/null +++ b/alsa-plugins/pulse-sysdefault.diff @@ -0,0 +1,17 @@ +diff -u -r alsa-plugins-1.2.2/pulse/99-pulseaudio-default.conf.example alsa-plugins-1.2.2-pulse-sysdefault/pulse/99-pulseaudio-default.conf.example +--- alsa-plugins-1.2.2/pulse/99-pulseaudio-default.conf.example 2020-02-19 09:35:42.000000000 +0000 ++++ alsa-plugins-1.2.2-pulse-sysdefault/pulse/99-pulseaudio-default.conf.example 2020-05-13 10:04:28.446568563 +0000 +@@ -2,6 +2,7 @@ + + pcm.!default { + type pulse ++ fallback "sysdefault" + hint { + show on + description "Default ALSA Output (currently PulseAudio Sound Server)" +@@ -10,4 +11,5 @@ + + ctl.!default { + type pulse ++ fallback "sysdefault" + }