void-packages/srcpkgs/phonon-qt5/template

27 lines
875 B
Bash

# Template file for 'phonon-qt5'
pkgname=phonon-qt5
version=4.10.2
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 pulseaudio-devel"
short_desc="Multimedia framework for KDE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://phonon.kde.org/"
distfiles="${KDE_SITE}/${pkgname%-*}/${version}/${pkgname%-*}-${version}.tar.xz"
checksum=34edb1985778575eb7004e4e45151cd7bc995f61ddd6ce3b050b97b7bd778809
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
}
}