summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-01-27 20:04:26 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-01-27 20:04:26 +0100
commitae99e91c16a6004cb9ddc18b3eb457da50dee243 (patch)
treeeab200be1bad9603e7c6daa0ea194f1f8f967b10
parent077b9b99e15c58fe5e8c62606b3765230007f080 (diff)
downloadkde-ae99e91c16a6004cb9ddc18b3eb457da50dee243.tar.gz
kde-ae99e91c16a6004cb9ddc18b3eb457da50dee243.tar.bz2
kde-ae99e91c16a6004cb9ddc18b3eb457da50dee243.zip
kde-frameworks/extra-cmake-modules: Rebase disable-qmlplugindump.patch
Reported-by: Duncan <1i5t5.duncan@cox.net> Closes: https://bugs.gentoo.org/831769 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild2
-rw-r--r--kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.91.0-disable-qmlplugindump.patch (renamed from kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.90.0-disable-qmlplugindump.patch)16
2 files changed, 9 insertions, 9 deletions
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
index a45565a6331..2d5e7957095 100644
--- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
@@ -34,7 +34,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch"
"${FILESDIR}/${PN}-5.72.0-skip-ecm_add_test-early.patch"
- "${FILESDIR}/${PN}-5.90.0-disable-qmlplugindump.patch"
+ "${FILESDIR}/${PN}-5.91.0-disable-qmlplugindump.patch"
)
python_check_deps() {
diff --git a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.90.0-disable-qmlplugindump.patch b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.91.0-disable-qmlplugindump.patch
index db46d3e8616..fbec9a441e3 100644
--- a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.90.0-disable-qmlplugindump.patch
+++ b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.91.0-disable-qmlplugindump.patch
@@ -1,4 +1,4 @@
-From 763df79a4b468acd401f8adb5b245245a63d2934 Mon Sep 17 00:00:00 2001
+From 76ee984d5094990c2bd79c71b84ba9f82b3bf3da Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 8 Dec 2019 15:01:33 +0100
Subject: [PATCH] ECMFindQMLModule.cmake.in: Add ECM_DISABLE_QMLPLUGINDUMP to
@@ -9,13 +9,13 @@ See also: https://phabricator.kde.org/D25812
Backstory: https://bugzilla.gnome.org/show_bug.cgi?id=744135
BUG: 387753
---
- modules/ECMFindQMLModule.cmake.in | 45 ++++++++++++++++++-------------
+ modules/ECMFindQmlModule.cmake.in | 45 ++++++++++++++++++-------------
1 file changed, 27 insertions(+), 18 deletions(-)
-diff --git a/modules/ECMFindQMLModule.cmake.in b/modules/ECMFindQMLModule.cmake.in
-index 7cd737b..9847825 100644
---- a/modules/ECMFindQMLModule.cmake.in
-+++ b/modules/ECMFindQMLModule.cmake.in
+diff --git a/modules/ECMFindQmlModule.cmake.in b/modules/ECMFindQmlModule.cmake.in
+index 6c054bf0..1c17c981 100644
+--- a/modules/ECMFindQmlModule.cmake.in
++++ b/modules/ECMFindQmlModule.cmake.in
@@ -7,27 +7,36 @@
include(FindPackageHandleStandardArgs)
include("${ECM_MODULE_DIR}/QtVersionOption.cmake")
@@ -25,7 +25,7 @@ index 7cd737b..9847825 100644
- query_qmake(qt_binaries_dir QT_HOST_BINS)
- find_program(QMLPLUGINDUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir})
-elseif (QT_MAJOR_VERSION EQUAL "6")
-- find_package(Qt6QmlTools REQUIRED)
+- find_package(Qt6 COMPONENTS QmlTools REQUIRED)
- get_target_property(QMLPLUGINDUMP_PROGRAM Qt6::qmlplugindump LOCATION)
-endif()
-
@@ -51,7 +51,7 @@ index 7cd737b..9847825 100644
+ query_qmake(qt_binaries_dir QT_HOST_BINS)
+ find_program(QMLPLUGINDUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir})
+ elseif (QT_MAJOR_VERSION EQUAL "6")
-+ find_package(Qt6QmlTools REQUIRED)
++ find_package(Qt6 COMPONENTS QmlTools REQUIRED)
+ get_target_property(QMLPLUGINDUMP_PROGRAM Qt6::qmlplugindump LOCATION)
+ endif()
+