49 lines
1.8 KiB
Bash
49 lines
1.8 KiB
Bash
# Template file for 'kdelibs'
|
|
pkgname=kdelibs
|
|
version=4.14.3
|
|
revision=8
|
|
short_desc="KDE core libraries"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0, LGPL-2.1, FDL"
|
|
homepage="http://www.kde.org"
|
|
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=f8206da1106184ef0bd031b82701c4910b8dade331c4cdaf1cd9c6c5208cfd9e
|
|
|
|
build_style=cmake
|
|
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DKDE_DISTRIBUTION_TEXT=Void
|
|
-DSYSCONF_INSTALL_DIR=/etc -DHTML_INSTALL_DIR=/usr/share/doc/kde/html
|
|
-DKDE_DEFAULT_HOME=.kde4 -DWITH_FAM=OFF -DWITH_SOLID_UDISKS2=ON
|
|
-DWITH_Soprano=OFF -DWITH_ASPELL=OFF -DWITH_HSPELL=OFF"
|
|
|
|
hostmakedepends="perl automoc4 pkg-config docbook-xsl"
|
|
makedepends="libressl-devel libSM-devel libXext-devel libXScrnSaver-devel
|
|
libXrender-devel phonon-devel strigi-devel pcre-devel libjpeg-turbo-devel
|
|
libpng-devel giflib-devel acl-devel enchant-devel jasper-devel
|
|
liblzma-devel mit-krb5-devel avahi-libs-devel eudev-libudev-devel libxslt-devel
|
|
polkit-qt-devel libdbusmenu-qt-devel attica-devel grantlee-devel qca-devel
|
|
qt-webkit-devel 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
|
|
shared-desktop-ontologies hicolor-icon-theme ca-certificates"
|
|
|
|
CXXFLAGS="-std=gnu++98 -Wno-deprecated-declarations"
|
|
|
|
pre_configure() {
|
|
sed -i cmake/modules/FindKDE4Internal.cmake -e"s;_BSD_SOURCE;_DEFAULT_SOURCE;g"
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
kdelibs-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/apps/cmake
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|