519264b6d0
[ci skip]
31 lines
975 B
Bash
31 lines
975 B
Bash
# Template file for 'kross'
|
|
pkgname=kross
|
|
version=5.67.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF
|
|
-DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules gettext
|
|
qt5-host-tools qt5-qmake python kdoctools-devel"
|
|
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=0ada5c6fc7dbb5ff0218693d93cbd8360e3d5b3042f9976e4c3893168390972c
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv6l-musl) makedepends+=" libatomic-devel";;
|
|
esac
|
|
|
|
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"
|
|
}
|
|
}
|