community/roc-toolkit: build with OpenFEC support
Roc is built without OpenFEC support at the moment, so it cannot be used to stream to a Pipewire Roc sink with fec.code = rs8m
, for example.
There seems to be no OpenFEC package in Alpine, but Roc can somehow be built together with a patched version of OpenFEC. This is recommended by Roc's documentation here and here.
cmake is required for building the bundled OpenFEC.
I tested this on my aarch64 laptop/tabled with postmarketOS, edge release. With the aforementioned fec.code = rs8m
in the pipewire config I can stream audio into a corresponding sink on the local network, which is running ArchLinux.
But maybe there was a reason to disable OpenFEC here?
Interesting side note, Arch builds it with their own OpenFEC package: https://gitlab.archlinux.org/archlinux/packaging/packages/roc-toolkit/-/blob/e662ab283b022eed36a6b4d5cd8506ad415ee5aa/PKGBUILD