pulseaudio-32: clean up Pkgfile fix dependencies

This commit is contained in:
Danny Rawlins 2021-05-30 21:15:43 +10:00
parent 2fa8ae43e0
commit fe5f939254
3 changed files with 17 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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