c7083f1f5e
added ksolid-devel as explicit build dependency
36 lines
1.4 KiB
Bash
36 lines
1.4 KiB
Bash
# Template file for 'kdelibs4support'
|
|
pkgname=kdelibs4support
|
|
version=5.59.0
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons 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 ksolid-devel"
|
|
depends="kded"
|
|
short_desc="KDE Legacy support for kdelibs 4 compatibility"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdelibs4support"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
|
checksum=9a67550453599fbe3f18b98aedbcde119432697a56308683be30e4674047fe5d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
makedepends+=" qt5-tools-devel"
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools kgendesignerplugin kded"
|
|
# gettaddrinfo runtime test is always fine (can't be achieved in crossbuild)
|
|
configure_args+=" -DHAVE_GOOD_GETADDRINFO_EXITCODE=0"
|
|
configure_args+=" -DHAVE_GOOD_GETADDRINFO_EXITCODE__TRYRUN_OUTPUT=0"
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
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
|
|
}
|
|
}
|