diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-02 19:27:56 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-03-02 21:23:48 +0100 |
commit | ba88ea8916d3112220304bb28c75f0203bae516e (patch) | |
tree | 6307df6703e2b2d77e4baf51f531ff35515917f0 | |
parent | kde-plasma/libksysguard: 5.21.2 version bump (diff) | |
download | gentoo-ba88ea8916d3112220304bb28c75f0203bae516e.tar.gz gentoo-ba88ea8916d3112220304bb28c75f0203bae516e.tar.bz2 gentoo-ba88ea8916d3112220304bb28c75f0203bae516e.zip |
kde-plasma/libkworkspace: 5.21.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.21.2.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index 54209f6336b4..3b8d2b10448f 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.1.tar.xz 9711648 BLAKE2B 2a8a483d54596f115cc51a6a95ef2e228266b30650be5f1f45c3b65ca6682005edfab031aa2926b1870a09981949f6b5220dcfc197c3476debb9b8c39fa17786 SHA512 5b7f299542c66e6f387267251d8a434c773dea365d80f4a06156c3060d829e00dd283d1a5251c4168e071691e746d78968b4e8022c459b0e9cb4de80a1a5e8f2 +DIST plasma-workspace-5.21.2.tar.xz 9712516 BLAKE2B 6b355cc1c654cad00aca204c43b887140444e172e6aae38b216bde4fa60c69a6a6d996e7190d892eb5e2768f2b250232329686f5da1964d7731808d4d6949c05 SHA512 234f40bdecdbb63df065ffa9a59b0acfd6e796fa9a66b7116de50cdbb78f3333b6247f7c0e4f68ed4e3d8b3b0eea6b7a7bf65deb1ab0c933008cc59bcef61fc8 diff --git a/kde-plasma/libkworkspace/libkworkspace-5.21.2.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.21.2.ebuild new file mode 100644 index 000000000000..b11c824373f4 --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.21.2.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" +} |