From bf2a5ebb50a0014b6e925628d4b1808f7325f157 Mon Sep 17 00:00:00 2001 From: yopito Date: Sun, 14 May 2017 14:07:48 +0200 Subject: [PATCH] kjs: update to 5.36.0. --- common/shlibs | 1 + srcpkgs/kjs/template | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/common/shlibs b/common/shlibs index a08c3199c80..85e332e4afa 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/kjs/template b/srcpkgs/kjs/template index 5b883d147c6..5eabf4b734b 100644 --- a/srcpkgs/kjs/template +++ b/srcpkgs/kjs/template @@ -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 " 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"