7d1fca7ce7
[ci skip]
30 lines
953 B
Bash
30 lines
953 B
Bash
# Template file for 'kross'
|
|
pkgname=kross
|
|
version=5.59.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules"
|
|
makedepends="qt5-tools-devel kdoctools-devel kparts-devel"
|
|
short_desc="KDE scripting bridge"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kross"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
|
checksum=0dff1001b4d667d03ada2cb96ced640918bf526a5ac7445674a2f86c85f478da
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools-devel"
|
|
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
|
fi
|
|
|
|
kross-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|