From 0e869222ab124eef370ea3ffdeb16a279d5a17b9 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 8 Aug 2025 10:05:06 +0300 Subject: [PATCH] Add jack support --- pkg.info | 2 ++ source.sh | 14 ++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pkg.info b/pkg.info index e41d27f..0a2887e 100644 --- a/pkg.info +++ b/pkg.info @@ -2,9 +2,11 @@ name: pipewire description: Low-latency audio/video router and processor url: https://pipewire.org/ version: 1.4.6 +revision: 2 license: LGPL2.1-or-later,MIT architecture: any depends: ["gcc","glibc","dbus","glib","libpulse","ncurses","readline"] make_depends: ["alsa-lib","libsndfile","libx11","libxfixes","meson","opus","valgrind","desktop-file-utils"] conflicts: ["pulseaudio"] +provides: ["jack"] type: source diff --git a/source.sh b/source.sh index f5dddee..344118e 100644 --- a/source.sh +++ b/source.sh @@ -18,15 +18,21 @@ build() { mkdir build cd build - meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dsession-managers="[]" - ninja + meson setup --prefix=/usr \ + --libdir=/usr/lib \ + --buildtype=release \ + -Dsession-managers="[]" \ + -Djack-devel=true \ + -Dlibjack-path=/usr/lib + meson compile } # 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() { cd build - ninja test + + meson test } # The package function is executed in the source directory @@ -34,7 +40,7 @@ check() { package() { cd build - DESTDIR="$BPM_OUTPUT" ninja install + meson install --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