void-packages/srcpkgs/kdelibs4support/template
2018-02-22 01:32:38 +01:00

33 lines
1.1 KiB
Bash

# Template file for 'kdelibs4support'
pkgname=kdelibs4support
version=5.43.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=9055714b63f2995c8d22c33683b3b7713016e5551ccb2502d6c3dbbbcd2093e7
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
}
}