void-packages/srcpkgs/kpipewire/template

35 lines
1.1 KiB
Bash

# Template file for 'kpipewire'
pkgname=kpipewire
version=6.0.4
revision=2
build_style=cmake
build_helper=qemu
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
hostmakedepends="extra-cmake-modules gettext qt6-base qt6-tools pkg-config
pipewire qt6-wayland-tools wayland-devel qt6-declarative-host-tools"
makedepends="ffmpeg-devel kf6-kcoreaddons-devel kf6-kwayland-devel
kf6-ki18n-devel libva-devel libepoxy-devel pipewire-devel qt6-wayland-devel
wayland-devel qt6-declarative-devel"
depends="pipewire"
short_desc="Components relating to Flatpak 'pipewire' use in Plasma"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/kpipewire"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=a17442fb4f719f154de10158b9da0791a9a4b7da2d0b6f82303fb3b7a2f46836
do_check() {
cd build
ctest -E "mediamonitortest"
}
kpipewire-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}