void-packages/srcpkgs/kdelibs/template

43 lines
1.6 KiB
Bash
Raw Normal View History

2013-06-16 11:30:58 +02:00
# Template file for 'kdelibs'
pkgname=kdelibs
2014-10-29 16:20:31 +01:00
version=4.14.2
2015-05-12 20:26:05 +02:00
revision=3
2013-06-16 11:30:58 +02:00
short_desc="KDE core libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-06-16 11:30:58 +02:00
license="GPL, LGPL, FDL"
homepage="http://www.kde.org"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
2014-10-29 16:20:31 +01:00
checksum=39745a77f019cc1280374aa5de02fbf961393d1045059aa811fc374e0afd895b
2013-06-16 11:30:58 +02:00
build_style=cmake
2014-08-06 02:21:26 +02:00
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DKDE_DISTRIBUTION_TEXT=Void
2013-06-16 11:30:58 +02:00
-DSYSCONF_INSTALL_DIR=/etc -DHTML_INSTALL_DIR=/usr/share/doc/kde/html
2014-08-06 02:21:26 +02:00
-DKDE_DEFAULT_HOME=.kde4 -DWITH_FAM=OFF -DWITH_SOLID_UDISKS2=ON
-DWITH_Soprano=OFF"
2013-06-16 11:30:58 +02:00
hostmakedepends="cmake perl automoc4 pkg-config docbook-xsl"
makedepends="libressl-devel libSM-devel libXext-devel libXScrnSaver-devel
2013-06-16 11:30:58 +02:00
libXrender-devel phonon-devel strigi-devel pcre-devel libjpeg-turbo-devel
2015-05-12 20:26:05 +02:00
libpng-devel giflib-devel acl-devel enchant-devel jasper-devel
2013-06-16 11:30:58 +02:00
liblzma-devel mit-krb5-devel avahi-libs-devel libudev-devel libxslt-devel
polkit-qt-devel libdbusmenu-qt-devel attica-devel grantlee-devel qca-devel
2014-08-06 02:21:26 +02:00
libutempter-devel MesaLib-devel udisks2-devel
libopenexr-devel media-player-info shared-mime-info shared-desktop-ontologies"
depends="docbook-xsl media-player-info shared-mime-info
2014-08-06 02:21:26 +02:00
shared-desktop-ontologies hicolor-icon-theme ca-certificates"
2013-09-04 15:43:38 +02:00
post_install() {
rm -f ${DESTDIR}/usr/share/apps/kssl/ca-bundle.crt
ln -sf /etc/ssl/certs/ca-certificates.crt \
${DESTDIR}/usr/share/apps/kssl/ca-bundle.crt
}
2013-06-16 11:30:58 +02:00
kdelibs-devel_package() {
2013-12-16 21:35:51 +01:00
depends="${sourcepkg}>=${version}_${revision}"
2013-06-16 11:30:58 +02:00
pkg_install() {
vmove usr/include
vmove usr/share/apps/cmake
2013-09-04 15:43:38 +02:00
vmove usr/lib/cmake
2013-06-16 11:30:58 +02:00
}
}