summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 22:09:17 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 22:18:24 +0100
commit45e753550ce2e95cf731d4daeba015cf71e962ce (patch)
treef2956a75ca66add036927925d00111f912f8389f /kde-plasma/libkworkspace
parentkde-plasma/libksysguard: 5.21.1 version bump (diff)
downloadgentoo-45e753550ce2e95cf731d4daeba015cf71e962ce.tar.gz
gentoo-45e753550ce2e95cf731d4daeba015cf71e962ce.tar.bz2
gentoo-45e753550ce2e95cf731d4daeba015cf71e962ce.zip
kde-plasma/libkworkspace: 5.21.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/libkworkspace')
-rw-r--r--kde-plasma/libkworkspace/Manifest1
-rw-r--r--kde-plasma/libkworkspace/libkworkspace-5.21.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest
index 2a03bc41241a..c06828f18266 100644
--- a/kde-plasma/libkworkspace/Manifest
+++ b/kde-plasma/libkworkspace/Manifest
@@ -1,2 +1,3 @@
DIST plasma-workspace-5.20.5.tar.xz 9041964 BLAKE2B b0bef6f74999d503064d55fdc670bd320a141c4619c0cfb7491158485096dfd636ad31dfbb4e9d7be3d86eca7b52bce97acb7aefe57377cce9e6a5ce1ad3cb9b SHA512 bd63502fdaa79deb380d254a3649a2810e4b2c6e748e9a38606f561cc46573a6e75631584a340a220742135f4682f9deea28c78b7fe4ad88ee6491f190b3212f
DIST plasma-workspace-5.21.0.tar.xz 9710020 BLAKE2B 8b041e723f9e69d176d6d63825b469e4e848b9dd10f588d5523f5c03562385e56d1e4c0930a3d108929396542b8d6dddb2e1fe2fe3721e815b00b9e603068d21 SHA512 c3739f9b689e08912f78ffb9ba1ba4ef9661c6aabf9e5a359604b5683917f35c4b47b94bbea684c21ff622507ec9196b6f532f5530fb78311f5007ff32d1f83b
+DIST plasma-workspace-5.21.1.tar.xz 9711648 BLAKE2B 2a8a483d54596f115cc51a6a95ef2e228266b30650be5f1f45c3b65ca6682005edfab031aa2926b1870a09981949f6b5220dcfc197c3476debb9b8c39fa17786 SHA512 5b7f299542c66e6f387267251d8a434c773dea365d80f4a06156c3060d829e00dd283d1a5251c4168e071691e746d78968b4e8022c459b0e9cb4de80a1a5e8f2
diff --git a/kde-plasma/libkworkspace/libkworkspace-5.21.1.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.21.1.ebuild
new file mode 100644
index 000000000000..b11c824373f4
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-5.21.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="true"
+KDE_ORG_NAME="plasma-workspace"
+KFMIN=5.78.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="Workspace library to interact with the Plasma session manager"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kinit-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/plasma-${KFMIN}:5
+ >=kde-plasma/kscreenlocker-${PVCUT}:5
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+"
+DEPEND="${RDEPEND}
+ >=kde-plasma/kwin-${PVCUT}:5
+"
+
+S="${S}/${PN}"
+
+PATCHES=( "${FILESDIR}/${PN}-5.19.80-standalone.patch" )
+
+src_prepare() {
+ # delete colliding libkworkspace translations, let ecm_src_prepare do its magic
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ find ../po -type f -name "*po" -and -not -name "libkworkspace*" -delete || die
+ rm -rf po/*/docs || die
+ cp -a ../po ./ || die
+ fi
+ ecm_src_prepare
+ if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ cat >> CMakeLists.txt <<- _EOF_ || die
+ ki18n_install(po)
+ _EOF_
+ fi
+
+ sed -e "/set/s/GENTOO_PV/$(ver_cut 1-3)/" \
+ -i CMakeLists.txt || die "Failed to prepare CMakeLists.txt"
+}