31 lines
927 B
Bash
31 lines
927 B
Bash
# Template file for 'kdeclarative'
|
|
pkgname=kdeclarative
|
|
version=5.116.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config
|
|
kpackage gettext qt5-host-tools qt5-qmake python3 kconfig"
|
|
makedepends="kio-devel kpackage-devel libepoxy-devel"
|
|
short_desc="KDE Integration of QML and KDE work spaces"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kdeclarative"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=9e7f9c2ac3d22dec3baa0a0fc17a9366ffb442c41cdb81c37cf65ca462eac55f
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E 'quickviewsharedengine'
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|