30 lines
867 B
Plaintext
30 lines
867 B
Plaintext
# Description: Session/policy manager implementation for PipeWire
|
|
# URL: https://gitlab.freedesktop.org/pipewire/wireplumber
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: cpptoml lua pipewire util-linux
|
|
|
|
name=wireplumber
|
|
version=0.4.17
|
|
release=1
|
|
source=(https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
_lua_version=$(prt-get info lua | awk '/Version/ { print $2}')
|
|
meson setup $name-$version build \
|
|
-D prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D system-lua=true \
|
|
-D system-lua-version=${_lua_version::3} \
|
|
-D introspection=disabled \
|
|
-D doc=disabled \
|
|
-D elogind=disabled \
|
|
-D systemd=disabled
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|