2021-10-16 15:20:20 +02:00
|
|
|
# Description: Session/policy manager implementation for PipeWire
|
2021-01-21 13:27:08 +00:00
|
|
|
# URL: https://gitlab.freedesktop.org/pipewire/wireplumber
|
2021-10-10 12:23:04 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2021-10-16 15:20:20 +02:00
|
|
|
# Depends on: cpptoml lua pipewire util-linux
|
2021-01-21 13:27:08 +00:00
|
|
|
|
|
|
|
name=wireplumber
|
2023-03-10 13:14:27 +01:00
|
|
|
version=0.4.14
|
2022-10-04 20:25:27 +02:00
|
|
|
release=1
|
2021-05-09 11:31:18 +00:00
|
|
|
source=(https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/$name-$version.tar.bz2)
|
2021-01-21 13:27:08 +00:00
|
|
|
|
|
|
|
build() {
|
2022-08-07 20:52:07 +02:00
|
|
|
_lua_version=$(prt-get info lua | awk '/Version/ { print $2}')
|
2021-01-21 13:27:08 +00:00
|
|
|
meson setup $name-$version build \
|
|
|
|
-D prefix=/usr \
|
|
|
|
--buildtype=plain \
|
2021-06-29 16:20:09 +00:00
|
|
|
--wrap-mode nodownload \
|
2021-08-28 14:06:59 +02:00
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-10-16 15:20:20 +02:00
|
|
|
-D system-lua=true \
|
2022-08-07 20:52:07 +02:00
|
|
|
-D system-lua-version=${_lua_version::3} \
|
2021-10-16 15:20:20 +02:00
|
|
|
-D introspection=disabled \
|
2022-07-24 08:27:57 +02:00
|
|
|
-D doc=disabled \
|
2022-08-07 20:52:07 +02:00
|
|
|
-D elogind=disabled \
|
|
|
|
-D systemd=disabled
|
2021-01-21 13:27:08 +00:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2022-07-24 08:27:57 +02:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/locale
|
2021-01-21 13:27:08 +00:00
|
|
|
}
|