kjs: update to 5.91.0.

This commit is contained in:
John 2022-01-18 12:26:46 +01:00
parent f69e03a32d
commit 63d0f7e4e1

View file

@ -1,6 +1,6 @@
# Template file for 'kjs' # Template file for 'kjs'
pkgname=kjs pkgname=kjs
version=5.89.0 version=5.91.0
revision=1 revision=1
build_style=cmake build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules perl pkg-config" hostmakedepends="kcoreaddons extra-cmake-modules perl pkg-config"
@ -10,7 +10,7 @@ maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kjs" homepage="https://invent.kde.org/frameworks/kjs"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz" distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=302a1b40852fae39e95d635d723925f26dd1fbc045d14de71cbb33423926b37b checksum=322309164f54bcc7b0a8c338f8088160cf61ad6e5bdb95a77c1f72e4aaa57c49
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake kdoctools kjs" hostmakedepends+=" qt5-host-tools qt5-qmake kdoctools kjs"
@ -18,13 +18,13 @@ fi
pre_configure() { pre_configure() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
sed -i -e "s,COMMAND \${ICEMAKER_EXECUTABLE} ,COMMAND /usr/lib/libexec/${pkgname}/icemaker ," src/kjs/CMakeLists.txt sed -i -e "s,COMMAND \${ICEMAKER_EXECUTABLE} ,COMMAND /usr/libexec/${pkgname}/icemaker ," src/kjs/CMakeLists.txt
fi fi
} }
post_install() { post_install() {
# internal tool needed for cross-building # internal tool needed for cross-building
vinstall build/bin/icemaker 0755 usr/lib/libexec/${pkgname} vinstall build/bin/icemaker 0755 usr/libexec/${pkgname}
} }
kjs-devel_package() { kjs-devel_package() {