digikam: update to 8.2.0.

This commit is contained in:
Đoàn Trần Công Danh 2024-05-13 10:17:49 +07:00
parent 99d9a0f221
commit 04c511f9d1
2 changed files with 44 additions and 29 deletions

View File

@ -0,0 +1,21 @@
--- a/core/dplugins/generic/tools/htmlgallery/generator/gallerytheme.cpp
+++ b/core/dplugins/generic/tools/htmlgallery/generator/gallerytheme.cpp
@@ -13,6 +13,9 @@
*
* ============================================================ */
+#ifdef QT_NO_CAST_FROM_ASCII
+#undef QT_NO_CAST_FROM_ASCII
+#endif
#include "gallerytheme.h"
// Qt includes
--- a/core/libs/dplugins/webservices/o2/src/o0baseauth.cpp
+++ b/core/libs/dplugins/webservices/o2/src/o0baseauth.cpp
@@ -1,3 +1,6 @@
+#ifdef QT_NO_CAST_FROM_ASCII
+#undef QT_NO_CAST_FROM_ASCII
+#endif
#include <QDataStream>
#include <QDebug>
#include <QUrlQuery>

View File

@ -1,21 +1,24 @@
# Template file for 'digikam' # Template file for 'digikam'
pkgname=digikam pkgname=digikam
version=8.2.0 version=8.2.0
revision=1 revision=2
build_style=cmake build_style=cmake
configure_args="-DBUILD_TESTING=OFF" configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
hostmakedepends="extra-cmake-modules gettext pkg-config bison flex qt5-qmake -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins -DBUILD_WITH_QT6=ON
qt5-host-tools kcoreaddons" -DKDE_INSTALL_QMLDIR=lib/qt6/qml
makedepends="qt5-devel libjpeg-turbo-devel qt5-plugin-mysql qt5-plugin-odbc -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds qt5-xmlpatterns-devel hostmakedepends="extra-cmake-modules gettext pkg-config bison flex qt6-base
qt5-webkit-devel qt5-webview-devel qt5-declarative-devel kxmlgui-devel kf6-kcoreaddons kf6-kconfig"
kcoreaddons-devel kconfig-devel kservice-devel kwindowsystem-devel makedepends="qt6-base-devel libjpeg-turbo-devel qt6-plugin-mysql qt6-plugin-odbc
ksolid-devel ki18n-devel kio-devel kiconthemes-devel kfilemetadata5-devel qt6-plugin-pgsql qt6-plugin-sqlite qt6-scxml-devel
knotifyconfig-devel knotifications-devel threadweaver-devel qt6-declarative-devel kf6-kxmlgui-devel kf6-kfilemetadata-devel
akonadi-contacts-devel libksane-devel kcalendarcore-devel tiff-devel kf6-kcoreaddons-devel kf6-kconfig-devel kf6-kservice-devel kf6-kwindowsystem-devel
lcms2-devel qtav libopencv-devel liblqr-devel marble5-devel libgphoto2-devel kf6-solid-devel kf6-ki18n-devel kf6-kio-devel kf6-kiconthemes-devel
lensfun-devel eigen jasper-devel MesaLib-devel glu-devel qt5-webchannel-devel kf6-knotifyconfig-devel kf6-knotifications-devel kf6-threadweaver-devel
kconfigwidgets-devel kwidgetsaddons-devel libheif-devel qt5-networkauth-devel" akonadi-contacts-devel libksane6-devel kf6-kcalendarcore-devel tiff-devel
lcms2-devel qtav 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"
short_desc="Advanced digital photo management application" short_desc="Advanced digital photo management application"
maintainer="Helmut Pozimski <helmut@pozimski.eu>" maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, LGPL-2.1-or-later"
@ -23,25 +26,16 @@ homepage="https://www.digikam.org"
distfiles="${KDE_SITE}/digikam/${version}/digiKam-${version}.tar.xz" distfiles="${KDE_SITE}/digikam/${version}/digiKam-${version}.tar.xz"
checksum=2f7fcb559b123ed9ecae5a5aef6f4560eee5f49206d9d1746dec9ab6c8fb38bf checksum=2f7fcb559b123ed9ecae5a5aef6f4560eee5f49206d9d1746dec9ab6c8fb38bf
# TODO add marble back when it's ported to Qt6
CXXFLAGS="-Wl,-lpthread" CXXFLAGS="-Wl,-lpthread"
build_options="webengine" if [ "$XBPS_TARGET_ENDIAN" != "le" ] ||
desc_option_webengine="Build with Qt5 WebEngine" [ $XBPS_WORDSIZE != 64 ] ||
[ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then broken="require webengine"
if [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then
build_options_default="webengine"
fi
fi fi
if [ -n "$CROSS_BUILD" ]; then if [ -n "$CROSS_BUILD" ]; then
configure_args+=" -DSSE4_1_FOUND=OFF -DSSE2_FOUND=OFF" configure_args+=" -DSSE4_1_FOUND=OFF -DSSE2_FOUND=OFF"
fi fi
if [ "$build_option_webengine" ]; then
makedepends+=" qt5-webengine-devel"
else
makedepends+=" qt5-webkit-devel"
configure_args+=" -DENABLE_QWEBENGINE=OFF"
fi