Add jack support
This commit is contained in:
@@ -2,9 +2,11 @@ name: pipewire
|
|||||||
description: Low-latency audio/video router and processor
|
description: Low-latency audio/video router and processor
|
||||||
url: https://pipewire.org/
|
url: https://pipewire.org/
|
||||||
version: 1.4.6
|
version: 1.4.6
|
||||||
|
revision: 2
|
||||||
license: LGPL2.1-or-later,MIT
|
license: LGPL2.1-or-later,MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["gcc","glibc","dbus","glib","libpulse","ncurses","readline"]
|
depends: ["gcc","glibc","dbus","glib","libpulse","ncurses","readline"]
|
||||||
make_depends: ["alsa-lib","libsndfile","libx11","libxfixes","meson","opus","valgrind","desktop-file-utils"]
|
make_depends: ["alsa-lib","libsndfile","libx11","libxfixes","meson","opus","valgrind","desktop-file-utils"]
|
||||||
conflicts: ["pulseaudio"]
|
conflicts: ["pulseaudio"]
|
||||||
|
provides: ["jack"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -18,15 +18,21 @@ build() {
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dsession-managers="[]"
|
meson setup --prefix=/usr \
|
||||||
ninja
|
--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
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
cd build
|
cd build
|
||||||
ninja test
|
|
||||||
|
meson test
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
@@ -34,7 +40,7 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
DESTDIR="$BPM_OUTPUT" ninja install
|
meson install --destdir="$BPM_OUTPUT"
|
||||||
|
|
||||||
# Install pipewire-pulse launcher config file from Void Linux
|
# 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 -Dm644 "$BPM_WORKDIR"/20-pipewire-pulse.conf "$BPM_OUTPUT"/usr/share/examples/pipewire/20-pipewire-pulse.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user