void-packages/srcpkgs/kitinerary/template

40 lines
1.3 KiB
Bash

# Template file for 'kitinerary'
pkgname=kitinerary
version=24.05.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 gettext kf6-kcoreaddons pkg-config
qt6-tools qt6-tools qt6-tools-devel kf6-kconfig"
makedepends="kf6-kcalendarcore-devel kf6-kcontacts-devel kf6-kdeclarative-devel
kf6-karchive-devel kmime6-devel
kpkpass-devel libphonenumber-devel poppler-devel libxml2-devel qt6-base-devel
zxing-cpp-devel"
short_desc="Data model and extraction system for travel reservation information"
maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
license="LGPL-2.1-or-later"
homepage="https://kontact.kde.org"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kitinerary"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=e1c77f0a8e826fd95f001a6d8fc941906d3e0aad98c2876c77c5e3ba7462d0e6
do_check() {
cd build
# extractortest is broken
ctest -E extractortest
}
kitinerary-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}