void-packages/srcpkgs/digikam/template

43 lines
1.8 KiB
Bash

# Template file for 'digikam'
pkgname=digikam
version=8.3.0
revision=3
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins -DBUILD_WITH_QT6=ON
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules gettext pkg-config bison flex qt6-base
kf6-kcoreaddons kf6-kconfig"
makedepends="qt6-base-private-devel libjpeg-turbo-devel qt6-scxml-devel
qt6-declarative-devel kf6-kxmlgui-devel kf6-kfilemetadata-devel gpgme-qt6
kf6-kcoreaddons-devel kf6-kconfig-devel kf6-kservice-devel kf6-kwindowsystem-devel
kf6-solid-devel kf6-ki18n-devel kf6-kio-devel kf6-kiconthemes-devel
kf6-knotifyconfig-devel kf6-knotifications-devel kf6-threadweaver-devel
akonadi-contacts-devel libksane6-devel kf6-kcalendarcore-devel tiff-devel
lcms2-devel libopencv-devel liblqr-devel libgphoto2-devel qt6-webengine-devel
lensfun-devel eigen jasper-devel MesaLib-devel glu-devel qt6-webchannel-devel
kf6-kconfigwidgets-devel kf6-kwidgetsaddons-devel libheif-devel qt6-networkauth-devel
libmagick-devel"
depends="qt6-plugin-sqlite qt6-plugin-mysql"
short_desc="Advanced digital photo management application"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.digikam.org"
distfiles="${KDE_SITE}/digikam/${version}/digiKam-${version}-1.tar.xz"
checksum=05b145ff7f2f2005fa21bc579c152ab23c8191b678ff2944c8f0406d6b9de6d8
# TODO add marble back when it's ported to Qt6
CXXFLAGS="-Wl,-lpthread"
if [ "$XBPS_TARGET_ENDIAN" != "le" ] ||
[ $XBPS_WORDSIZE != 64 ] ||
[ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="require webengine"
fi
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" -DSSE4_1_FOUND=OFF -DSSE2_FOUND=OFF"
fi