[arch-commits] Commit in pulseaudio/repos/extra-x86_64 (4 files)
Jan Steffens
heftig at archlinux.org
Mon Nov 23 10:23:43 UTC 2020
Date: Monday, November 23, 2020 @ 10:23:42
Author: heftig
Revision: 401752
archrelease: copy trunk to extra-x86_64
Added:
pulseaudio/repos/extra-x86_64/PKGBUILD
(from rev 401751, pulseaudio/trunk/PKGBUILD)
pulseaudio/repos/extra-x86_64/pulseaudio.install
(from rev 401751, pulseaudio/trunk/pulseaudio.install)
Deleted:
pulseaudio/repos/extra-x86_64/PKGBUILD
pulseaudio/repos/extra-x86_64/pulseaudio.install
--------------------+
PKGBUILD | 380 +++++++++++++++++++++++++--------------------------
pulseaudio.install | 28 +--
2 files changed, 204 insertions(+), 204 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-23 10:23:22 UTC (rev 401751)
+++ PKGBUILD 2020-11-23 10:23:42 UTC (rev 401752)
@@ -1,190 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgbase=pulseaudio
-pkgname=(pulseaudio libpulse alsa-card-profiles pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer,rtp})
-pkgdesc="A featureful, general-purpose sound server"
-pkgver=13.99.3+4+gd83ad6990
-pkgrel=1
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
-license=(GPL)
-makedepends=(libasyncns libcap attr libxtst libsm libsndfile rtkit libsoxr
- speexdsp tdb systemd dbus avahi bluez bluez-libs jack2 sbc
- lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson
- xmltoman)
-_commit=d83ad6990e4b383dd08311fd6135556ba84e5847 # master
-source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd pulseaudio
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cd pulseaudio
-
- # Freeze version before patching
- ./git-version-gen doesnt-exist >.tarball-version
-}
-
-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
- meson compile -C build
-}
-
-check() {
- meson test -C build --print-errorlogs
- ninja -C build test-daemon
-}
-
-_pick() {
- local p="$1" f d; shift
- for f; do
- d="$srcdir/$p/${f#$pkgdir/}"
- mkdir -p "$(dirname "$d")"
- mv "$f" "$d"
- rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
- done
-}
-
-package_pulseaudio() {
- depends=("libpulse=$pkgver-$pkgrel" alsa-card-profiles rtkit libltdl speexdsp
- tdb orc libsoxr webrtc-audio-processing libxtst)
- optdepends=('pulseaudio-alsa: ALSA configuration (recommended)'
- 'pulseaudio-zeroconf: Zeroconf support'
- 'pulseaudio-lirc: IR (lirc) support'
- 'pulseaudio-jack: Jack support'
- 'pulseaudio-bluetooth: Bluetooth support'
- 'pulseaudio-equalizer: Graphical equalizer'
- 'pulseaudio-rtp: RTP and RAOP support')
- backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
- install=pulseaudio.install
- replaces=('pulseaudio-xen<=9.0' 'pulseaudio-gconf<=11.1')
-
- local pulsever=$(cd pulseaudio; ./git-version-gen .tarball-version)
- while [[ $pulsever = *.*.* ]]; do
- pulsever=${pulsever%.*}
- done
- pulsever=${pulsever%%-*}
-
- DESTDIR="$pkgdir" meson install -C build
-
- cd "$pkgdir"
-
- # Superseded by socket activation
- sed -e '/autospawn/iautospawn = no' \
- -i etc/pulse/client.conf
-
- # Disable cork-request module, can result in e.g. media players unpausing
- # when there's a Skype call incoming
- sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
- -i usr/bin/start-pulseaudio-x11
-
- # Required by qpaeq
- sed -e '/Load several protocols/aload-module module-dbus-protocol' \
- -i etc/pulse/default.pa
-
- rm -r etc/dbus-1
-
- # Split packages
- _pick libpulse etc/pulse/client.conf
- _pick libpulse usr/bin/pa{cat,ctl,dsp,mon,play,rec,record}
- _pick libpulse usr/lib/libpulse{,-simple,-mainloop-glib}.so*
- _pick libpulse usr/lib/{cmake,pkgconfig}
- _pick libpulse usr/lib/pulseaudio/libpulse{dsp,common-*}.so
- _pick libpulse usr/include
- _pick libpulse usr/share/man/man1/pa{cat,ctl,dsp,mon,play,rec,record}.1
- _pick libpulse usr/share/man/man5/pulse-client.conf.5
- _pick libpulse usr/share/vala
-
- _pick alsa-card-profiles usr/share/alsa-card-profile
-
- local moddir=usr/lib/pulse-$pulsever/modules
-
- _pick zeroconf $moddir/libavahi-wrap.so
- _pick zeroconf $moddir/module-zeroconf-{publish,discover}.so
- _pick zeroconf $moddir/module-raop-discover.so
-
- _pick lirc $moddir/module-lirc.so
-
- _pick jack $moddir/module-jack-{sink,source}.so
- _pick jack $moddir/module-jackdbus-detect.so
-
- _pick bluetooth $moddir/libbluez5-util.so
- _pick bluetooth $moddir/module-bluetooth-{discover,policy}.so
- _pick bluetooth $moddir/module-bluez5-{discover,device}.so
-
- _pick equalizer $moddir/module-equalizer-sink.so
- _pick equalizer usr/bin/qpaeq
-
- _pick rtp $moddir/lib{rtp,raop}.so
- _pick rtp $moddir/module-rtp-{send,recv}.so
- _pick rtp $moddir/module-raop-sink.so
-}
-
-package_libpulse() {
- pkgdesc="$pkgdesc (client library)"
- depends=(dbus libasyncns libcap libxcb libsm libsndfile systemd)
- optdepends=('glib2: mainloop integration')
- provides=(libpulse{,-simple,-mainloop-glib}.so)
- license=(LGPL)
- backup=(etc/pulse/client.conf)
-
- 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)
-
- mv zeroconf/* "$pkgdir"
-}
-
-package_pulseaudio-lirc(){
- pkgdesc="IR (lirc) support for PulseAudio"
- depends=("pulseaudio=$pkgver-$pkgrel" lirc)
-
- mv lirc/* "$pkgdir"
-}
-
-package_pulseaudio-jack(){
- pkgdesc="Jack support for PulseAudio"
- depends=("pulseaudio=$pkgver-$pkgrel" jack)
-
- mv jack/* "$pkgdir"
-}
-
-package_pulseaudio-bluetooth(){
- pkgdesc="Bluetooth support for PulseAudio"
- depends=("pulseaudio=$pkgver-$pkgrel" bluez bluez-libs sbc)
-
- mv bluetooth/* "$pkgdir"
-}
-
-package_pulseaudio-equalizer(){
- pkgdesc="Graphical equalizer for PulseAudio"
- depends=("pulseaudio=$pkgver-$pkgrel" python-{pyqt5,dbus} fftw)
-
- mv equalizer/* "$pkgdir"
-}
-
-package_pulseaudio-rtp(){
- pkgdesc="RTP and RAOP support for PulseAudio"
- depends=("pulseaudio=$pkgver-$pkgrel")
-
- mv rtp/* "$pkgdir"
-}
-
-# vim:set sw=2 et:
Copied: pulseaudio/repos/extra-x86_64/PKGBUILD (from rev 401751, pulseaudio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-23 10:23:42 UTC (rev 401752)
@@ -0,0 +1,190 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgbase=pulseaudio
+pkgname=(pulseaudio libpulse alsa-card-profiles pulseaudio-{zeroconf,lirc,jack,bluetooth,equalizer,rtp})
+pkgdesc="A featureful, general-purpose sound server"
+pkgver=13.99.3+14+geaa6d5d6c
+pkgrel=1
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/PulseAudio/"
+license=(GPL)
+makedepends=(libasyncns libcap attr libxtst libsm libsndfile rtkit libsoxr
+ speexdsp tdb systemd dbus avahi bluez bluez-libs jack2 sbc
+ lirc openssl fftw orc gtk3 webrtc-audio-processing check git meson
+ xmltoman)
+_commit=eaa6d5d6c1a707aec2c24d28dc8a1f5fa5a4c426 # master
+source=("git+https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd pulseaudio
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd pulseaudio
+
+ # Freeze version before patching
+ ./git-version-gen doesnt-exist >.tarball-version
+}
+
+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
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+ ninja -C build test-daemon
+}
+
+_pick() {
+ local p="$1" f d; shift
+ for f; do
+ d="$srcdir/$p/${f#$pkgdir/}"
+ mkdir -p "$(dirname "$d")"
+ mv "$f" "$d"
+ rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+ done
+}
+
+package_pulseaudio() {
+ depends=("libpulse=$pkgver-$pkgrel" alsa-card-profiles rtkit libltdl speexdsp
+ tdb orc libsoxr webrtc-audio-processing libxtst)
+ optdepends=('pulseaudio-alsa: ALSA configuration (recommended)'
+ 'pulseaudio-zeroconf: Zeroconf support'
+ 'pulseaudio-lirc: IR (lirc) support'
+ 'pulseaudio-jack: Jack support'
+ 'pulseaudio-bluetooth: Bluetooth support'
+ 'pulseaudio-equalizer: Graphical equalizer'
+ 'pulseaudio-rtp: RTP and RAOP support')
+ backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
+ install=pulseaudio.install
+ replaces=('pulseaudio-xen<=9.0' 'pulseaudio-gconf<=11.1')
+
+ local pulsever=$(cd pulseaudio; ./git-version-gen .tarball-version)
+ while [[ $pulsever = *.*.* ]]; do
+ pulsever=${pulsever%.*}
+ done
+ pulsever=${pulsever%%-*}
+
+ DESTDIR="$pkgdir" meson install -C build
+
+ cd "$pkgdir"
+
+ # Superseded by socket activation
+ sed -e '/autospawn/iautospawn = no' \
+ -i etc/pulse/client.conf
+
+ # Disable cork-request module, can result in e.g. media players unpausing
+ # when there's a Skype call incoming
+ sed -e 's|/usr/bin/pactl load-module module-x11-cork-request|#&|' \
+ -i usr/bin/start-pulseaudio-x11
+
+ # Required by qpaeq
+ sed -e '/Load several protocols/aload-module module-dbus-protocol' \
+ -i etc/pulse/default.pa
+
+ rm -r etc/dbus-1
+
+ # Split packages
+ _pick libpulse etc/pulse/client.conf
+ _pick libpulse usr/bin/pa{cat,ctl,dsp,mon,play,rec,record}
+ _pick libpulse usr/lib/libpulse{,-simple,-mainloop-glib}.so*
+ _pick libpulse usr/lib/{cmake,pkgconfig}
+ _pick libpulse usr/lib/pulseaudio/libpulse{dsp,common-*}.so
+ _pick libpulse usr/include
+ _pick libpulse usr/share/man/man1/pa{cat,ctl,dsp,mon,play,rec,record}.1
+ _pick libpulse usr/share/man/man5/pulse-client.conf.5
+ _pick libpulse usr/share/vala
+
+ _pick alsa-card-profiles usr/share/alsa-card-profile
+
+ local moddir=usr/lib/pulse-$pulsever/modules
+
+ _pick zeroconf $moddir/libavahi-wrap.so
+ _pick zeroconf $moddir/module-zeroconf-{publish,discover}.so
+ _pick zeroconf $moddir/module-raop-discover.so
+
+ _pick lirc $moddir/module-lirc.so
+
+ _pick jack $moddir/module-jack-{sink,source}.so
+ _pick jack $moddir/module-jackdbus-detect.so
+
+ _pick bluetooth $moddir/libbluez5-util.so
+ _pick bluetooth $moddir/module-bluetooth-{discover,policy}.so
+ _pick bluetooth $moddir/module-bluez5-{discover,device}.so
+
+ _pick equalizer $moddir/module-equalizer-sink.so
+ _pick equalizer usr/bin/qpaeq
+
+ _pick rtp $moddir/lib{rtp,raop}.so
+ _pick rtp $moddir/module-rtp-{send,recv}.so
+ _pick rtp $moddir/module-raop-sink.so
+}
+
+package_libpulse() {
+ pkgdesc="$pkgdesc (client library)"
+ depends=(dbus libasyncns libcap libxcb libsm libsndfile systemd)
+ optdepends=('glib2: mainloop integration')
+ provides=(libpulse{,-simple,-mainloop-glib}.so)
+ license=(LGPL)
+ backup=(etc/pulse/client.conf)
+
+ 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)
+
+ mv zeroconf/* "$pkgdir"
+}
+
+package_pulseaudio-lirc(){
+ pkgdesc="IR (lirc) support for PulseAudio"
+ depends=("pulseaudio=$pkgver-$pkgrel" lirc)
+
+ mv lirc/* "$pkgdir"
+}
+
+package_pulseaudio-jack(){
+ pkgdesc="Jack support for PulseAudio"
+ depends=("pulseaudio=$pkgver-$pkgrel" jack)
+
+ mv jack/* "$pkgdir"
+}
+
+package_pulseaudio-bluetooth(){
+ pkgdesc="Bluetooth support for PulseAudio"
+ depends=("pulseaudio=$pkgver-$pkgrel" bluez bluez-libs sbc)
+
+ mv bluetooth/* "$pkgdir"
+}
+
+package_pulseaudio-equalizer(){
+ pkgdesc="Graphical equalizer for PulseAudio"
+ depends=("pulseaudio=$pkgver-$pkgrel" python-{pyqt5,dbus} fftw)
+
+ mv equalizer/* "$pkgdir"
+}
+
+package_pulseaudio-rtp(){
+ pkgdesc="RTP and RAOP support for PulseAudio"
+ depends=("pulseaudio=$pkgver-$pkgrel")
+
+ mv rtp/* "$pkgdir"
+}
+
+# vim:set sw=2 et:
Deleted: pulseaudio.install
===================================================================
--- pulseaudio.install 2020-11-23 10:23:22 UTC (rev 401751)
+++ pulseaudio.install 2020-11-23 10:23:42 UTC (rev 401752)
@@ -1,14 +0,0 @@
-post_install() {
- # Enable socket by default
- systemctl --global enable pulseaudio.socket
-}
-
-post_upgrade() {
- if (( $(vercmp $2 8.0-3) < 0)); then
- systemctl --global enable pulseaudio.socket
- fi
-}
-
-pre_remove() {
- systemctl --global disable pulseaudio.socket
-}
Copied: pulseaudio/repos/extra-x86_64/pulseaudio.install (from rev 401751, pulseaudio/trunk/pulseaudio.install)
===================================================================
--- pulseaudio.install (rev 0)
+++ pulseaudio.install 2020-11-23 10:23:42 UTC (rev 401752)
@@ -0,0 +1,14 @@
+post_install() {
+ # Enable socket by default
+ systemctl --global enable pulseaudio.socket
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 8.0-3) < 0)); then
+ systemctl --global enable pulseaudio.socket
+ fi
+}
+
+pre_remove() {
+ systemctl --global disable pulseaudio.socket
+}
More information about the arch-commits
mailing list