void-packages/srcpkgs/phonon-qt5/template
2019-08-29 10:57:21 +02:00

27 lines
941 B
Bash

# Template file for 'phonon-qt5'
pkgname=phonon-qt5
version=4.11.0
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=91250a38feb0adb62385ad9bacc0ea0e67bbba3e0ceb3c2111d83803fb52582e
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
}
}