void-packages/srcpkgs/kde-runtime/template
2013-09-04 16:22:06 +02:00

44 lines
1.4 KiB
Text

# Template file for 'kde-runtime'
pkgname=kde-runtime
version=4.11.1
revision=1
short_desc="Plugins and applications necessary for running KDE applications"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="http://www.kde.org"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=639c397946e2bebf84bd9e49d4724b0dcf3b1e418873753adeed09505d556173
build_style=cmake
configure_args="-DKDE4_BUILD_TESTS=OFF DWITH_QNtrack=OFF"
# XXX OpenSLP, OpenEXR.
hostmakedepends="cmake automoc4 pkg-config"
makedepends="glib-devel openssl-devel qt-devel phonon-devel strigi-devel
soprano-devel libXt-devel attica-devel qca-devel liblzma-devel libssh-devel
libjpeg-turbo-devel libpng-devel exiv2-devel alsa-lib-devel samba-devel
pulseaudio-devel libwebp-devel libcanberra-devel NetworkManager-devel
kdelibs-devel>=${version} kdepimlibs-devel>=${version}
kactivities-devel>=${version} nepomuk-core-devel
hicolor-icon-theme"
post_install() {
rm -f ${DESTDIR}/usr/share/icons/hicolor/index.theme
ln -sf /usr/lib/kde4/libexec/kdesu ${DESTDIR}/usr/bin
}
kde-runtime-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/share/apps/cmake
}
}
kde-runtime_package() {
depends="hicolor-icon-theme"
pkg_install() {
vmove all
}
}