summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-30 16:32:09 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-30 16:38:51 +0200
commitbf1180f1150f7f3fe2da126e07f292afea7c927e (patch)
tree95c8e50ea722aa86ea0ee0add91ec9be442654e6
parentdev-python/oauthlib: keyword 3.2.0 for ~riscv (diff)
downloadgentoo-bf1180f1150f7f3fe2da126e07f292afea7c927e.tar.gz
gentoo-bf1180f1150f7f3fe2da126e07f292afea7c927e.tar.bz2
gentoo-bf1180f1150f7f3fe2da126e07f292afea7c927e.zip
kde-frameworks/plasma: Visual regression fix
See also: https://mail.kde.org/pipermail/distributions/2022-March/001212.html Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/plasma/files/plasma-5.92.0-breeze-light-dark-visual-fix.patch40
-rw-r--r--kde-frameworks/plasma/plasma-5.92.0-r1.ebuild75
2 files changed, 115 insertions, 0 deletions
diff --git a/kde-frameworks/plasma/files/plasma-5.92.0-breeze-light-dark-visual-fix.patch b/kde-frameworks/plasma/files/plasma-5.92.0-breeze-light-dark-visual-fix.patch
new file mode 100644
index 000000000000..04992bcb129d
--- /dev/null
+++ b/kde-frameworks/plasma/files/plasma-5.92.0-breeze-light-dark-visual-fix.patch
@@ -0,0 +1,40 @@
+From 7352045b388f4b0ef553706bd219457e5018ce4e Mon Sep 17 00:00:00 2001
+From: Marco Martin <notmart@gmail.com>
+Date: Mon, 28 Mar 2022 21:20:16 +0000
+Subject: [PATCH] Don't install the heading SVG in breeze-light and breeze-dark
+ Plasma themes
+
+Installing that file there was an acky workaround that got broken by 2cccf230.
+---
+ src/desktoptheme/breeze-dark/CMakeLists.txt | 5 +----
+ src/desktoptheme/breeze-light/CMakeLists.txt | 4 ----
+ 2 files changed, 1 insertion(+), 8 deletions(-)
+
+diff --git a/src/desktoptheme/breeze-dark/CMakeLists.txt b/src/desktoptheme/breeze-dark/CMakeLists.txt
+index 8f2078e4d..7f8f99062 100644
+--- a/src/desktoptheme/breeze-dark/CMakeLists.txt
++++ b/src/desktoptheme/breeze-dark/CMakeLists.txt
+@@ -8,7 +8,4 @@ install(
+ FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
+ DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark
+ )
+-install(
+- FILES ${PROJECT_BINARY_DIR}/src/desktoptheme/breeze/default.gzipped/widgets/plasmoidheading.svgz
+- DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-dark/widgets
+-)
++
+diff --git a/src/desktoptheme/breeze-light/CMakeLists.txt b/src/desktoptheme/breeze-light/CMakeLists.txt
+index 678033cec..6688a603b 100644
+--- a/src/desktoptheme/breeze-light/CMakeLists.txt
++++ b/src/desktoptheme/breeze-light/CMakeLists.txt
+@@ -8,7 +8,3 @@ install(
+ FILES colors "${CMAKE_CURRENT_BINARY_DIR}/metadata.desktop"
+ DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light
+ )
+-install(
+- FILES ${PROJECT_BINARY_DIR}/src/desktoptheme/breeze/default.gzipped/widgets/plasmoidheading.svgz
+- DESTINATION ${PLASMA_DATA_INSTALL_DIR}/desktoptheme/breeze-light/widgets
+-)
+--
+GitLab
+
diff --git a/kde-frameworks/plasma/plasma-5.92.0-r1.ebuild b/kde-frameworks/plasma/plasma-5.92.0-r1.ebuild
new file mode 100644
index 000000000000..3e5fa1db605e
--- /dev/null
+++ b/kde-frameworks/plasma/plasma-5.92.0-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_NAME="${PN}-framework"
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Plasma framework"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="gles2-only man wayland X"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5[gles2-only=,X=]
+ >=dev-qt/qtquickcontrols-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ =kde-frameworks/kactivities-${PVCUT}*:5
+ =kde-frameworks/karchive-${PVCUT}*:5
+ =kde-frameworks/kconfig-${PVCUT}*:5
+ =kde-frameworks/kconfigwidgets-${PVCUT}*:5
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5
+ =kde-frameworks/kdeclarative-${PVCUT}*:5
+ =kde-frameworks/kglobalaccel-${PVCUT}*:5
+ =kde-frameworks/kguiaddons-${PVCUT}*:5
+ =kde-frameworks/ki18n-${PVCUT}*:5
+ =kde-frameworks/kiconthemes-${PVCUT}*:5
+ =kde-frameworks/kio-${PVCUT}*:5
+ =kde-frameworks/kirigami-${PVCUT}*:5
+ =kde-frameworks/knotifications-${PVCUT}*:5
+ =kde-frameworks/kpackage-${PVCUT}*:5
+ =kde-frameworks/kservice-${PVCUT}*:5
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5
+ =kde-frameworks/kxmlgui-${PVCUT}*:5
+ !gles2-only? ( media-libs/libglvnd[X?] )
+ wayland? (
+ =kde-frameworks/kwayland-${PVCUT}*:5
+ media-libs/libglvnd
+ )
+ X? (
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ x11-libs/libX11
+ x11-libs/libxcb
+ )
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+"
+BDEPEND="man? ( >=kde-frameworks/kdoctools-${PVCUT}:5 )"
+
+PATCHES=( "${FILESDIR}/${P}-breeze-light-dark-visual-fix.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package !gles2-only OpenGL)
+ $(cmake_use_find_package man KF5DocTools)
+ $(cmake_use_find_package wayland EGL)
+ $(cmake_use_find_package wayland KF5Wayland)
+ $(cmake_use_find_package X X11)
+ $(cmake_use_find_package X XCB)
+ )
+
+ ecm_src_configure
+}