void-packages/srcpkgs/kde-runtime/template

36 lines
1.3 KiB
Bash

# Template file for 'kde-runtime'
pkgname=kde-runtime
version=4.14.3
revision=4
build_style=cmake
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF DWITH_QNtrack=OFF -DWITH_NepomukCore=OFF"
# XXX OpenSLP
hostmakedepends="cmake automoc4 pkg-config"
makedepends="
boost-devel glib-devel libressl-devel qt-devel phonon-devel strigi-devel
libXt-devel attica-devel qca-devel liblzma-devel libssh-devel libgcrypt-devel
libjpeg-turbo-devel libpng-devel exiv2-devel alsa-lib-devel samba-devel
pulseaudio-devel libwebp-devel libcanberra-devel NetworkManager-devel
kdelibs-devel kdepimlibs-devel kactivities-devel gpgme-devel libopenexr-devel"
depends="hicolor-icon-theme"
short_desc="Plugins and applications necessary for running KDE applications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2, FDL"
homepage="http://www.kde.org"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=78a74e519b4e897ffcee14be98eebd7b672ad2bb6e71a4aa2fe77682b5bc8605
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
}
}