Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: pipewire 1:0.3.43-2: Rebuild to have pipewire-jack provide jack.
Browse files Browse the repository at this point in the history
Extend meson options to have pipewire-jack provide the jack2 headers and libraries.
Add conflicts/provides/replaces to pipewire-jack as needed.

git-svn-id: file:///srv/repos/svn-packages/svn@434520 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
dvzrv authored and svntogit committed Jan 16, 2022
1 parent cfac14d commit dd62c64
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions trunk/PKGBUILD
Expand Up @@ -5,7 +5,7 @@ pkgbase=pipewire
pkgname=(pipewire alsa-card-profiles pipewire-docs pipewire-alsa pipewire-jack
pipewire-pulse gst-plugin-pipewire pipewire-zeroconf pipewire-v4l2)
pkgver=0.3.43
pkgrel=1
pkgrel=2
epoch=1
pkgdesc="Low-latency audio/video router and processor"
url="https://pipewire.org"
Expand Down Expand Up @@ -33,6 +33,8 @@ build() {
local meson_options=(
-D docs=enabled
-D jack=disabled
-D jack-devel=true
-D libjack-path=/usr/lib
-D libcamera=disabled
-D udevrulesdir=/usr/lib/udev/rules.d
-D roc=disabled
Expand Down Expand Up @@ -85,7 +87,10 @@ package_pipewire() {

_pick docs usr/share/doc

_pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack
_pick jack usr/bin/pw-jack
_pick jack usr/include/jack
_pick jack usr/lib/libjack*
_pick jack usr/lib/pkgconfig/jack.pc
_pick jack usr/share/man/man1/pw-jack.1
_pick jack usr/share/pipewire/jack.conf

Expand Down Expand Up @@ -142,6 +147,10 @@ package_pipewire-jack() {
pkgdesc+=" - JACK support"
license+=(GPL2) # libjackserver
depends=(pipewire-session-manager libpipewire-$_ver.so)
optdepends=('jack-example-tools: for official JACK example-clients and tools')
conflicts=(jack jack2)
provides=(jack jack2 libjack.so libjackserver.so libjacknet.so)
replaces=(jack jack2)

mv jack/* "$pkgdir"

Expand Down

0 comments on commit dd62c64

Please sign in to comment.