void-packages/srcpkgs/kpipewire/template

36 lines
1.1 KiB
Bash

# Template file for 'kpipewire'
pkgname=kpipewire
version=6.1.1
revision=1
build_style=cmake
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
plasma-wayland-protocols
wayland-devel qt6-declarative-devel qt6-base-private-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=6a1d5aba6eaf530605bb22514cbb17a144d3e8c7c1a5ddf0d3a9ce6b481f7686
do_check() {
cd build
ctest -E "mediamonitortest"
}
kpipewire-devel_package() {
depends="${sourcepkg}>=${version}_${revision}
qt6-base-devel pipewire-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}