Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/extra-cmake-modules/files/, kde-frameworks/extra-cmake-modules/
Date: Fri, 25 Mar 2022 19:30:27
Message-Id: 1648236590.f6fdd254c3fa5a2c94fa4cfe713d13bd0447eb3b.asturm@gentoo
1 commit: f6fdd254c3fa5a2c94fa4cfe713d13bd0447eb3b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 25 19:29:50 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 25 19:29:50 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f6fdd254
7
8 kde-frameworks/extra-cmake-modules: Rebase disable-qmlplugindump.patch
9
10 Closes: https://bugs.gentoo.org/835995
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 .../extra-cmake-modules/extra-cmake-modules-9999.ebuild | 2 +-
15 ...extra-cmake-modules-5.93.0-disable-qmlplugindump.patch} | 14 +++++++-------
16 2 files changed, 8 insertions(+), 8 deletions(-)
17
18 diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
19 index 2d5e795709..df4d73770a 100644
20 --- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
21 +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild
22 @@ -34,7 +34,7 @@ RDEPEND="
23 PATCHES=(
24 "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch"
25 "${FILESDIR}/${PN}-5.72.0-skip-ecm_add_test-early.patch"
26 - "${FILESDIR}/${PN}-5.91.0-disable-qmlplugindump.patch"
27 + "${FILESDIR}/${PN}-5.93.0-disable-qmlplugindump.patch"
28 )
29
30 python_check_deps() {
31
32 diff --git a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.91.0-disable-qmlplugindump.patch b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.93.0-disable-qmlplugindump.patch
33 similarity index 90%
34 rename from kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.91.0-disable-qmlplugindump.patch
35 rename to kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.93.0-disable-qmlplugindump.patch
36 index fbec9a441e..0683bd3eff 100644
37 --- a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.91.0-disable-qmlplugindump.patch
38 +++ b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.93.0-disable-qmlplugindump.patch
39 @@ -1,4 +1,4 @@
40 -From 76ee984d5094990c2bd79c71b84ba9f82b3bf3da Mon Sep 17 00:00:00 2001
41 +From 1c79ef2189dc156bbe0f182411bcc136f140a21d Mon Sep 17 00:00:00 2001
42 From: Andreas Sturmlechner <asturm@g.o>
43 Date: Sun, 8 Dec 2019 15:01:33 +0100
44 Subject: [PATCH] ECMFindQMLModule.cmake.in: Add ECM_DISABLE_QMLPLUGINDUMP to
45 @@ -13,7 +13,7 @@ BUG: 387753
46 1 file changed, 27 insertions(+), 18 deletions(-)
47
48 diff --git a/modules/ECMFindQmlModule.cmake.in b/modules/ECMFindQmlModule.cmake.in
49 -index 6c054bf0..1c17c981 100644
50 +index 0ee5665e..d6e1f14c 100644
51 --- a/modules/ECMFindQmlModule.cmake.in
52 +++ b/modules/ECMFindQmlModule.cmake.in
53 @@ -7,27 +7,36 @@
54 @@ -21,8 +21,8 @@ index 6c054bf0..1c17c981 100644
55 include("${ECM_MODULE_DIR}/QtVersionOption.cmake")
56
57 -if (QT_MAJOR_VERSION EQUAL "5")
58 -- include("${ECM_MODULE_DIR}/ECMQueryQmake.cmake")
59 -- query_qmake(qt_binaries_dir QT_HOST_BINS)
60 +- include("${ECM_MODULE_DIR}/ECMQueryQt.cmake")
61 +- ecm_query_qt(qt_binaries_dir QT_HOST_BINS)
62 - find_program(QMLPLUGINDUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir})
63 -elseif (QT_MAJOR_VERSION EQUAL "6")
64 - find_package(Qt6 COMPONENTS QmlTools REQUIRED)
65 @@ -47,8 +47,8 @@ index 6c054bf0..1c17c981 100644
66 - set(@GENMODULE@_FOUND FALSE)
67 +
68 + if (QT_MAJOR_VERSION EQUAL "5")
69 -+ include("${ECM_MODULE_DIR}/ECMQueryQmake.cmake")
70 -+ query_qmake(qt_binaries_dir QT_HOST_BINS)
71 ++ include("${ECM_MODULE_DIR}/ECMQueryQt.cmake")
72 ++ ecm_query_qt(qt_binaries_dir QT_HOST_BINS)
73 + find_program(QMLPLUGINDUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir})
74 + elseif (QT_MAJOR_VERSION EQUAL "6")
75 + find_package(Qt6 COMPONENTS QmlTools REQUIRED)
76 @@ -72,5 +72,5 @@ index 6c054bf0..1c17c981 100644
77
78 find_package_handle_standard_args(@GENMODULE@
79 --
80 -2.34.1
81 +2.35.1