diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-23 02:20:58 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-23 08:26:14 +0200 |
commit | 446a6b66d2e56b3b1ff1cb7c89dbdccbb6d82a68 (patch) | |
tree | d53f4b9839533c0bf533b083f592cdfd11c52c49 | |
parent | kde-plasma/libksysguard: 5.22.2 version bump (diff) | |
download | gentoo-446a6b66d2e56b3b1ff1cb7c89dbdccbb6d82a68.tar.gz gentoo-446a6b66d2e56b3b1ff1cb7c89dbdccbb6d82a68.tar.bz2 gentoo-446a6b66d2e56b3b1ff1cb7c89dbdccbb6d82a68.zip |
kde-plasma/libkworkspace: 5.22.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-plasma/libkworkspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/libkworkspace/libkworkspace-5.22.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index 6ad5406c3cc8..cf909406ce93 100644 --- a/kde-plasma/libkworkspace/Manifest +++ b/kde-plasma/libkworkspace/Manifest @@ -1,2 +1,3 @@ DIST plasma-workspace-5.21.5.tar.xz 9724000 BLAKE2B 2688c8aacd4e5584bb2660a287563aa683af4d469aad45f3521d31ec569d403204cceeb167062a9d8dfe591972db3758d5f46c21ca7c30453cd6740f3e3b470a SHA512 6918c1a29e977ac7f3ebf6ac7308f20f20712db96bf10599f3372987509630aa2ca8bc6adf0b1af4e543ccd2a2001e38ce02d759d25f09588c7c1aaa358af1b4 DIST plasma-workspace-5.22.1.tar.xz 8349504 BLAKE2B 5f1b2458a83d992e77c197386716b46c623f50505c6661fe1606040a90b42dbdf60203e0bbc007f2a7e1267e49b5d083ee04915cc9d6cb2f8f182d8f0acf1642 SHA512 a09f81ab3dce21e834d162b0be767c91070595969e35206650db70bab726dbed5c4e420e88c11e11b5b2bbf0d5f5a6ddb9ca06a57f6ff255477282f653213cfc +DIST plasma-workspace-5.22.2.tar.xz 8351204 BLAKE2B 9cf36467599ea7484328a3c3fb4ae883308a4880d89acda271df3761b19663f32bb2630debacc436ef3884b4314519190e8bf24de07c8592914325c005c9694c SHA512 72e5dfbc0d4b7517194b11321f481727c92801957b6216e4584ae14babffbc903824159b682a0403a50f4c27f2c0b99b23dc664655a68868f44d0103770ced0b diff --git a/kde-plasma/libkworkspace/libkworkspace-5.22.2.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.22.2.ebuild new file mode 100644 index 000000000000..683900192dfd --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.22.2.ebuild @@ -0,0 +1,55 @@ +# 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.82.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/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-plasma/kscreenlocker-${PVCUT}:5 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau +" +DEPEND="${RDEPEND} + >=kde-frameworks/kinit-${KFMIN}:5 + >=kde-plasma/kwin-${PVCUT}:5 +" + +S="${S}/${PN}" + +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 + + eapply "${FILESDIR}/${PN}-5.21.90-standalone.patch" + sed -e "/set/s/GENTOO_PV/$(ver_cut 1-3)/" -i CMakeLists.txt || die + cat >> CMakeLists.txt <<- _EOF_ || die + ki18n_install(po) + _EOF_ + + ecm_src_prepare +} |