30 lines
1001 B
Bash
30 lines
1001 B
Bash
# Template file for 'kdesignerplugin'
|
|
pkgname=kdesignerplugin
|
|
version=5.42.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="kdoctools-devel kplotting-devel kdewebkit-devel"
|
|
short_desc="Integrating KDE frameworks widgets with Qt Designer"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdesignerplugin"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=66c5119cb2687df988e21999b1600282005e1bfa899e5e4c2325c9e982ea8a00
|
|
|
|
broken="kdewebkit requires qt5 >= 5.9.0"
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools python kdoctools"
|
|
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
|
fi
|
|
|
|
kdesignerplugin-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|