# Template file for 'kpipewire'
pkgname=kpipewire
version=5.27.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules plasma-wayland-protocols gettext
 qt5-qmake qt5-host-tools pkg-config wayland-devel kcoreaddons
 kwayland-devel"
makedepends="ffmpeg-devel kcoreaddons-devel kwayland-devel ki18n-devel
 libepoxy-devel pipewire-devel"
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=0018fee05e03e2eb5c0ed2a6417d20a5ae2e33216fd2745fb77f15014c881756

kpipewire-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
