1
0
forked from ports/contrib

wireplumber: initial commit, version 0.3.0

This commit is contained in:
Tim Biermann 2021-01-21 13:27:08 +00:00
parent 8d4d8f38b4
commit 784122db36
Signed by: tb
GPG Key ID: 42F8B4E30B673606
5 changed files with 187 additions and 0 deletions

91
wireplumber/.footprint Normal file
View File

@ -0,0 +1,91 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/wireplumber/
-rw-r--r-- root/root etc/wireplumber/00-audio-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/00-audio-source.endpoint
-rw-r--r-- root/root etc/wireplumber/00-default-input-audio.endpoint-link
-rw-r--r-- root/root etc/wireplumber/00-default-input-video.endpoint-link
-rw-r--r-- root/root etc/wireplumber/00-default-output-audio.endpoint-link
-rw-r--r-- root/root etc/wireplumber/00-default-output-video.endpoint-link
-rw-r--r-- root/root etc/wireplumber/00-stream-input-audio.endpoint
-rw-r--r-- root/root etc/wireplumber/00-stream-input-video.endpoint
-rw-r--r-- root/root etc/wireplumber/00-stream-output-audio.endpoint
-rw-r--r-- root/root etc/wireplumber/00-stream-output-video.endpoint
-rw-r--r-- root/root etc/wireplumber/00-video-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/00-video-source.endpoint
-rw-r--r-- root/root etc/wireplumber/05-audiotestsrc.endpoint
-rw-r--r-- root/root etc/wireplumber/10-alsa-audio-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/10-alsa-audio-source.endpoint
-rw-r--r-- root/root etc/wireplumber/11-hw:0,0-alsa-audio-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/11-hw:0,0-alsa-audio-source.endpoint
-rw-r--r-- root/root etc/wireplumber/15-usb-alsa-audio-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/15-usb-alsa-audio-source.endpoint
-rw-r--r-- root/root etc/wireplumber/20-bluez5-audio-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/20-bluez5-audio-source.endpoint
-rw-r--r-- root/root etc/wireplumber/20-jack-audio-sink.endpoint
-rw-r--r-- root/root etc/wireplumber/20-jack-audio-source.endpoint
-rw-r--r-- root/root etc/wireplumber/audio-sink.streams
-rw-r--r-- root/root etc/wireplumber/audiotestsrc.node.disabled
-rw-r--r-- root/root etc/wireplumber/jack.device
-rw-r--r-- root/root etc/wireplumber/midi.node
-rw-r--r-- root/root etc/wireplumber/videotestsrc.node.disabled
-rw-r--r-- root/root etc/wireplumber/wireplumber.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wireplumber
-rwxr-xr-x root/root usr/bin/wpctl
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/wireplumber-0.3/
drwxr-xr-x root/root usr/include/wireplumber-0.3/wp/
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/client.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/configuration.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/core.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/debug.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/defs.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/device.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/endpoint-link.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/endpoint-stream.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/endpoint.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/error.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/iterator.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/link.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/module.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/node.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/object-interest.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/object-manager.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/plugin.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/port.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/properties.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/props.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/proxy.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/session-bin.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/session-item.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/session.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/si-factory.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/si-interfaces.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/spa-pod.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/spa-type.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/transition.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/wp.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/wpenums.h
-rw-r--r-- root/root usr/include/wireplumber-0.3/wp/wpversion.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libwireplumber-0.3.so -> libwireplumber-0.3.so.0
lrwxrwxrwx root/root usr/lib/libwireplumber-0.3.so.0 -> libwireplumber-0.3.so.0.3.0
-rwxr-xr-x root/root usr/lib/libwireplumber-0.3.so.0.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/wireplumber-0.3.pc
drwxr-xr-x root/root usr/lib/wireplumber-0.3/
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-client-permissions.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-config-endpoint.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-config-policy.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-config-static-objects.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-device-activation.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-monitor.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-node-suspension.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-session-settings.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-si-adapter.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-si-audio-softdsp-endpoint.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-si-convert.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-si-monitor-endpoint.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-si-simple-node-endpoint.so
-rwxr-xr-x root/root usr/lib/wireplumber-0.3/libwireplumber-module-si-standard-link.so

