void-packages/srcpkgs/kjsembed/template
2019-11-10 15:29:25 +01:00

33 lines
1 KiB
Bash

# Template file for 'kjsembed'
pkgname=kjsembed
version=5.64.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="qt5-devel qt5-tools-devel qt5-svg-devel kjs-devel ki18n-devel kdoctools-devel"
short_desc="KDE Binding Javascript object to QObjects"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kjsembed"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=939226116cb47fd66dc45a41baa3c0f45b7ab904ec7674088ced3df5c7bae62e
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools"
fi
case "$XBPS_TARGET_MACHINE" in
armv6l-musl) makedepends+=" libatomic-devel";;
esac
kjsembed-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"
}
}