[crux-commits] ports/contrib (3.5): pipewire: initial commit, version 0.3.5

crux at crux.nu crux at crux.nu
Sun Jun 7 16:21:37 UTC 2020


commit e570016095de923b0345648c20b35083fda4261a
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jun 7 14:58:18 2020 +0000

    pipewire: initial commit, version 0.3.5

diff --git a/pipewire/.footprint b/pipewire/.footprint
new file mode 100644
index 000000000..3fb02f840
--- /dev/null
+++ b/pipewire/.footprint
@@ -0,0 +1,196 @@
+drwxr-xr-x	root/root	etc/
+drwxr-xr-x	root/root	etc/pipewire/
+-rw-r--r--	root/root	etc/pipewire/pipewire.conf
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/bin/
+-rwxr-xr-x	root/root	usr/bin/pipewire
+-rwxr-xr-x	root/root	usr/bin/pw-cli
+-rwxr-xr-x	root/root	usr/bin/pw-dot
+-rwxr-xr-x	root/root	usr/bin/pw-metadata
+-rwxr-xr-x	root/root	usr/bin/pw-mididump
+-rwxr-xr-x	root/root	usr/bin/pw-mon
+-rwxr-xr-x	root/root	usr/bin/pw-profiler
+-rwxr-xr-x	root/root	usr/bin/spa-inspect
+-rwxr-xr-x	root/root	usr/bin/spa-monitor
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/pipewire-0.3/
+drwxr-xr-x	root/root	usr/include/pipewire-0.3/pipewire/
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/array.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/buffers.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/client.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/context.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/control.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/core.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/data-loop.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/device.h
+drwxr-xr-x	root/root	usr/include/pipewire-0.3/pipewire/extensions/
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/client-node.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/metadata.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/profiler.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/protocol-native.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager.h
+drwxr-xr-x	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager/
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager/impl-interfaces.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager/interfaces.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager/introspect-funcs.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager/introspect.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/extensions/session-manager/keys.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/factory.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/filter.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/global.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-client.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-core.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-device.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-factory.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-link.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-module.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-node.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl-port.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/impl.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/keys.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/link.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/log.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/loop.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/main-loop.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/map.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/mem.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/module.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/node.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/permission.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/pipewire.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/port.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/properties.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/protocol.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/proxy.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/resource.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/stream.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/thread-loop.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/type.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/utils.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/version.h
+-rw-r--r--	root/root	usr/include/pipewire-0.3/pipewire/work-queue.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/buffer/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/buffer/alloc.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/buffer/buffer.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/buffer/meta.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/buffer/type-info.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/control/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/control/control.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/control/type-info.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/debug/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/buffer.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/dict.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/format.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/mem.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/node.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/pod.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/debug/types.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/graph/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/graph/graph.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/monitor/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/monitor/device.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/monitor/utils.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/node/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/command.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/event.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/io.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/keys.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/node.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/type-info.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/node/utils.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/param/
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/param/audio/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/audio/format-utils.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/audio/format.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/audio/layout.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/audio/raw.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/audio/type-info.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/format-utils.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/format.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/param.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/profiler.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/props.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/type-info.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/param/video/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/chroma.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/color.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/encoded.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/format-utils.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/format.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/multiview.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/raw.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/param/video/type-info.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/pod/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/builder.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/command.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/compare.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/event.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/filter.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/iter.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/parser.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/pod.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/pod/vararg.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/support/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/cpu.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/dbus.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/log-impl.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/log.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/loop.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/plugin.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/support/system.h
+drwxr-xr-x	root/root	usr/include/spa-0.2/spa/utils/
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/defs.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/dict.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/hook.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/keys.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/list.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/names.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/result.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/ringbuffer.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/type-info.h
+-rw-r--r--	root/root	usr/include/spa-0.2/spa/utils/type.h
+drwxr-xr-x	root/root	usr/lib/
+drwxr-xr-x	root/root	usr/lib/alsa-lib/
+-rwxr-xr-x	root/root	usr/lib/alsa-lib/libasound_module_pcm_pipewire.so
+lrwxrwxrwx	root/root	usr/lib/libpipewire-0.3.so -> libpipewire-0.3.so.0
+lrwxrwxrwx	root/root	usr/lib/libpipewire-0.3.so.0 -> libpipewire-0.3.so.0.305.0
+-rwxr-xr-x	root/root	usr/lib/libpipewire-0.3.so.0.305.0
+drwxr-xr-x	root/root	usr/lib/pipewire-0.3/
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-access.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-adapter.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-client-device.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-client-node.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-link-factory.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-metadata.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-profiler.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-protocol-native.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-rtkit.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-session-manager.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-spa-device-factory.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-spa-device.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-spa-node-factory.so
+-rwxr-xr-x	root/root	usr/lib/pipewire-0.3/libpipewire-module-spa-node.so
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/libpipewire-0.3.pc
+-rw-r--r--	root/root	usr/lib/pkgconfig/libspa-0.2.pc
+drwxr-xr-x	root/root	usr/lib/spa-0.2/
+drwxr-xr-x	root/root	usr/lib/spa-0.2/alsa/
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/alsa/libspa-alsa.so
+drwxr-xr-x	root/root	usr/lib/spa-0.2/audioconvert/
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/audioconvert/libspa-audioconvert.so
+drwxr-xr-x	root/root	usr/lib/spa-0.2/audiomixer/
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/audiomixer/libspa-audiomixer.so
+drwxr-xr-x	root/root	usr/lib/spa-0.2/control/
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/control/libspa-control.so
+drwxr-xr-x	root/root	usr/lib/spa-0.2/support/
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/support/libspa-dbus.so
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/support/libspa-support.so
+drwxr-xr-x	root/root	usr/lib/spa-0.2/videoconvert/
+-rwxr-xr-x	root/root	usr/lib/spa-0.2/videoconvert/libspa-videoconvert.so
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/alsa/
+drwxr-xr-x	root/root	usr/share/alsa/alsa.conf.d/
+-rw-r--r--	root/root	usr/share/alsa/alsa.conf.d/50-pipewire.conf
+-rw-r--r--	root/root	usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
diff --git a/pipewire/.signature b/pipewire/.signature
new file mode 100644
index 000000000..dd6c53784
--- /dev/null
+++ b/pipewire/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF32q3/gjx1Q9dWI7PSbL+Npxvf+KTrKbNbQiuqN8TRVUcvNi4+fWpQlzn2QmlvUsoLvlqau+qLqbfkrq0ds2euAE=
+SHA256 (Pkgfile) = f18248da3e89e286ed56d9431aac531484aeb23135f518a21811542283bffd27
+SHA256 (.footprint) = ac53f513ef0144a5f8c7a943d6bbc000c7c1fff2a0a5921b91519eccb7f2cd46
+SHA256 (pipewire-0.3.5.tar.gz) = c8cef9ce93dee328187b274e213dbecfe2df8ecc45bba2bc21d470112b2df3f6
diff --git a/pipewire/Pkgfile b/pipewire/Pkgfile
new file mode 100644
index 000000000..2c8849024
--- /dev/null
+++ b/pipewire/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Server and user space API to deal with multimedia pipelines
+# URL: https://pipewire.org
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: alsa-lib dbus fdk-aac ffmpeg glib gnutls lame libva libvpx libwebp meson ninja x264 x265
+
+name=pipewire
+version=0.3.5
+release=1
+source=(https://github.com/PipeWire/pipewire/archive/$version/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+
+  [[ -e /usr/lib/pkgconfig/jack.pc ]] || PKGMK_PW+=' -Dpipewire-jack=false -Djack=false'
+  [[ -e /usr/lib/pkgconfig/vulkan.pc ]] || PKGMK_PW+=' -Dpipewire-vulkan=false -Dvulkan=false'
+  [[ -e /usr/lib/pkgconfig/bluez.pc ]] || PKGMK_PW+=' -Dbluez5=false'
+  [[ -e /usr/lib/pkgconfig/libv4l2.pc ]] || PKGMK_PW+=' -Dv4l2=false'
+  [[ -e /usr/include/pulse/glib-mainloop.h ]] || PKGMK_PW+=' -Dpipewire-pulseaudio=false'
+  [[ -e /usr/lib/pkgconfig/gstreamer-1.0.pc ]] || PKGMK_PW+=' -Dgstreamer=false'
+
+  mkdir build && cd build
+  meson $PKGMK_PW \
+    -D prefix=/usr \
+    -D docs=false \
+    -D examples=false \
+    -D tests=false \
+    ..
+  ninja
+  DESTDIR=$PKG ninja install
+}
diff --git a/pipewire/README b/pipewire/README
new file mode 100644
index 000000000..91b9e3db8
--- /dev/null
+++ b/pipewire/README
@@ -0,0 +1,2 @@
+pipewire needs pulseaudio to be built with xorg-libxtst around to have the
+pulseaudio portal available


More information about the crux-commits mailing list