40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'incidenceeditor'
|
|
pkgname=incidenceeditor
|
|
version=24.08.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
|
|
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
|
|
hostmakedepends="extra-cmake-modules qt6-base qt6-tools kf6-kcoreaddons kf6-kconfig
|
|
gettext"
|
|
makedepends="calendarsupport-devel eventviews-devel kdiagram6-devel"
|
|
short_desc="KDE PIM incidence editor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=cfdd8e6ff17b275ea94c5a234b32e29701a40542a04678f4a7250985a280d24f
|
|
|
|
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="Qt6 WebEngine"
|
|
fi
|
|
|
|
do_check() {
|
|
# failing tests are disabled
|
|
cd build
|
|
ctest -E ".*sqlite.*test"
|
|
}
|
|
|
|
incidenceeditor-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"
|
|
}
|
|
}
|