3462d62649
[ci skip]
33 lines
881 B
Bash
33 lines
881 B
Bash
# Template file for 'kparts'
|
|
pkgname=kparts
|
|
version=5.78.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules gettext
|
|
qt5-host-tools qt5-qmake python3"
|
|
makedepends="kio-devel"
|
|
short_desc="KDE Plugin framework for user interface components"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kparts"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=77d33ade190828254d1e0c8855b873282168eaf6a4f8ff42c902c2f8a1dee1da
|
|
|
|
pre_check() {
|
|
export QT_QPA_PLATFORM=offscreen
|
|
}
|
|
|
|
do_check() {
|
|
: # test can not find packages assets?!
|
|
}
|
|
|
|
kparts-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"
|
|
}
|
|
}
|