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
version=4.14.3
2015-06-23 00:26:23 +02:00
revision=2
2013-06-16 11:30:58 +02:00
short_desc="KDE core libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2015-06-23 00:26:23 +02:00
license="GPL-2.0, LGPL-2.1, FDL"
2013-06-16 11:30:58 +02:00
homepage="http://www.kde.org"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=f8206da1106184ef0bd031b82701c4910b8dade331c4cdaf1cd9c6c5208cfd9e
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 -DWITH_ASPELL=OFF -DWITH_HSPELL=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
}
}