Skip to content

Commit

Permalink
main/pipewire: enable roc support
Browse files Browse the repository at this point in the history
  • Loading branch information
triallax committed Oct 4, 2024
1 parent 8d41beb commit 3b56114
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions main/pipewire-roc
16 changes: 12 additions & 4 deletions main/pipewire/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "pipewire"
pkgver = "1.2.5"
pkgrel = 1
pkgrel = 2
build_style = "meson"
configure_args = [
"--auto-features=enabled",
Expand All @@ -10,7 +10,6 @@
"-Dsdl2=disabled", # examples
"-Dsystemd=disabled",
"-Dlibffado=disabled",
"-Droc=disabled", # TODO
"-Dselinux=disabled",
"-Dsnap=disabled",
"-Dbluez5-codec-lc3plus=disabled",
Expand Down Expand Up @@ -52,6 +51,7 @@
"lilv-devel",
"ncurses-devel",
"openssl-devel",
"roc-toolkit-devel",
"sbc-devel",
"v4l-utils-devel",
]
Expand Down Expand Up @@ -106,6 +106,15 @@ def _(self):
return ["usr/lib/spa-0.2/bluez5"]


@subpackage("pipewire-roc")
def _(self):
self.subdesc = "ROC support"
self.depends += [self.parent]
self.install_if = [self.parent, "roc-toolkit"]

return ["usr/lib/pipewire-*/libpipewire-module-roc-*.so"]


@subpackage("pipewire-libs")
def _(self):
self.subdesc = "runtime library"
Expand Down Expand Up @@ -138,10 +147,9 @@ def _(self):
self.provides = [self.with_pkgver("jack")]

return [
"usr/bin/pw-jack",
"cmd:pw-jack",
"usr/lib/libjack*",
"usr/share/pipewire/jack.conf",
"usr/share/man/man1/pw-jack.1",
]


Expand Down

0 comments on commit 3b56114

Please sign in to comment.