void-packages/srcpkgs/kross/template
2021-02-19 20:34:32 +01:00

31 lines
957 B
Bash

# Template file for 'kross'
pkgname=kross
version=5.79.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 <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kross"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=cc3564329823d659ab6d146e3f646f6cd1457a6512bff7c4f88a3b6159f71702
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
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"
}
}