void-packages/srcpkgs/phonon-qt5/template

29 lines
964 B
Bash

# Template file for 'phonon-qt5'
pkgname=phonon-qt5
version=4.11.1
revision=1
wrksrc="${pkgname%-*}-${version}"
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-devel"
makedepends="glib-devel qt5-devel qt5-tools-devel pulseaudio-devel"
short_desc="Multimedia framework for KDE"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://phonon.kde.org/"
distfiles="${KDE_SITE}/${pkgname%-*}/${version}/${pkgname%-*}-${version}.tar.xz"
checksum=b4431ea2600df8137a717741ad9ebc7f7ec1649fa3e138541d8f42597144de2d
phonon-qt5-devel_package() {
depends="qt5-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/phonon4qt5
vmove usr/lib/qt5/plugins/designer/phononwidgets.so
vmove "usr/lib/*.so"
}
}