30 lines
936 B
Bash
30 lines
936 B
Bash
# Template file for 'kdeclarative'
|
|
pkgname=kdeclarative
|
|
version=5.39.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="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdeclarative"
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=f734913d40d94eafabf7d5a090c50a5e8d1caa597aabdf2eab5862f39db71cd1
|
|
|
|
if [ -n "$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
|
|
}
|
|
}
|