kjs: update to 5.36.0.

This commit is contained in:
yopito 2017-05-14 14:07:48 +02:00 committed by Michael Gehring
parent 4416cf7b03
commit bf2a5ebb50
2 changed files with 18 additions and 2 deletions

View file

@ -2630,6 +2630,7 @@ libKF5BalooEngine.so.5 baloo5-5.26.0_1
libKF5ActivitiesStats.so.1 kactivities5-stats-5.26.0_1
libKF5Runner.so.5 krunner-5.26.0_1
libKF5JS.so.5 kjs-5.26.0_1
libKF5JSApi.so.5 kjs-5.36.0_1
libKF5KDELibs4Support.so.5 kdelibs4support-5.26.0_1
libKF5KHtml.so.5 khtml-5.26.0_1
libKF5JsEmbed.so.5 kjsembed-5.26.0_1

View file

@ -1,6 +1,6 @@
# Template file for 'kjs'
pkgname=kjs
version=5.29.0
version=5.36.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
@ -11,7 +11,22 @@ maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kjs"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=f340ded15b4e98070a04008456a8b135c0a2966f827fe1e17193306b3db5d4a4
checksum=c6929aa120384c1de8024d8a5a5462ad1604295171761840f36342a9e4e9ff1a
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake kdoctools kjs"
fi
pre_configure() {
if [ -n "$CROSS_BUILD" ]; then
sed -i -e "s,COMMAND \${ICEMAKER_EXECUTABLE} ,COMMAND /usr/lib/libexec/${pkgname}/icemaker ," src/kjs/CMakeLists.txt
fi
}
post_install() {
# internal tool needed for cross-building
vinstall build/src/kjs/icemaker 0755 usr/lib/libexec/${pkgname}
}
kjs-devel_package() {
short_desc+=" - development"