void-packages/srcpkgs/kdelibs/template

50 lines
1.7 KiB
Text
Raw Normal View History

2013-06-16 09:30:58 +00:00
# Template file for 'kdelibs'
pkgname=kdelibs
2013-12-16 20:35:51 +00:00
version=4.11.4
2013-07-03 01:58:30 +00:00
revision=1
2013-06-16 09:30:58 +00:00
short_desc="KDE core libraries"
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"
2013-12-16 20:35:51 +00:00
checksum=dd52139eff1e635c0a9daa0ac846c72f5c62e0e68fcf986df6da1da04a062ded
2013-06-16 09:30:58 +00:00
build_style=cmake
configure_args="-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_HUpnp=OFF -DWITH_SOLID_UDISKS2=ON"
hostmakedepends="cmake perl automoc4 pkg-config docbook-xsl"
makedepends="openssl-devel libSM-devel libXext-devel libXScrnSaver-devel
libXrender-devel phonon-devel strigi-devel pcre-devel libjpeg-turbo-devel
libpng-devel giflib-devel acl-devel aspell-devel enchant-devel jasper-devel
liblzma-devel mit-krb5-devel avahi-libs-devel libudev-devel libxslt-devel
polkit-qt-devel libdbusmenu-qt-devel attica-devel grantlee-devel qca-devel
libutempter-devel soprano-devel>=2.9.2_2 MesaLib-devel upower udisks2-devel
2013-09-04 13:43:38 +00:00
shared-desktop-ontologies ca-certificates shared-mime-info media-player-info
hicolor-icon-theme"
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 09:30:58 +00:00
kdelibs-devel_package() {
2013-12-16 20:35:51 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2013-06-16 09:30:58 +00:00
pkg_install() {
vmove usr/include
vmove usr/share/apps/cmake
2013-09-04 13:43:38 +00:00
vmove usr/lib/cmake
2013-06-16 09:30:58 +00:00
}
}
kdelibs_package() {
depends="docbook-xsl media-player-info shared-mime-info
2013-09-04 13:43:38 +00:00
shared-desktop-ontologies upower hicolor-icon-theme
ca-certificates"
2013-06-16 09:30:58 +00:00
pkg_install() {
vmove all
}
}