Compare commits
11
Commits
9bd1b222d7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79b34ac714
|
||
|
|
bbb01d1d42
|
||
|
|
303e77261d
|
||
|
|
4882622f28
|
||
|
|
1d685b4265
|
||
|
|
f35f648716
|
||
|
|
61e42ac4c2
|
||
|
|
972f362e4b
|
||
|
|
f8019c4de9
|
||
|
|
1b9cb2eac3
|
||
|
|
e2e6c01dd3
|
@@ -0,0 +1,92 @@
|
||||
name: pipewire
|
||||
description: Low-latency audio/video router and processor
|
||||
version: 1.6.8
|
||||
revision: 1
|
||||
url: https://pipewire.org/
|
||||
license: LGPL2.1-or-later,MIT
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
make_depends:
|
||||
- alsa-lib
|
||||
- avahi
|
||||
- bluez
|
||||
- bzip2
|
||||
- dbus
|
||||
- doxygen
|
||||
- gcc-libs
|
||||
- glib
|
||||
- glibc
|
||||
- graphviz
|
||||
- gst-plugins-base
|
||||
- libcanberra
|
||||
- libfdk-aac
|
||||
- liblc3
|
||||
- libldac
|
||||
- libsndfile
|
||||
- libpulse
|
||||
- libusb
|
||||
- libx11
|
||||
- libxfixes
|
||||
- ncurses
|
||||
- meson
|
||||
- opus
|
||||
- python-docutils
|
||||
- python-packaging
|
||||
- readline
|
||||
- rtkit
|
||||
- sbc
|
||||
- sdl2-compat
|
||||
- valgrind
|
||||
- desktop-file-utils
|
||||
downloads:
|
||||
- url: https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${BPM_PKG_VERSION}/pipewire-${BPM_PKG_VERSION}.tar.bz2
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: efbaedf80450e5b08bb3196a4ca7ea17850d4a71ec1a8ae321e8937a7c95779e
|
||||
split_packages:
|
||||
- name: pipewire
|
||||
depends:
|
||||
- alsa-lib
|
||||
- gcc-libs
|
||||
- dbus
|
||||
- glib
|
||||
- libfdk-aac
|
||||
- liblc3
|
||||
- libldac
|
||||
- libpipewire
|
||||
- libsndfile
|
||||
- libpulse
|
||||
- libusb
|
||||
- ncurses
|
||||
- opus
|
||||
- readline
|
||||
- sbc
|
||||
optional_depends:
|
||||
- pipewire-jack:For JACK
|
||||
- rtkit:For realtime privileges using the rtkit module
|
||||
- name: libpipewire
|
||||
description: Pipewire client library
|
||||
depends:
|
||||
- glibc
|
||||
- gcc-libs
|
||||
- name: pipewire-jack
|
||||
description: JACK replacement for Pipewire
|
||||
depends:
|
||||
- pipewire
|
||||
- sh
|
||||
conflicts:
|
||||
- jack
|
||||
provides:
|
||||
- jack
|
||||
- name: pipewire-pulse
|
||||
description: PulseAudio replacement for Pipewire
|
||||
depends:
|
||||
- avahi
|
||||
- dbus
|
||||
- dconf
|
||||
- glibc
|
||||
- pipewire
|
||||
conflicts:
|
||||
- pulseaudio
|
||||
@@ -1,54 +0,0 @@
|
||||
name: pipewire
|
||||
description: Low-latency audio/video router and processor
|
||||
version: 1.6.2
|
||||
revision: 1
|
||||
url: https://pipewire.org/
|
||||
license: LGPL2.1-or-later,MIT
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- alsa-lib
|
||||
- avahi
|
||||
- gcc-libs
|
||||
- glibc
|
||||
- dbus
|
||||
- glib
|
||||
- libfdk-aac
|
||||
- liblc3
|
||||
- libldac
|
||||
- libsndfile
|
||||
- libpulse
|
||||
- libusb
|
||||
- ncurses
|
||||
- opus
|
||||
- readline
|
||||
- sbc
|
||||
optional_depends:
|
||||
- rtkit
|
||||
make_depends:
|
||||
- bluez
|
||||
- bzip2
|
||||
- doxygen
|
||||
- graphviz
|
||||
- gst-plugins-base
|
||||
- libcanberra
|
||||
- libx11
|
||||
- libxfixes
|
||||
- meson
|
||||
- python-docutils
|
||||
- python-packaging
|
||||
- rtkit
|
||||
- sdl2-compat
|
||||
- valgrind
|
||||
- desktop-file-utils
|
||||
conflicts:
|
||||
- pulseaudio
|
||||
provides:
|
||||
- jack
|
||||
downloads:
|
||||
- url: https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${BPM_PKG_VERSION}/pipewire-${BPM_PKG_VERSION}.tar.bz2
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 3649ff3502c93036088b61154aa12dc375c95031db18efb2c4abab691d2e758e
|
||||
@@ -0,0 +1,97 @@
|
||||
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
-Dudevrulesdir=/usr/lib/udev/rules.d \
|
||||
-Dsession-managers="[]" \
|
||||
-Dman=enabled \
|
||||
-Ddocs=enabled \
|
||||
-Djack-devel=true \
|
||||
-Dlibjack-path=/usr/lib \
|
||||
-Drlimits-install=false \
|
||||
-Dbluez5-codec-lc3plus=disabled \
|
||||
-Dselinux=disabled \
|
||||
-Dsnap=disabled \
|
||||
build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
for f; do
|
||||
[ -d "$BPM_WORKDIR"/output_"$p" ] || { echo "Split package $p not found"; exit 1; }
|
||||
d="$BPM_WORKDIR"/output_"$p"/"${f#$BPM_OUTPUT}"
|
||||
mkdir -p "$(dirname "$d")"
|
||||
mv "$f" "$d"
|
||||
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
|
||||
done
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package_pipewire() {
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
cd "$BPM_OUTPUT"
|
||||
|
||||
# Move libpipewire files into split package
|
||||
_pick libpipewire usr/include/{pipewire-*,spa-*}
|
||||
_pick libpipewire usr/lib/libpipewire*
|
||||
_pick libpipewire usr/lib/pkgconfig/{libpipewire-*,libspa-*}
|
||||
|
||||
# Move jack files into split package
|
||||
_pick pipewire-jack usr/bin/pw-jack
|
||||
_pick pipewire-jack usr/include/jack
|
||||
_pick pipewire-jack usr/lib/libjack*
|
||||
_pick pipewire-jack usr/lib/pipewire-*/libpipewire-module-jack*
|
||||
_pick pipewire-jack usr/lib/spa-*/jack
|
||||
_pick pipewire-jack usr/lib/pkgconfig/jack*.pc
|
||||
_pick pipewire-jack usr/share/man/man1/pw-jack.1
|
||||
_pick pipewire-jack usr/share/man/man5/pipewire-jack.conf.5
|
||||
_pick pipewire-jack usr/share/man/man7/libpipewire-module-jack*.7
|
||||
_pick pipewire-jack usr/share/pipewire/jack.conf
|
||||
|
||||
# Move pulse files into split package
|
||||
_pick pipewire-pulse usr/bin/pipewire-pulse
|
||||
_pick pipewire-pulse usr/lib/pipewire-*/libpipewire-module-{protocol-pulse.so,pulse-tunnel.so}
|
||||
_pick pipewire-pulse usr/share/man/man1/pipewire-pulse.1
|
||||
_pick pipewire-pulse usr/share/man/man5/pipewire-pulse.conf.5
|
||||
_pick pipewire-pulse usr/share/man/man7/libpipewire-module-{protocol-pulse,pulse-tunnel}.7
|
||||
_pick pipewire-pulse usr/share/man/man7/pipewire-pulse*.7
|
||||
_pick pipewire-pulse usr/share/pipewire/pipewire-pulse.conf
|
||||
|
||||
# Install package license
|
||||
install -d "$BPM_OUTPUT"/usr/share/licenses/
|
||||
ln -sf libpipewire "$BPM_OUTPUT"/usr/share/licenses/pipewire
|
||||
}
|
||||
|
||||
package_libpipewire() {
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libpipewire/COPYING
|
||||
}
|
||||
|
||||
package_pipewire-jack() {
|
||||
# Install package license
|
||||
install -d "$BPM_OUTPUT"/usr/share/licenses/
|
||||
ln -sf libpipewire "$BPM_OUTPUT"/usr/share/licenses/pipewire-jack
|
||||
}
|
||||
|
||||
package_pipewire-pulse() {
|
||||
# Install pipewire-pulse launcher config file from Void Linux
|
||||
install -Dm644 "$BPM_WORKDIR"/20-pipewire-pulse.conf "$BPM_OUTPUT"/usr/share/examples/pipewire/20-pipewire-pulse.conf
|
||||
|
||||
# Install package license
|
||||
install -d "$BPM_OUTPUT"/usr/share/licenses/
|
||||
ln -sf libpipewire "$BPM_OUTPUT"/usr/share/licenses/pipewire-pulse
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
From fb47e739d9f605772b5098421a809537c108d30c Mon Sep 17 00:00:00 2001
|
||||
From: Wim Taymans <[email protected]>
|
||||
Date: Mon, 16 Mar 2026 13:11:20 +0100
|
||||
Subject: [PATCH] acp: fix -Werror=discarded-qualifiers error
|
||||
|
||||
---
|
||||
spa/plugins/alsa/acp/compat.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/spa/plugins/alsa/acp/compat.h b/spa/plugins/alsa/acp/compat.h
|
||||
index f7592e1a6e..0f7b959df9 100644
|
||||
--- a/spa/plugins/alsa/acp/compat.h
|
||||
+++ b/spa/plugins/alsa/acp/compat.h
|
||||
@@ -429,9 +429,9 @@ static PA_PRINTF_FUNC(1,0) inline char *pa_vsprintf_malloc(const char *fmt, va_l
|
||||
|
||||
#define pa_fopen_cloexec(f,m) fopen(f,m"e")
|
||||
|
||||
-static inline char *pa_path_get_filename(const char *p)
|
||||
+static inline const char *pa_path_get_filename(const char *p)
|
||||
{
|
||||
- char *fn;
|
||||
+ const char *fn;
|
||||
if (!p)
|
||||
return NULL;
|
||||
if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
|
||||
@@ -1,47 +0,0 @@
|
||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
cd "$BPM_SOURCE"
|
||||
patch -Np1 -i "$BPM_WORKDIR"/fix-build-errors.patch
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
-Dudevrulesdir=/usr/lib/udev/rules.d \
|
||||
-Dsession-managers="[]" \
|
||||
-Dman=enabled \
|
||||
-Ddocs=enabled \
|
||||
-Djack-devel=true \
|
||||
-Dlibjack-path=/usr/lib \
|
||||
-Drlimits-install=false \
|
||||
-Dbluez5-codec-lc3plus=disabled \
|
||||
-Dselinux=disabled \
|
||||
-Dsnap=disabled \
|
||||
build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
# The check function is executed in the source directory
|
||||
# This function is used to run tests to verify the package has been compiled correctly
|
||||
check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Install pipewire-pulse launcher config file from Void Linux
|
||||
install -Dm644 "$BPM_WORKDIR"/20-pipewire-pulse.conf "$BPM_OUTPUT"/usr/share/examples/pipewire/20-pipewire-pulse.conf
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/pipewire/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user