34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'calendarsupport'
|
|
pkgname=calendarsupport
|
|
version=24.05.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 kf6-kconfig python3 qt6-base qt6-tools
|
|
gettext kf6-kcoreaddons"
|
|
makedepends="kf6-kholidays-devel akonadi-calendar-devel akonadi-notes-devel
|
|
pimcommon-devel"
|
|
short_desc="Calendar support library"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://community.kde.org/KDE_PIM"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/calendarsupport-${version}.tar.xz"
|
|
checksum=1239c5f6e808618a18806b6575069d75f0ca1f2ad26a51ee37113a79de93a53c
|
|
|
|
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="Qt6 WebEngine"
|
|
fi
|
|
|
|
calendarsupport-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|