void-packages/srcpkgs/pimcommon/template

38 lines
1.5 KiB
Bash

# Template file for 'pimcommon'
pkgname=pimcommon
version=24.08.1
revision=2
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 python3
gettext kf6-kconfig kf6-kcmutils"
makedepends="kf6-ktextwidgets-devel kf6-kcmutils-devel kf6-karchive-devel
kf6-kcodecs-devel kf6-kcompletion-devel kf6-kconfig-devel
kf6-kconfigwidgets-devel kf6-kcontacts-devel kf6-kcoreaddons-devel
kf6-kdbusaddons-devel kf6-ki18n-devel kf6-kiconthemes-devel kf6-kio-devel
kf6-kitemmodels-devel kf6-kjobwidgets-devel kf6-knewstuff-devel
kf6-kservice-devel kf6-ktexttemplate-devel kf6-kwidgetsaddons-devel
kf6-kxmlgui-devel kf6-purpose-devel kmime6-devel libkdepim-devel kimap-devel
kpimtextedit-devel ktextaddons-devel kf6-akonadi-devel akonadi-contacts-devel
kldap-devel akonadi-search-devel"
depends="qt6-plugin-networkinformation"
short_desc="Common libraries for KDE PIM"
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/pimcommon-${version}.tar.xz"
checksum=315ed55892b3c54ea5143addc7e92ec08bdf6157129643c8fd9562dc36ec5a9d
pimcommon-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}