6
wireplumber/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35Ncg8tc5ZknpjgyCw3OL1A/V0t/7FdmWtl4xgCc9jJVDaqxBFSgHCdYzhFB6vIQXvX83dpshDvQAc5wWGPuDwA=
SHA256 (Pkgfile) = b551cd2318235ba5b0022ca354cb4b424e3484c1776745fb50a1360d77cec92b
SHA256 (.footprint) = 0b6aa41d037acf1999732bea454b2abe86b921dbedc4eddb64fce8495cf81a3a
SHA256 (wireplumber-0.3.0.tar.bz2) = 83ab235a2e84a5372b3faff1f05102f6c2aa9c1aa325f31f179a976ce799320d
SHA256 (wireplumber-0.3.0-devendor_cpptoml.patch) = d32e0db56ab1404d9624edecfdf7f19e592c6ae27f99caf985c9f12d3b6eda2d

21
wireplumber/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Session / policy manager implementation for PipeWire
# URL: https://gitlab.freedesktop.org/pipewire/wireplumber
# Maintainer: Tim Biermann
# Depends on: cpptoml pipewire util-linux
name=wireplumber
version=0.3.0
release=1
source=(https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/$name-$version.tar.bz2
wireplumber-0.3.0-devendor_cpptoml.patch)
build() {
patch -Np1 -d $name-$version -i $SRC/wireplumber-0.3.0-devendor_cpptoml.patch
meson setup $name-$version build \
-D prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload
meson compile -C build
DESTDIR=$PKG meson install -C build
}

4
wireplumber/README Normal file
View File

@ -0,0 +1,4 @@
Please consider reading the following documentation if you want to exchange
pipewire-media-session with wireplumber:
https://pipewire.pages.freedesktop.org/wireplumber/daemon/running.html?gi-language=c

View File

@ -0,0 +1,65 @@
diff -ruN a/lib/wptoml/array.cpp b/lib/wptoml/array.cpp
--- a/lib/wptoml/array.cpp 2020-06-29 18:36:49.000000000 +0200
+++ b/lib/wptoml/array.cpp 2020-07-19 09:50:14.930311451 +0200
@@ -10,7 +10,7 @@
#include <functional>
/* CPPTOML */
-#include <include/cpptoml.h>
+#include <cpptoml.h>
/* TOML */
#include "private.h"
diff -ruN a/lib/wptoml/file.cpp b/lib/wptoml/file.cpp
--- a/lib/wptoml/file.cpp 2020-06-29 18:36:49.000000000 +0200
+++ b/lib/wptoml/file.cpp 2020-07-19 09:50:28.923522152 +0200
@@ -7,7 +7,7 @@
*/
/* CPPTOML */
-#include <include/cpptoml.h>
+#include <cpptoml.h>
/* TOML */
#include "private.h"
diff -ruN a/lib/wptoml/table.cpp b/lib/wptoml/table.cpp
--- a/lib/wptoml/table.cpp 2020-06-29 18:36:49.000000000 +0200
+++ b/lib/wptoml/table.cpp 2020-07-19 09:50:46.786698703 +0200
@@ -10,7 +10,7 @@
#include <functional>
/* CPPTOML */
-#include <include/cpptoml.h>
+#include <cpptoml.h>
/* TOML */
#include "private.h"
diff -ruN a/meson.build b/meson.build
--- a/meson.build 2020-06-29 18:36:49.000000000 +0200
+++ b/meson.build 2020-07-19 10:17:13.288978511 +0200
@@ -26,9 +26,13 @@
wireplumber_config_dir = join_paths(get_option('prefix'), get_option('sysconfdir'), 'wireplumber')
endif
-cmake = import('cmake')
-cpptoml = cmake.subproject('cpptoml')
-cpptoml_dep = cpptoml.dependency('cpptoml')
+if get_option('wrap_mode') == 'nodownload'
+ cpptoml_dep = dependency('cpptoml')
+else
+ cmake = import('cmake')
+ cpptoml = cmake.subproject('cpptoml')
+ cpptoml_dep = cpptoml.dependency('cpptoml')
+endif
gobject_dep = dependency('gobject-2.0', version : '>= 2.58')
gmodule_dep = dependency('gmodule-2.0', version : '== ' + gobject_dep.version())
diff -ruN a/subprojects/cpptoml.wrap b/subprojects/cpptoml.wrap
--- a/subprojects/cpptoml.wrap 2020-06-29 18:36:49.000000000 +0200
+++ b/subprojects/cpptoml.wrap 2020-07-19 10:16:27.232734437 +0200
@@ -1,4 +1,4 @@
[wrap-git]
directory=cpptoml
url=https://github.com/skystrife/cpptoml.git
-revision=master
+revision=v0.1.1