void-packages/srcpkgs/kjs/template
Sir-Boops 96e3a84d7d kdelibs: update to 5.40.0 (#9151)
* extra-cmake-modules: update to 5.40.0

* breeze-icons: update to 5.40.0

* kconfig: update to 5.40.0

* kcoreaddons: update to 5.40.0

* kactivities5: update to 5.40.0

* karchive: update to 5.40.0

* ki18n: update to 5.40.0

* kwidgetsaddons: update to 5.40.0

* kauth: update to 5.40.0

* kcodecs: update to 5.40.0

* kguiaddons: update to 5.40.0

* kconfigwidgets: update to 5.40.0

* kitemviews: update to 5.40.0

* kiconthemes: update to 5.40.0

* kdbusaddons: update to 5.40.0

* kwindowsystem: update to 5.40.0

* kcrash: update to 5.40.0

* kservice: update to 5.40.0

* ksolid: update to 5.40.0

* kdoctools: update to 5.40.0

* kcompletion: update to 5.40.0

* sonnet: update to 5.40.0

* ktextwidgets: update to 5.40.0

* kglobalaccel: update to 5.40.0

* kxmlgui: update to 5.40.0

* kbookmarks: update to 5.40.0

* kjobwidgets: update to 5.40.0

* kio: update to 5.40.0

* kpackage: update to 5.40.0

* kdeclarative: update to 5.40.0

* kdesignerplugin: update to 5.40.0

* kemoticons: update to 5.40.0

* knotifications: update to 5.40.0

* kparts: update to 5.40.0

* kunitconversion: update to 5.40.0

* kinit: update to 5.40.0

* kded: update to 5.40.0

* kjs: update to 5.40.0

* kwallet: update to 5.40.0

* khtml: update to 5.40.0

* kidletime: update to 5.40.0

* attica-qt5: update to 5.40.0

* knewstuff: update to 5.40.0

* syntax-highlighting: update to 5.40.0

* ktexteditor: update to 5.40.0

* kwayland: update to 5.40.0

* networkmanager-qt5: update to 5.40.0

* kfilemetadata5: update to 5.40.0

* baloo5: update to 5.40.0

* bluez-qt5: update to 5.40.0

* frameworkintegration: update to 5.40.0

* kactivities5-stats: update to 5.40.0

* kapidox: update to 5.40.0

* kcmutils: update to 5.40.0

* kpty: update to 5.40.0

* kimageformats: update to 5.40.0

* kitemmodels: update to 5.40.0

* knotifyconfig: update to 5.40.0

* kpeople: update to 5.40.0

* kplotting: update to 5.40.0

* plasma-framework: update to 5.40.0

* threadweaver: update to 5.40.0

* krunner: update to 5.40.0

* kxmlrpcclient: update to 5.40.0

* modemmanager-qt5: update to 5.40.0

* kjsembed: update to 5.40.0

* kmediaplayer: update to 5.40.0

* kdesu: update to 5.40.0

* kdewebkit: update to 5.40.0

* kdnssd: update to 5.40.0

* kross: update to 5.40.0

* oxygen-icons5: update to 5.40.0

* kdelibs4support: update to 5.40.0
2017-11-14 09:23:55 +01:00

40 lines
1.2 KiB
Bash

# Template file for 'kjs'
pkgname=kjs
version=5.40.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules perl pkg-config"
makedepends="qt5-devel qt5-script-devel qt5-declarative-devel kdoctools-devel"
short_desc="KDE Javascript engine"
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=b5415680ff0844513dcb8ac2da44a90a383323b2228470fcacda4af9536d6d5a
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/bin/icemaker 0755 usr/lib/libexec/${pkgname}
}
kjs-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
}
}