New package: wireplumber-0.3.95.
This commit is contained in:
parent
b5845e4be4
commit
739bb6c83d
3 changed files with 60 additions and 0 deletions
15
srcpkgs/wireplumber/patches/reallocarray.patch
Normal file
15
srcpkgs/wireplumber/patches/reallocarray.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
musl <1.2.2 doesn't have this function
|
||||||
|
|
||||||
|
diff --git a/lib/wpipc/utils.c b/lib/wpipc/utils.c
|
||||||
|
index 77754fd..e88b2e0 100644
|
||||||
|
--- a/lib/wpipc/utils.c
|
||||||
|
+++ b/lib/wpipc/utils.c
|
||||||
|
@@ -188,7 +188,7 @@ again:
|
||||||
|
/* realloc if we need more space, and read again */
|
||||||
|
if (n >= size) {
|
||||||
|
*max_size += *max_size;
|
||||||
|
- *buffer = reallocarray (*buffer, *max_size, sizeof (uint8_t));
|
||||||
|
+ *buffer = realloc (*buffer, *max_size);
|
||||||
|
offset += n;
|
||||||
|
goto again;
|
||||||
|
}
|
24
srcpkgs/wireplumber/patches/test.patch
Normal file
24
srcpkgs/wireplumber/patches/test.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
This test fails because it requires libspa-test to be in the pipewire package.
|
||||||
|
We can probably build it and even split into its own package, but I don't think
|
||||||
|
it's necessary for now.
|
||||||
|
|
||||||
|
https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/18
|
||||||
|
|
||||||
|
diff --git a/tests/modules/meson.build b/tests/modules/meson.build
|
||||||
|
index 3e695dc..f3a2087 100644
|
||||||
|
--- a/tests/modules/meson.build
|
||||||
|
+++ b/tests/modules/meson.build
|
||||||
|
@@ -27,13 +27,6 @@ test(
|
||||||
|
env: common_env,
|
||||||
|
)
|
||||||
|
|
||||||
|
-test(
|
||||||
|
- 'test-si-node',
|
||||||
|
- executable('test-si-node', 'si-node.c',
|
||||||
|
- dependencies: common_deps, c_args: common_args),
|
||||||
|
- env: common_env,
|
||||||
|
-)
|
||||||
|
-
|
||||||
|
test(
|
||||||
|
'test-si-audio-adapter',
|
||||||
|
executable('test-si-audio-adapter', 'si-audio-adapter.c',
|
21
srcpkgs/wireplumber/template
Normal file
21
srcpkgs/wireplumber/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'wireplumber'
|
||||||
|
pkgname=wireplumber
|
||||||
|
version=0.3.95
|
||||||
|
revision=1
|
||||||
|
build_style=meson
|
||||||
|
build_helper=gir
|
||||||
|
configure_args="-Dintrospection=enabled -Dsystem-lua=true -Dwpipc=enabled"
|
||||||
|
hostmakedepends="pkg-config glib-devel"
|
||||||
|
makedepends="libglib-devel pipewire-devel lua53-devel"
|
||||||
|
checkdepends="pipewire dbus"
|
||||||
|
short_desc="Session and policy manager implementation for PipeWire"
|
||||||
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://pipewire.pages.freedesktop.org/wireplumber"
|
||||||
|
distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
|
||||||
|
checksum=980a10986fea1ca7ff7daad41f467028db494741235697d4a09767236947d047
|
||||||
|
patch_args=-Np1
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue