30 lines
934 B
Bash
30 lines
934 B
Bash
# Template file for 'kdeclarative'
|
|
pkgname=kdeclarative
|
|
version=5.55.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="kio-devel kpackage-devel libepoxy-devel"
|
|
short_desc="KDE Integration of QML and KDE work spaces"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdeclarative"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=aa51a98e66dcfeb08d26cc79b230fac3eac9235a5d3dee08805cf964f3a17210
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kconfig"
|
|
fi
|
|
|
|
kdeclarative-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"
|
|
}
|
|
}
|