44 lines
1.4 KiB
Bash
44 lines
1.4 KiB
Bash
# Template file for 'wireplumber'
|
|
pkgname=wireplumber
|
|
version=0.4.15
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="-Dintrospection=enabled -Dsystem-lua=true"
|
|
hostmakedepends="pkg-config glib-devel python3-lxml doxygen gettext"
|
|
makedepends="libglib-devel pipewire-devel lua54-devel elogind-devel"
|
|
checkdepends="pipewire dbus"
|
|
short_desc="Session and policy manager implementation for PipeWire"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://pipewire.pages.freedesktop.org/wireplumber"
|
|
changelog="https://gitlab.freedesktop.org/pipewire/wireplumber/-/raw/master/NEWS.rst"
|
|
distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
|
|
checksum=389f5ebce1193419900f5dbc6647df8e3176731a0514ab33ae2afab1cdd8a415
|
|
provides="pipewire-session-manager-0_1"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vinstall "${FILESDIR}/wireplumber.desktop" 644 usr/share/applications
|
|
vsconf "${FILESDIR}/10-wireplumber.conf"
|
|
}
|
|
|
|
wireplumber-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} libglib-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gir-1.0
|
|
}
|
|
}
|
|
|
|
wireplumber-elogind_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - elogind integration"
|
|
pkg_install() {
|
|
vmove "usr/lib/wireplumber-${version%.*}/libwireplumber-module-logind.so"
|
|
}
|
|
}
|