void-packages/srcpkgs/phonon-qt5/template
2017-12-16 11:00:40 +01:00

35 lines
1.1 KiB
Bash

# Template file for 'phonon-qt5'
pkgname=phonon-qt5
version=4.9.1
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
hostmakedepends="automoc4 extra-cmake-modules"
makedepends="glib-devel qt5-devel pulseaudio-devel"
short_desc="The multimedia framework for KDE"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://phonon.kde.org/"
distfiles="http://download.kde.org/stable/${pkgname%-*}/${version}/${pkgname%-*}-${version}.tar.xz"
checksum=67bee986f85ca8b575186c8ba58a85886cb3b1c3567c86a118d56129f221e69c
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" libqzeitgeist-devel"
else
# Don't depend on libqzeitgeist-devel because
# zeitgeist depends on python-gobject which can
# not be cross compiled.
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
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
}
}