void-packages/srcpkgs/kdelibs4support/template
2017-07-19 17:11:07 +00:00

31 lines
1.1 KiB
Bash

# Template file for 'kdelibs4support'
pkgname=kdelibs4support
version=5.36.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=d8de45922f805a752b147b568a4df196b02024efc3ec7b930c2997e6817d3e10
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
}
}