void-packages/srcpkgs/kpipewire/template

35 lines
1.1 KiB
Bash

# Template file for 'kpipewire'
pkgname=kpipewire
version=6.0.5
revision=1
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=4327da2435186e90653c870de73082a7e5fb61d13e06a517cb021f1d56b7d2d6
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"
}
}