From fe5f93925437239c653a0e3ce41129a6cf6952f3 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sun, 30 May 2021 21:15:43 +1000 Subject: [PATCH] pulseaudio-32: clean up Pkgfile fix dependencies --- pulseaudio-32/.footprint | 14 ++------------ pulseaudio-32/.signature | 6 +++--- pulseaudio-32/Pkgfile | 22 ++++++++++++---------- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/pulseaudio-32/.footprint b/pulseaudio-32/.footprint index e1bcfae2..5be5ddf4 100644 --- a/pulseaudio-32/.footprint +++ b/pulseaudio-32/.footprint @@ -4,9 +4,6 @@ drwxr-xr-x root/root usr/lib32/cmake/ drwxr-xr-x root/root usr/lib32/cmake/PulseAudio/ -rw-r--r-- root/root usr/lib32/cmake/PulseAudio/PulseAudioConfig.cmake -rw-r--r-- root/root usr/lib32/cmake/PulseAudio/PulseAudioConfigVersion.cmake -lrwxrwxrwx root/root usr/lib32/libpulse-mainloop-glib.so -> libpulse-mainloop-glib.so.0 -lrwxrwxrwx root/root usr/lib32/libpulse-mainloop-glib.so.0 -> libpulse-mainloop-glib.so.0.0.6 --rwxr-xr-x root/root usr/lib32/libpulse-mainloop-glib.so.0.0.6 lrwxrwxrwx root/root usr/lib32/libpulse-simple.so -> libpulse-simple.so.0 lrwxrwxrwx root/root usr/lib32/libpulse-simple.so.0 -> libpulse-simple.so.0.1.1 -rwxr-xr-x root/root usr/lib32/libpulse-simple.so.0.1.1 @@ -14,7 +11,6 @@ lrwxrwxrwx root/root usr/lib32/libpulse.so -> libpulse.so.0 lrwxrwxrwx root/root usr/lib32/libpulse.so.0 -> libpulse.so.0.23.0 -rwxr-xr-x root/root usr/lib32/libpulse.so.0.23.0 drwxr-xr-x root/root usr/lib32/pkgconfig/ --rw-r--r-- root/root usr/lib32/pkgconfig/libpulse-mainloop-glib.pc -rw-r--r-- root/root usr/lib32/pkgconfig/libpulse-simple.pc -rw-r--r-- root/root usr/lib32/pkgconfig/libpulse.pc drwxr-xr-x root/root usr/lib32/pulse-14.2/ @@ -26,6 +22,7 @@ drwxr-xr-x root/root usr/lib32/pulse-14.2/modules/ -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/libprotocol-http.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/libprotocol-native.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/libprotocol-simple.so +-rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/libraop.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/librtp.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-allow-passthrough.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-alsa-card.so @@ -49,7 +46,6 @@ drwxr-xr-x root/root usr/lib32/pulse-14.2/modules/ -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-echo-cancel.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-filter-apply.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-filter-heuristics.so --rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-gsettings.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-hal-detect.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-http-protocol-tcp.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-http-protocol-unix.so @@ -67,6 +63,7 @@ drwxr-xr-x root/root usr/lib32/pulse-14.2/modules/ -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-pipe-sink.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-pipe-source.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-position-event-sounds.so +-rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-raop-sink.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-remap-sink.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-remap-source.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-rescue-streams.so @@ -92,13 +89,6 @@ drwxr-xr-x root/root usr/lib32/pulse-14.2/modules/ -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-virtual-source.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-virtual-surround-sink.so -rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-volume-restore.so --rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-x11-bell.so --rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-x11-cork-request.so --rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-x11-publish.so --rwxr-xr-x root/root usr/lib32/pulse-14.2/modules/module-x11-xsmp.so -drwxr-xr-x root/root usr/lib32/pulseaudio-32/ -drwxr-xr-x root/root usr/lib32/pulseaudio-32/pulse/ --rwxr-xr-x root/root usr/lib32/pulseaudio-32/pulse/gsettings-helper drwxr-xr-x root/root usr/lib32/pulseaudio/ -rwxr-xr-x root/root usr/lib32/pulseaudio/libpulsecommon-14.2.so -rwxr-xr-x root/root usr/lib32/pulseaudio/libpulsecore-14.2.so diff --git a/pulseaudio-32/.signature b/pulseaudio-32/.signature index 6f798992..56b7e0a2 100644 --- a/pulseaudio-32/.signature +++ b/pulseaudio-32/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/compat-32.pub -RWSwxGo/zH7eXQNKxwKSSj5kkQ+dwtBiEb0csPtOOO95xgKCBoW6tFFc1IguNcj5fFS1hk2IBiYfWWJOusS1t+ZictgWncYiSwA= -SHA256 (Pkgfile) = 21b753f7be1336496a605cc79d812c496f2d5641262a27924018aa566ccc0d4a -SHA256 (.footprint) = 7b83fd22a4b4f1ef84501b9acb8bd09b27e3b175f862f15a48f11f284d406c2f +RWSwxGo/zH7eXaShG5S91KA/kv9BdyoOY1O6Ed2G6nh3g6pBIKyABa54HyMSNjG4zbBwbcRg5F8zSelADzSfyyByzwnIpWyVigU= +SHA256 (Pkgfile) = e6eece2148916cffb3919971a3dc591bd6c37ae54b956df1194e01e362e74478 +SHA256 (.footprint) = 6283b151bc1cc5f0f990f8edaee9eb0ffa968e26d0b5ab097e60fce4e00f38cc SHA256 (pulseaudio-14.2.tar.xz) = 75d3f7742c1ae449049a4c88900e454b8b350ecaa8c544f3488a2562a9ff66f1 diff --git a/pulseaudio-32/Pkgfile b/pulseaudio-32/Pkgfile index b084d163..6ede3b96 100644 --- a/pulseaudio-32/Pkgfile +++ b/pulseaudio-32/Pkgfile @@ -1,21 +1,17 @@ # Description: PulseAudio is a cross-platform, networked sound server # URL: https://www.freedesktop.org/wiki/Software/PulseAudio/ # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu -# Depends on: dbus-32 libsndfile-32 gdbm-32 meson ninja xorg-libxtst-32 xorg-libice-32 xorg-libsm-32 libsamplerate-32 gstreamer-32 gst-plugins-base-32 pulseaudio libtool-32 -# Optional: avahi bluez fftw glib orc sbc speexdsp +# Depends on: dbus-32 eudev-32 gdbm-32 libcap-32 libsndfile-32 libtool-32 openssl-32 opus-32 orc-32 pulseaudio speexdsp-32 flac-32 libvorbis-32 libogg-32 +# Optional: avahi-32 bluez-32 fftw-32 glib-32 sbc-32 gst-plugins-base-32 name=pulseaudio-32 version=14.2 -release=1 +release=2 source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz) build() { - [[ -e /usr/lib/pkgconfig/bluez.pc ]] || PKGMK_PULSEAUDIO+=' -Dbluez5=false' - [[ -e /usr/lib/pkgconfig/xtst.pc ]] || PKGMK_PULSEAUDIO+=' -Dman=false' - [[ -e /usr/lib/pkgconfig/bash-completion.pc ]] || PKGMK_PULSEAUDIO+=' -Dbashcompletiondir=no' - [[ -e "/usr/bin/zsh" || -e "/bin/zsh" ]] || PKGMK_PULSEAUDIO+=' -Dzshcompletiondir=no' - [[ -e /usr/lib/pkgconfig/gstreamer-1.0.pc ]] && PKGMK_PULSEAUDIO+=' -Dgstreamer=enabled' - [[ -e /usr/lib/pkgconfig/samplerate.pc ]] && PKGMK_PULSEAUDIO+=' -Dsamplerate=enabled' + prt-get isinst bluez-32 || PKGMK_PULSEAUDIO+=' -D bluez5=false' + prt-get isinst gstreamer-32 && prt-get isinst gst-plugins-base-32 || PKGMK_PULSEAUDIO+=' -D gstreamer=disabled' sed -i -e '/doxygen/d' pulseaudio-$version/meson.build @@ -26,7 +22,13 @@ build() { -D buildtype=plain \ -D udevrulesdir=/etc/udev/rules.d \ -D database=gdbm \ - -D tests=false + -D tests=false \ + -D speex=enabled \ + -D adrian-aec=false \ + -D bashcompletiondir=no \ + -D zshcompletiondir=no \ + -D man=false + meson compile -C build DESTDIR=$PKG meson install -C build