diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /media-gfx/digikam | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'media-gfx/digikam')
-rw-r--r-- | media-gfx/digikam/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/digikam/digikam-7.3.0-r1.ebuild (renamed from media-gfx/digikam/digikam-7.3.0.ebuild) | 9 | ||||
-rw-r--r-- | media-gfx/digikam/digikam-7.4.0-r1.ebuild | 147 | ||||
-rw-r--r-- | media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch | 31 | ||||
-rw-r--r-- | media-gfx/digikam/files/digikam-7.3.0-cmake.patch | 118 |
5 files changed, 308 insertions, 3 deletions
diff --git a/media-gfx/digikam/Manifest b/media-gfx/digikam/Manifest index 6f77a346e833..5eb7cccbdac7 100644 --- a/media-gfx/digikam/Manifest +++ b/media-gfx/digikam/Manifest @@ -1,3 +1,7 @@ +AUX digikam-7.3.0-akonadi-21.12.0.patch 933 BLAKE2B 67e962c10aea81d29f4ca41e9ca316990384798227b170dc597b381b47ce689663fdb8df9a1ebd5353268f6f734604f6f2f669ecf605bc293bf71c2fdc2c2032 SHA512 0ba385af8369623444c0f8dadd4ed285e6d03bc43ead34c149e1fe8599c25d35cad5e8102ca6a9863cc6629e41fa8b32794ffde645612a5246a1e635d121ea20 +AUX digikam-7.3.0-cmake.patch 4316 BLAKE2B 7da300081ad72f6a3c1f5dc4c5c04bbc67d5cc2b2a876dfe0c72dddde19274060c9f4fb8e723a9ebf023dbd1d7993ccfa96426a26ffd4bd736213a96058ad4df SHA512 a326826ff291e9facae55ad3bbc03e5d7173437c9b9734e3b48a5eb6c18ed2f3e1afcb44a3c0f3a2b77fb67f6d414da1dc03992fa9f70d7307e5864d66e2fff3 +DIST digiKam-7.4.0.tar.xz 339575096 BLAKE2B b7a556cd8d86bbc60530d697d8ffe42c497cd8ff5dd408f7a2afd1106c96804908e15b6faf1d8090f12aaea62e99d90751ea36c6e36a7bbec62b5f194452d0f1 SHA512 aea494c4636255e25db1cee7968cdec49530064f737897940b9e2184d214b77024f31226fa76e099362966e687e5ed05bc8486ae0645c2c18d9bbcc452dd1b6e DIST digikam-7.3.0.tar.xz 256985340 BLAKE2B 9eb9802340f4d071a8378019eba007a25f1e5eeaf9d6acfa9b062c5ecf308a4e59408e078e53cea4d4ed3624d73181f3bb7973622512167bcc44748e063b13ed SHA512 71cb07de32fb9b07e0f9989a718b2a307618eaaeba6566dc6802b79e48c61f3ab00ca44e12c3971c2efc41448192a2e5a652d2cfd09be058d2bc98f40b5ebaad -EBUILD digikam-7.3.0.ebuild 4002 BLAKE2B 353ccc6cb8c0576a444c73024c48e091cb4bbaff09fbf5adaa38d452ad88c5c6efdf79c069cdc13a344a84364511712c98d0f360c6818b835390640198a54737 SHA512 d913e9908c8d45d08bce8be3239436fbc4a8fc036f2584cc8f351cc9f8e0b5e33f90889caa42696892fdf37f89b31e31852869b9bb6f05850eabf432b096d9f9 +EBUILD digikam-7.3.0-r1.ebuild 4090 BLAKE2B e002e678d8fd2f0df0a05be025df05f17edd8be0ed3383839ff8d8b5d00aeada62bc418e6db21156b8fe00102ec3f36b99a5f440914c81f5a77fcdb5accd6991 SHA512 40eb1bafc37691da3a77a5c162b38a1e7521651598b4b17d84d972b441481cda30aee14198b26c46bb69aaede8f1f2cd7d09177345d7023053d5ac28eff9c7ab +EBUILD digikam-7.4.0-r1.ebuild 4030 BLAKE2B e0a8a7d8a93ca946d2dc793585a43f5d5a9d361534b96cf04399de39864482149fb9d73b29fce0e98e64036258541ca4b161401e7fdeeadabcdf228ad7cef817 SHA512 a2a60ca8b7a8cc92e3a164764f2e9850338b5f286fb797bef614d8795533288444260f8e4abd77fbf47cb3a5b051d741f75577541b7d77096f3fa51ed6a13757 MISC metadata.xml 1166 BLAKE2B 022418e3ce42ac9ec248d5301d20786cd3ddedac61e85b934d9074d9e68fa9511720976620ae84dc2def3961fba307fa9c9d84e5bd90896da7b866b21dfbf7f9 SHA512 1e249e12495dcf72e0eb02f9fa7822112afba627a0b155a2188c382e69a3697cd186757484cd0f559a2985a83ace953a62cbb4e0afb4a6c9551d89053321b3c1 diff --git a/media-gfx/digikam/digikam-7.3.0.ebuild b/media-gfx/digikam/digikam-7.3.0-r1.ebuild index bdb373353664..46f064167d80 100644 --- a/media-gfx/digikam/digikam-7.3.0.ebuild +++ b/media-gfx/digikam/digikam-7.3.0-r1.ebuild @@ -62,7 +62,7 @@ COMMON_DEPEND=" >=kde-frameworks/kwindowsystem-${KFMIN}:5 >=kde-frameworks/kxmlgui-${KFMIN}:5 >=kde-frameworks/solid-${KFMIN}:5 - >=media-gfx/exiv2-0.27:= + >=media-gfx/exiv2-0.27:=[xmp] media-libs/lcms:2 media-libs/liblqr media-libs/libpng:0= @@ -108,6 +108,11 @@ RDEPEND="${COMMON_DEPEND} panorama? ( media-gfx/hugin ) " +PATCHES=( + "${FILESDIR}/${P}-cmake.patch" + "${FILESDIR}/${P}-akonadi-21.12.0.patch" +) + pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp ecm_pkg_pretend @@ -126,6 +131,7 @@ src_configure() { -DCMAKE_DISABLE_FIND_PACKAGE_Jasper=ON -DENABLE_QWEBENGINE=ON -DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook) + -DENABLE_KFILEMETADATASUPPORT=$(usex semantic-desktop) $(cmake_use_find_package calendar KF5CalendarCore) $(cmake_use_find_package gphoto2 Gphoto2) $(cmake_use_find_package heif X265) @@ -139,7 +145,6 @@ src_configure() { $(cmake_use_find_package opengl OpenGL) $(cmake_use_find_package panorama KF5ThreadWeaver) $(cmake_use_find_package scanner KF5Sane) - $(cmake_use_find_package semantic-desktop KF5FileMetaData) $(cmake_use_find_package X X11) ) diff --git a/media-gfx/digikam/digikam-7.4.0-r1.ebuild b/media-gfx/digikam/digikam-7.4.0-r1.ebuild new file mode 100644 index 000000000000..b9ebebffc487 --- /dev/null +++ b/media-gfx/digikam/digikam-7.4.0-r1.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KFMIN=5.88.0 +QTMIN=5.15.2 +inherit ecm kde.org toolchain-funcs + +if [[ ${KDE_BUILD_TYPE} != live ]]; then + if [[ ${PV} =~ beta[0-9]$ ]]; then + SRC_URI="mirror://kde/unstable/${PN}/" + else + SRC_URI="mirror://kde/stable/${PN}/${PV}/" + fi + SRC_URI+="digiKam-${PV/_/-}.tar.xz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${PV/_/-}" +fi + +DESCRIPTION="Digital photo management application" +HOMEPAGE="https://www.digikam.org/" + +LICENSE="GPL-2" +SLOT="5" +IUSE="addressbook calendar gphoto2 heif +imagemagick +lensfun marble mediaplayer mysql opengl openmp +panorama scanner semantic-desktop X" + +# bug 366505 +RESTRICT="test" + +COMMON_DEPEND=" + dev-libs/expat + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5[-gles2-only] + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5[mysql?] + >=dev-qt/qtwebengine-${QTMIN}:5[widgets] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-qt/qtxmlpatterns-${QTMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + >=media-gfx/exiv2-0.27:=[xmp] + media-libs/lcms:2 + media-libs/liblqr + media-libs/libpng:0= + >=media-libs/opencv-3.3.0:=[contrib,contribdnn] + media-libs/tiff:0 + virtual/jpeg:0 + addressbook? ( + >=kde-apps/akonadi-contacts-19.04.3:5 + >=kde-frameworks/kcontacts-${KFMIN}:5 + ) + calendar? ( >=kde-frameworks/kcalendarcore-${KFMIN}:5 ) + gphoto2? ( media-libs/libgphoto2:= ) + heif? ( media-libs/x265:= ) + imagemagick? ( media-gfx/imagemagick:= ) + lensfun? ( media-libs/lensfun ) + marble? ( + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=kde-apps/marble-19.04.3:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + ) + mediaplayer? ( + media-libs/qtav[opengl(+)] + media-video/ffmpeg:= + ) + opengl? ( + >=dev-qt/qtopengl-${QTMIN}:5 + virtual/opengl + ) + panorama? ( >=kde-frameworks/threadweaver-${KFMIN}:5 ) + scanner? ( >=kde-apps/libksane-19.04.3:5 ) + semantic-desktop? ( >=kde-frameworks/kfilemetadata-${KFMIN}:5 ) + X? ( + >=dev-qt/qtx11extras-${QTMIN}:5 + x11-libs/libX11 + ) +" +DEPEND="${COMMON_DEPEND} + dev-cpp/eigen:3 + dev-libs/boost[threads(+)] +" +RDEPEND="${COMMON_DEPEND} + mysql? ( virtual/mysql[server(+)] ) + panorama? ( media-gfx/hugin ) +" +BDEPEND=" + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" + +PATCHES=( "${FILESDIR}/${PN}-7.3.0-cmake.patch" ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + ecm_pkg_pretend +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + ecm_pkg_setup +} + +# FIXME: Unbundle libraw (libs/rawengine/libraw) +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=OFF # bug 698192 + -DENABLE_APPSTYLES=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Jasper=ON + -DENABLE_QWEBENGINE=ON + -DENABLE_AKONADICONTACTSUPPORT=$(usex addressbook) + $(cmake_use_find_package calendar KF5CalendarCore) + $(cmake_use_find_package gphoto2 Gphoto2) + $(cmake_use_find_package heif X265) + $(cmake_use_find_package imagemagick ImageMagick) + $(cmake_use_find_package lensfun LensFun) + $(cmake_use_find_package marble Marble) + -DENABLE_MEDIAPLAYER=$(usex mediaplayer) + $(cmake_use_find_package mediaplayer QtAV) + -DENABLE_MYSQLSUPPORT=$(usex mysql) + -DENABLE_INTERNALMYSQL=$(usex mysql) + $(cmake_use_find_package opengl OpenGL) + $(cmake_use_find_package panorama KF5ThreadWeaver) + $(cmake_use_find_package scanner KF5Sane) + $(cmake_use_find_package semantic-desktop KF5FileMetaData) + $(cmake_use_find_package X X11) + ) + + ecm_src_configure +} diff --git a/media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch b/media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch new file mode 100644 index 000000000000..6e4dd25a4028 --- /dev/null +++ b/media-gfx/digikam/files/digikam-7.3.0-akonadi-21.12.0.patch @@ -0,0 +1,31 @@ +From 95a8ece964681fc6823e968541da2da2da06b3dd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20USTA?= <omerusta@gmail.com> +Date: Sat, 2 Oct 2021 21:50:04 +0300 +Subject: [PATCH] Fix compile for newer Akonadi Build Versions + +--- + core/utilities/extrasupport/addressbook/akonadiiface.cpp | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/core/utilities/extrasupport/addressbook/akonadiiface.cpp b/core/utilities/extrasupport/addressbook/akonadiiface.cpp +index 8e43dad0da..cb38036e39 100644 +--- a/core/utilities/extrasupport/addressbook/akonadiiface.cpp ++++ b/core/utilities/extrasupport/addressbook/akonadiiface.cpp +@@ -41,7 +41,14 @@ + #endif + + #include <kjob.h> ++#include <akonadi_version.h> ++ ++#if AKONADI_VERSION >= QT_VERSION_CHECK(5, 18, 41) ++#include <Akonadi/Item> ++#else + #include <AkonadiCore/Item> ++#endif ++ + #include <Akonadi/Contact/ContactSearchJob> + #include <KContacts/Addressee> + +-- +2.34.1 + diff --git a/media-gfx/digikam/files/digikam-7.3.0-cmake.patch b/media-gfx/digikam/files/digikam-7.3.0-cmake.patch new file mode 100644 index 000000000000..2b580f92a1cc --- /dev/null +++ b/media-gfx/digikam/files/digikam-7.3.0-cmake.patch @@ -0,0 +1,118 @@ +From 370308fb8381b55e7ebfcdd77f1361b49a288f88 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sun, 17 Feb 2019 23:51:03 +0100 +Subject: [PATCH] Un-break optional Qt5/KF5 detection + +--- + core/CMakeLists.txt | 58 ++++++++++++++++----------------------------- + 1 file changed, 20 insertions(+), 38 deletions(-) + +diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt +index 16bba83335..b8cdc59baa 100644 +--- a/core/CMakeLists.txt ++++ b/core/CMakeLists.txt +@@ -65,17 +65,14 @@ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED + ) + + if(ENABLE_QWEBENGINE) +- find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS WebEngineWidgets) ++ find_package(Qt5WebEngineWidgets ${QT_MIN_VERSION} REQUIRED NO_MODULE) + else() +- find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS WebKitWidgets) ++ find_package(Qt5WebKitWidgets ${QT_MIN_VERSION} REQUIRED NO_MODULE) + endif() + +-find_package(Qt5 ${QT_MIN_VERSION} +- OPTIONAL_COMPONENTS +- DBus +- OpenGL +- XmlPatterns # For Rajce plugin +-) ++find_package(Qt5DBus ${QT_MIN_VERSION}) ++find_package(Qt5OpenGL ${QT_MIN_VERSION}) ++find_package(Qt5XmlPatterns ${QT_MIN_VERSION}) # For Rajce plugin + + if(ENABLE_DBUS) + if(NOT Qt5DBus_FOUND) +@@ -86,16 +83,11 @@ endif() + # Dependencies For unit tests and CLI test tools + + if(BUILD_TESTING) +- find_package(Qt5 ${QT_MIN_VERSION} REQUIRED +- NO_MODULE COMPONENTS +- Test +- ) +- +- find_package(Qt5 ${QT_MIN_VERSION} +- QUIET +- OPTIONAL_COMPONENTS +- Qml WebView # Optional, for 'sialis' O2 library test tool. +- ) ++ find_package(Qt5Test ${QT_MIN_VERSION} NO_MODULE) ++ ++ # Optional, for 'sialis' O2 library test tool. ++ find_package(Qt5Qml ${QT_MIN_VERSION} QUIET NO_MODULE) ++ find_package(Qt5WebView ${QT_MIN_VERSION} QUIET NO_MODULE) + endif() + + find_package(KF5 ${KF5_MIN_VERSION} REQUIRED +@@ -113,38 +105,28 @@ find_package(KF5 ${KF5_MIN_VERSION} QUIET + OPTIONAL_COMPONENTS + KIO # For Desktop integration (Widgets only). + IconThemes # For Desktop integration. +- FileMetaData # For KDE file indexer support. + ThreadWeaver # For Panorama tool. + NotifyConfig # KDE desktop application notify configuration. + Notifications # KDE desktop notifications integration. + ) + +-find_package(KF5 ${AKONADI_MIN_VERSION} QUIET +- OPTIONAL_COMPONENTS +- AkonadiContact # For KDE Mail Contacts support. +- Contacts # API for contacts/address book data. +-) ++find_package(KF5Sane ${KSANE_MIN_VERSION} QUIET) # For digital scanner support. + +-find_package(KF5 ${KSANE_MIN_VERSION} QUIET +- OPTIONAL_COMPONENTS +- Sane # For digital scanner support. +-) +- +-find_package(KF5 ${CALENDAR_MIN_VERSION} QUIET +- OPTIONAL_COMPONENTS +- CalendarCore # For Calendar tool. +-) ++find_package(KF5CalendarCore ${CALENDAR_MIN_VERSION} QUIET) # For Calendar tool. + + if ("${KF5CalendarCore_VERSION}" VERSION_GREATER 5.6.40) + set(HAVE_KCALENDAR_QDATETIME TRUE) + endif() + +-if(ENABLE_AKONADICONTACTSUPPORT AND (NOT KF5AkonadiContact_FOUND OR NOT KF5Contacts_FOUND)) +- set(ENABLE_AKONADICONTACTSUPPORT OFF) ++if(ENABLE_AKONADICONTACTSUPPORT) ++ find_package(KF5 ${AKONADI_MIN_VERSION} REQUIRED ++ AkonadiContact # For KDE Mail Contacts support. ++ Contacts # API for contacts/address book data. ++ ) + endif() + +-if(ENABLE_KFILEMETADATASUPPORT AND NOT KF5FileMetaData_FOUND) +- set(ENABLE_KFILEMETADATASUPPORT OFF) ++if(ENABLE_KFILEMETADATASUPPORT) ++ find_package(KF5FileMetaData ${KF5_MIN_VERSION} REQUIRED) # For KDE file indexer support. + endif() + + # Check if KIO have been compiled with KIOWidgets. digiKam only needs this one. +@@ -275,7 +257,7 @@ endif() + find_package(X11) + + if(X11_FOUND) +- find_package(Qt5 ${QT_MIN_VERSION} NO_MODULE COMPONENTS X11Extras) ++ find_package(Qt5X11Extras ${QT_MIN_VERSION} NO_MODULE) + set(HAVE_X11 TRUE) + else() + set(HAVE_X11 FALSE) +-- +2.34.1 + |