void-packages/srcpkgs/phonon/template

38 lines
1.0 KiB
Plaintext

# Template file for 'phonon'
pkgname=phonon
version=4.6.0
revision=3
build_style=cmake
configure_args="-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON DPHONON_BUILD_DESIGNER_PLUGIN=OFF"
hostmakedepends="cmake automoc4"
makedepends="glib-devel qt-devel pulseaudio-devel libqzeitgeist-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}/src/${pkgname}-${version}.tar.xz"
checksum=2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4
post_install() {
# Create compat symlink for QT phonon.
vmkdir usr/lib/qt/plugins
ln -s /usr/lib/kde4/plugins/phonon_backend ${DESTDIR}/usr/lib/qt/plugins
}
phonon-devel_package() {
depends="qt-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/phonon
vmove usr/share/qt
}
}
phonon_package() {
pkg_install() {
vmove all
}
}