diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-16 16:27:00 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-16 18:29:28 +0200 |
commit | dd40deccd8b408b61c8e115d102488c112040fa8 (patch) | |
tree | 0a96488a3c5a47afccd1c0c13b494e1b5bcf02e5 /kde-plasma/libkworkspace | |
parent | media-gfx/digikam: Drop obsolete 7.0.0_beta3-qt-5.15.patch (diff) | |
download | gentoo-dd40deccd8b408b61c8e115d102488c112040fa8.tar.gz gentoo-dd40deccd8b408b61c8e115d102488c112040fa8.tar.bz2 gentoo-dd40deccd8b408b61c8e115d102488c112040fa8.zip |
kde-plasma: Add KDE Plasma 5.19.1
Closes: https://bugs.gentoo.org/727760
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/libkworkspace')
-rw-r--r-- | kde-plasma/libkworkspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/libkworkspace/libkworkspace-5.19.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index 46cfeb62567d..cfac58866fec 100644 --- a/kde-plasma/libkworkspace/Manifest +++ b/kde-plasma/libkworkspace/Manifest @@ -1,2 +1,3 @@ DIST plasma-workspace-5.18.5.tar.xz 5696256 BLAKE2B 7aaf19ff75eb796bbd687e6c63b9703431ecc567bc52c2c173718d45b3946b22572b3a097f7fb7e9726cedcb98cfbb2f20c580efefa4d9cb9d4f2473abeac636 SHA512 870cf89649d9498831f4ef9b21d3c07504b7fc7b09b95dd7e0a1d356b41fbfceed1c4f27aa258bcf1e23cfe915d31701c155325fcd4944f9cc957a287ebc1ee2 DIST plasma-workspace-5.19.0.tar.xz 5683696 BLAKE2B cb1ed331c3a3f9f08ee8809b520800ce96db9f2091c0b778ee1ef212e3a6d87b619af87961f20d9fbdcf7353cfe416b3a3763570b178b82a3e24dda68de54f55 SHA512 3311855d43a0590659e4dcc981dac135e7724cb378fb766e6b78d48dbebba96c949d31f057432bbd73a1eac6f2ca1bce39fb9a2a37dfc232561ebfaab81b0ccc +DIST plasma-workspace-5.19.1.tar.xz 5683020 BLAKE2B 34d4ac284e35f3bdb56895f4df10345ca1f1c9c100eee77e7d73a8e6c6960d15ae60aadd3ce24a39be65ae54b49b964ac27f9c88c8fa2ac159d7ee8d44f1a51b SHA512 9e8a8af8bbfae07472363386aec41a76c7ea5d5242ccb376a276d546b819f3d28dd6961630c5e38026256a4ca219bdb1d86fe49eecc572327451b28f3c94e692 diff --git a/kde-plasma/libkworkspace/libkworkspace-5.19.1.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.19.1.ebuild new file mode 100644 index 000000000000..8369bfdaa6a1 --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.19.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 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.70.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.14.2 +inherit ecm kde.org + +DESCRIPTION="Workspace library to interact with the Plasma session manager" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64" +IUSE="" + +COMMON_DEPEND=" + >=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="${COMMON_DEPEND} + >=kde-plasma/kwin-${PVCUT}:5 +" +RDEPEND="${COMMON_DEPEND} + !<kde-plasma/plasma-workspace-5.14.2:5 +" + +S="${S}/${PN}" + +PATCHES=( "${FILESDIR}/${PN}-5.18.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" +} |