34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 'plasma5support'
|
|
pkgname=plasma5support
|
|
version=6.1.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext
|
|
qt6-declarative-host-tools"
|
|
makedepends="qt6-declarative-devel kf6-kconfig-devel kf6-ki18n-devel
|
|
kf6-kcoreaddons-devel kf6-knotifications-devel kf6-kguiaddons-devel
|
|
kf6-solid-devel libksysguard-devel"
|
|
short_desc="Support components for porting from KF5/Qt5 to KF6/Qt6"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://invent.kde.org/plasma/plasma5support"
|
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=f8b8506f4326e96f918dd6e9cb2040ba785ea79d33cad575e33cbe984ee0b6d7
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E "pluginloadertest"
|
|
}
|
|
|
|
plasma5support-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|