ports/compat-32 (3.6): [notify] pipewire-32: clean up dependencies
commit 8b1258bb24623966ec561be047807e0386e717c2 Author: Danny Rawlins <contact@romster.me> Date: Wed Sep 1 20:40:32 2021 +1000 [notify] pipewire-32: clean up dependencies diff --git a/pipewire-32/.footprint b/pipewire-32/.footprint index 6184997..a19f83d 100644 --- a/pipewire-32/.footprint +++ b/pipewire-32/.footprint @@ -1,12 +1,19 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/lib32/ -drwxr-xr-x root/root usr/lib32/alsa-lib/ --rwxr-xr-x root/root usr/lib32/alsa-lib/libasound_module_ctl_pipewire.so --rwxr-xr-x root/root usr/lib32/alsa-lib/libasound_module_pcm_pipewire.so lrwxrwxrwx root/root usr/lib32/libpipewire-0.3.so -> libpipewire-0.3.so.0 lrwxrwxrwx root/root usr/lib32/libpipewire-0.3.so.0 -> libpipewire-0.3.so.0.334.0 -rwxr-xr-x root/root usr/lib32/libpipewire-0.3.so.0.334.0 drwxr-xr-x root/root usr/lib32/pipewire-0.3/ +drwxr-xr-x root/root usr/lib32/pipewire-0.3/jack/ +lrwxrwxrwx root/root usr/lib32/pipewire-0.3/jack/libjack.so -> libjack.so.0 +lrwxrwxrwx root/root usr/lib32/pipewire-0.3/jack/libjack.so.0 -> libjack.so.0.334.0 +-rwxr-xr-x root/root usr/lib32/pipewire-0.3/jack/libjack.so.0.334.0 +lrwxrwxrwx root/root usr/lib32/pipewire-0.3/jack/libjacknet.so -> libjacknet.so.0 +lrwxrwxrwx root/root usr/lib32/pipewire-0.3/jack/libjacknet.so.0 -> libjacknet.so.0.334.0 +-rwxr-xr-x root/root usr/lib32/pipewire-0.3/jack/libjacknet.so.0.334.0 +lrwxrwxrwx root/root usr/lib32/pipewire-0.3/jack/libjackserver.so -> libjackserver.so.0 +lrwxrwxrwx root/root usr/lib32/pipewire-0.3/jack/libjackserver.so.0 -> libjackserver.so.0.334.0 +-rwxr-xr-x root/root usr/lib32/pipewire-0.3/jack/libjackserver.so.0.334.0 -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-access.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-adapter.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-client-device.so @@ -21,7 +28,6 @@ drwxr-xr-x root/root usr/lib32/pipewire-0.3/ -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-protocol-native.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-protocol-pulse.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-protocol-simple.so --rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-pulse-tunnel.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-rt.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-rtkit.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-session-manager.so @@ -29,13 +35,10 @@ drwxr-xr-x root/root usr/lib32/pipewire-0.3/ -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-spa-device.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-spa-node-factory.so -rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-spa-node.so --rwxr-xr-x root/root usr/lib32/pipewire-0.3/libpipewire-module-zeroconf-discover.so drwxr-xr-x root/root usr/lib32/pkgconfig/ -rw-r--r-- root/root usr/lib32/pkgconfig/libpipewire-0.3.pc -rw-r--r-- root/root usr/lib32/pkgconfig/libspa-0.2.pc drwxr-xr-x root/root usr/lib32/spa-0.2/ -drwxr-xr-x root/root usr/lib32/spa-0.2/alsa/ --rwxr-xr-x root/root usr/lib32/spa-0.2/alsa/libspa-alsa.so drwxr-xr-x root/root usr/lib32/spa-0.2/audioconvert/ -rwxr-xr-x root/root usr/lib32/spa-0.2/audioconvert/libspa-audioconvert.so drwxr-xr-x root/root usr/lib32/spa-0.2/audiomixer/ diff --git a/pipewire-32/.signature b/pipewire-32/.signature index e47f810..6a51145 100644 --- a/pipewire-32/.signature +++ b/pipewire-32/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/compat-32.pub -RWSwxGo/zH7eXfFcL/i3uX1uSRUgg0OscWf967pIvwrK53ZUo18bm8fS+xZn1kHmXr+A0lRbl7fY9c2WKVeXJaJyiIwVJHqwoQs= -SHA256 (Pkgfile) = 2835da22e414ddbfadbefc94c0c3938ed841aa6aa0f25ace9cd231b41d8bceb1 -SHA256 (.footprint) = 792815ec3395578d1bf973a0f7beda2e8a89a812c91dbc55c10f742952b5fcd9 +RWSwxGo/zH7eXbYSQ76AFkPxRLFa07kNE2cVy5/O6BTDQI5BjwuTuefrkbEsfxAjdq0Dc09pyC6O3j4hcObWklDk3oLv12ltMQM= +SHA256 (Pkgfile) = 202b687d06e61ccd312bf4cb65450398138852de26fb2754a274a3a6273c3f15 +SHA256 (.footprint) = b9e6b2f45c8c880970dfa9c848ad99a04378bc6d8bd021ad52629e2a93b5267e SHA256 (pipewire-0.3.34.tar.gz) = 7934dd634fa2c6ef7f30c28bc33c102ac39e510dfbbbb4388906590b80b8c991 diff --git a/pipewire-32/Pkgfile b/pipewire-32/Pkgfile index 86780d0..19ce8d2 100644 --- a/pipewire-32/Pkgfile +++ b/pipewire-32/Pkgfile @@ -1,41 +1,45 @@ -# Description: Server and user space API to deal with multimedia pipelines +# Description: Low-latency audio/video router and processor - 32-bit client library # URL: https://pipewire.org # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu -# Depends on: alsa-utils-32 dbus-32 fdk-aac-32 ffmpeg-32 glib-32 lame-32 libva-32 libvpx-32 libwebp-32 x264-32 x265-32 -# Optional: alsa-ucm-conf-32 bluez-32 gst-plugins-base-32 jack-32 libldac-32 libopenaptx-32 pulseaudio-32 rtkit-32 v4l2-32 vulkan-loader-32 +# Depends on: alsa-lib-32 dbus-32 xorg-libxcb-32 pipewire +# Optional: jack-32 pulseaudio-32 vulkan-loader-32 avahi-32 libsdl2-32 libsndfile-32 name=pipewire-32 version=0.3.34 -release=2 +release=3 source=(https://github.com/PipeWire/pipewire/archive/$version/pipewire-$version.tar....) build() { - prt-get isinst jack-32 || PKGMK_PW+=' -Dpipewire-jack=disabled -Djack=disabled' - prt-get isinst vulkan-loader-32 || PKGMK_PW+=' -Dpipewire-vulkan=disabled -Dvulkan=disabled' - prt-get isinst bluez-32 || PKGMK_PW+=' -Dbluez5=disabled' - prt-get isinst v4l-utils-32 || PKGMK_PW+=' -Dv4l2=disabled' - prt-get isinst gstreamer-32 && prt-get isinst gst-plugins-base-32 || PKGMK_PW+=' -Dgstreamer=disabled' - [[ -e '/usr/lib32/libpulse-mainloop-glib.so' ]] || PKGMK_PW+=' -Dpipewire-pulseaudio=disabled' + prt-get isinst alsa-lib-32 && PKGMK_PW+=' -D alsa=enabled -D pipewire-alsa=enabled' + prt-get isinst dbus-32 && PKGMK_PW+=' -D dbus=enabled' + prt-get isinst jack-32 && PKGMK_PW+=' -D jack=enabled -D pipewire-jack=enabled' + prt-get isinst pulseaudio-32 && PKGMK_PW+=' -D libpulse=enabled' + prt-get isinst vulkan-loader-32 && PKGMK_PW+=' -D vulkan=enabled' + prt-get isinst avahi-32 && PKGMK_PW+=' -D avahi=enabled' + prt-get isinst libsdl2-32 && PKGMK_PW+=' -D libsdl2=enabled' + prt-get isinst libsndfile-32 && PKGMK_PW+=' -D libsndfile=enabled' + [[ -e '/usr/lib32/libpulse-mainloop-glib.so' ]] && PKGMK_PW+=' -D pipewire-pulseaudio=enabled' - meson setup pipewire-$version build $PKGMK_PW \ - -D prefix=/usr \ - --libdir=lib32 \ - --buildtype=plain \ - -D docs=disabled \ - -D tests=disabled - # will remove executable pipewire-media-session - # -D examples=false \ + meson setup pipewire-$version build $PKGMK_PW \ + -D prefix=/usr \ + --libdir=lib32 \ + --buildtype=plain \ + --auto-features=disabled \ + -D man=disabled \ + -D tests=disabled \ + -D examples=disabled \ + -D pw-cat=disabled \ + -D session-managers='[]' - meson compile -C build - DESTDIR=$PKG meson install -C build + meson compile -C build + DESTDIR=$PKG meson install -C build - # enable alsa by default - install -Dm644 /dev/null $PKG/usr/share/pipewire/media-session.d/with-alsa - mkdir -p $PKG/etc/alsa/conf.d - ln -st $PKG/etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf - ln -st $PKG/etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/50-pipewire.conf + # remove leftovers + rm -r $PKG/usr/{bin,include,share/locale,share/pipewire} - # remove leftovers - rm -r $PKG/usr/{bin,include,share} - rm -r $PKG/{etc,lib} + prt-get isinst alsa-lib-32 && \ + rm -r $PKG/usr/share/{alsa,alsa-card-profile} && \ + rm $PKG/lib/udev/rules.d/90-pipewire-alsa.rules + + find $PKG -type d -empty -delete }
participants (1)
-
crux@crux.nu