void-packages/srcpkgs/phonon/template

32 lines
971 B
Text
Raw Normal View History

2013-06-16 05:26:09 +00:00
# Template file for 'phonon'
pkgname=phonon
2014-08-12 13:48:43 +00:00
version=4.7.2
2014-05-02 14:40:43 +00:00
revision=1
2013-06-16 05:26:09 +00:00
build_style=cmake
2014-05-02 14:40:43 +00:00
configure_args="-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON -DCMAKE_INSTALL_LIBDIR=lib"
2013-06-16 05:26:09 +00:00
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/"
2014-05-02 14:40:43 +00:00
distfiles="http://download.kde.org/stable/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
2014-08-12 13:48:43 +00:00
checksum=819e9734d20e254b4599d8ab45f15a68d95444c4e2088c7eb5769b58976a11be
2013-06-16 05:26:09 +00:00
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
}
2013-06-16 05:26:09 +00:00
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
}
}