summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-26 13:04:47 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-26 14:04:51 +0200
commit8f9ab097ec1aa4d73bb913800394705121b7a1f0 (patch)
tree69424e308c0d864acf4a1919aeb715eafc214736 /kde-frameworks/kirigami
parentkde-frameworks/kjobwidgets: Fix ui-server crash (diff)
downloadgentoo-8f9ab097ec1aa4d73bb913800394705121b7a1f0.tar.gz
gentoo-8f9ab097ec1aa4d73bb913800394705121b7a1f0.tar.bz2
gentoo-8f9ab097ec1aa4d73bb913800394705121b7a1f0.zip
kde-frameworks/kirigami: Fix ScrollBar binding loop causing freezes
Upstream commit c28dff79721d3805edcd413ef233216b3b3b0104 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=448784 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kirigami')
-rw-r--r--kde-frameworks/kirigami/Manifest1
-rw-r--r--kde-frameworks/kirigami/kirigami-5.96.0-r1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/kirigami/Manifest b/kde-frameworks/kirigami/Manifest
index 3fef69e5d247..898fbaf3b45e 100644
--- a/kde-frameworks/kirigami/Manifest
+++ b/kde-frameworks/kirigami/Manifest
@@ -1,2 +1,3 @@
+DIST kirigami-5.96.0-fix-ScrollBar-binding-loop-freeze.patch.xz 8864 BLAKE2B f0222c16436c2fbe72198acdf6e00427d6b2ced08a3d7294ddeb11f39b10a744eabc11dc8cf3cf2353dc985405141b25e77f548f79de064b207bcea5ca7b0857 SHA512 10669cfc2e835d0d1904f2ecaef79a5c89807839a85c175006921336942b8b5f2b05e5e4d2cad249ec57d6937ff38e044ba15bc6f2d7c61eadab060851267da2
DIST kirigami2-5.92.0.tar.xz 354848 BLAKE2B 7aab1579693f7cf57a61f45eb3d7bc7431bee01ed1ede918e0068d3b4d41abe2f5b5f97cae9538068ae6ebe27a5abce3797c7ade7ff225a40ac49cf46c61a742 SHA512 42d75b8931f28ce2fa200c19acfc9194518b856dd33d9bbeb490f24ddb0ae03ba7c01443a5bc2a07088de69a9300245434460ddcd28cb2b1caa2f2288e45405a
DIST kirigami2-5.96.0.tar.xz 359936 BLAKE2B cadba252c1065d7c1c7a539b9d28489dc61683a3b688bdeb4c7d43528494d62d9f4fa3515d29a554d0c47c0bcc81169ab8d3f83952911147ef4fb06658560e50 SHA512 c96e7d53d263f3c5f0c3f3f98c6523555fd67fa5e12dbb0aecb81bc9f8a46f641d2176d377e9c7d901ca235151e004ff1163ac07521aabfb53e0e6517b4df546
diff --git a/kde-frameworks/kirigami/kirigami-5.96.0-r1.ebuild b/kde-frameworks/kirigami/kirigami-5.96.0-r1.ebuild
new file mode 100644
index 000000000000..e9cd38c1d1c0
--- /dev/null
+++ b/kde-frameworks/kirigami/kirigami-5.96.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_EXAMPLES="true"
+ECM_QTHELP="false"
+ECM_TEST="true"
+KDE_ORG_NAME="${PN}2"
+QTMIN=5.15.4
+inherit ecm frameworks.kde.org
+
+DESCRIPTION="Lightweight user interface framework for mobile and convergent applications"
+HOMEPAGE="https://techbase.kde.org/Kirigami"
+EGIT_REPO_URI="${EGIT_REPO_URI/${PN}2/${PN}}"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${P}-fix-ScrollBar-binding-loop-freeze.patch.xz"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+# requires package to already be installed
+RESTRICT="test"
+
+DEPEND="
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtquickcontrols2-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+"
+RDEPEND="${DEPEND}
+ >=dev-qt/qtgraphicaleffects-${QTMIN}:5
+"
+BDEPEND=">=dev-qt/linguist-tools-${QTMIN}:5"
+
+PATCHES=( "${WORKDIR}/${P}-fix-ScrollBar-binding-loop-freeze.patch" ) # KDE-bug 448784
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=$(usex examples)
+ )
+
+ ecm_src_configure
+}