New package: phonon-qt5-4.8.3

This commit is contained in:
Duncaen 2015-02-06 18:51:27 +01:00 committed by Duncaen
parent c967e5226e
commit 23ce6a7bd0
3 changed files with 34 additions and 0 deletions

View file

@ -2008,3 +2008,5 @@ libclamunrar.so.6 clamav-0.98.6_1
libclamunrar_iface.so.6 clamav-0.98.6_1
libqca.so.2 qca-qt5-2.1.0_1
libqt5keychain.so.0 qtkeychain-qt5-0.4.0_1
libphonon4qt5.so.4 phonon-qt5-4.8.3_1
libphonon4qt5experimental.so.4 phonon-qt5-4.8.3_1

1
srcpkgs/phonon-qt5-devel Symbolic link
View file

@ -0,0 +1 @@
phonon-qt5

View file

@ -0,0 +1,31 @@
# Template file for 'phonon'
pkgname=phonon-qt5
version=4.8.3
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DPHONON_BUILD_PHONON4QT5=ON -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON"
hostmakedepends="cmake automoc4"
makedepends="glib-devel qt5-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=a1149c961ca1570968d070bbd23671e614aa506f847ca93748960e309f85da16
post_install() {
# Create compat symlink for QT phonon.
vmkdir usr/lib/qt5/plugins
ln -s /usr/lib/kde4/plugins/phonon_backend ${DESTDIR}/usr/lib/qt5/plugins
}
phonon-qt5-devel_package() {
depends="qt5-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/share/phonon4qt5
}
}