Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/frameworkintegration/files/, kde-frameworks/frameworkintegration/
Date: Sun, 12 Jan 2020 01:00:00
Message-Id: 1578790774.d43e23742628e88ba2fafa1a4db6b56e6a77ca8c.asturm@gentoo
1 commit: d43e23742628e88ba2fafa1a4db6b56e6a77ca8c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 00:34:01 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 00:59:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43e2374
7
8 kde-frameworks/frameworkintegration: Update DEPENDs
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../frameworkintegration-5.66.0-unused-dep.patch | 25 +++++++++++
14 .../frameworkintegration-5.66.0-r1.ebuild | 49 ++++++++++++++++++++++
15 2 files changed, 74 insertions(+)
16
17 diff --git a/kde-frameworks/frameworkintegration/files/frameworkintegration-5.66.0-unused-dep.patch b/kde-frameworks/frameworkintegration/files/frameworkintegration-5.66.0-unused-dep.patch
18 new file mode 100644
19 index 00000000000..1e8ea5dafcc
20 --- /dev/null
21 +++ b/kde-frameworks/frameworkintegration/files/frameworkintegration-5.66.0-unused-dep.patch
22 @@ -0,0 +1,25 @@
23 +From 85c0bd7aa6cc635efa54e4d07c49878cfa0bb553 Mon Sep 17 00:00:00 2001
24 +From: Andreas Sturmlechner <asturm@g.o>
25 +Date: Sun, 12 Jan 2020 01:24:11 +0100
26 +Subject: [PATCH] Drop unused dependency
27 +
28 +---
29 + CMakeLists.txt | 2 +-
30 + 1 file changed, 1 insertion(+), 1 deletion(-)
31 +
32 +diff --git a/CMakeLists.txt b/CMakeLists.txt
33 +index c0eb508..e6d0713 100644
34 +--- a/CMakeLists.txt
35 ++++ b/CMakeLists.txt
36 +@@ -23,7 +23,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
37 + include(KDECMakeSettings)
38 +
39 + set(REQUIRED_QT_VERSION 5.12.0)
40 +-find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED DBus Widgets)
41 ++find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui Widgets)
42 +
43 +
44 + ecm_setup_version(PROJECT VARIABLE_PREFIX FRAMEWORKINTEGRATION
45 +--
46 +2.24.1
47 +
48
49 diff --git a/kde-frameworks/frameworkintegration/frameworkintegration-5.66.0-r1.ebuild b/kde-frameworks/frameworkintegration/frameworkintegration-5.66.0-r1.ebuild
50 new file mode 100644
51 index 00000000000..d81ffdb1765
52 --- /dev/null
53 +++ b/kde-frameworks/frameworkintegration/frameworkintegration-5.66.0-r1.ebuild
54 @@ -0,0 +1,49 @@
55 +# Copyright 1999-2020 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=7
59 +
60 +ECM_QTHELP="false"
61 +PVCUT=$(ver_cut 1-2)
62 +QTMIN=5.12.3
63 +VIRTUALX_REQUIRED="test"
64 +inherit ecm kde.org
65 +
66 +DESCRIPTION="Framework for integrating Qt applications with KDE Plasma workspaces"
67 +LICENSE="LGPL-2+"
68 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
69 +IUSE="appstream"
70 +
71 +# drop qtwidgets subslot operator when QT_MINIMAL >= 5.14.0
72 +RDEPEND="
73 + >=dev-qt/qtgui-${QTMIN}:5
74 + >=dev-qt/qtwidgets-${QTMIN}:5=
75 + =kde-frameworks/kconfig-${PVCUT}*:5
76 + =kde-frameworks/kconfigwidgets-${PVCUT}*:5
77 + =kde-frameworks/ki18n-${PVCUT}*:5
78 + =kde-frameworks/kiconthemes-${PVCUT}*:5
79 + =kde-frameworks/knewstuff-${PVCUT}*:5
80 + =kde-frameworks/knotifications-${PVCUT}*:5
81 + appstream? (
82 + app-admin/packagekit-qt
83 + dev-libs/appstream[qt5]
84 + )
85 +"
86 +DEPEND="${RDEPEND}
87 + =kde-frameworks/kpackage-${PVCUT}*:5
88 + =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
89 +"
90 +
91 +# requires running kde environment
92 +RESTRICT+=" test"
93 +
94 +PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" )
95 +
96 +src_configure() {
97 + local mycmakeargs=(
98 + $(cmake_use_find_package appstream AppStreamQt)
99 + $(cmake_use_find_package appstream packagekitqt5)
100 + )
101 +
102 + ecm_src_configure
103 +}