void-packages/srcpkgs/kjsembed/template

30 lines
960 B
Bash
Raw Normal View History

2016-10-13 12:01:20 +00:00
# Template file for 'kjsembed'
pkgname=kjsembed
2017-05-14 12:10:42 +00:00
version=5.36.0
2016-10-13 12:01:20 +00:00
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kjsembed"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
2017-05-14 12:10:42 +00:00
checksum=49bf01a91f227d7daa1b41f1e792054a814de4f1783c4a44a316123fbb938580
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools"
fi
2016-10-13 12:01:20 +00:00
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
}
}