33 lines
983 B
Bash
33 lines
983 B
Bash
# Template file for 'kjsembed'
|
|
pkgname=kjsembed
|
|
version=5.101.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="gettext 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 <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kjsembed"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
|
checksum=0520a3f31b1a8c946d8cf51725745be44fad92e0f909b335d75d330875308c01
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake kdoctools"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|