void-packages/srcpkgs/kdelibs4support/template
2018-01-07 21:41:31 +01:00

33 lines
1.1 KiB
Bash

# Template file for 'kdelibs4support'
pkgname=kdelibs4support
version=5.41.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules perl-URI pkg-config"
makedepends="kded-devel kemoticons-devel kitemmodels-devel kparts-devel
kunitconversion-devel kdesignerplugin-devel networkmanager-qt5-devel
kdoctools-devel libSM-devel"
depends="kded"
short_desc="KDE Legacy support for kdelibs 4 compatibility"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdelibs4support"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=242f748a199e5eb3c63a2f02618de9e68c83b6385473d6dd9ada3304111f77d6
if [ -n "$CROSS_BUILD" ]; then
makedepends+=" qt5-tools-devel"
hostmakedepends+=" qt5-host-tools qt5-qmake"
broken="https://github.com/voidlinux/void-packages/issues/6658"
fi
kdelibs4support-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}