diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-12 14:07:27 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-12 23:09:04 +0100 |
commit | de94a25204e681fbae8e608ec7967a6ca2c2681b (patch) | |
tree | d56619cac90eebbb7a15ee23cdc05cd5cad26e57 /kde-plasma/libkworkspace | |
parent | kde-frameworks/solid: Fix ext. optical drives media change detection (diff) | |
download | gentoo-de94a25204e681fbae8e608ec7967a6ca2c2681b.tar.gz gentoo-de94a25204e681fbae8e608ec7967a6ca2c2681b.tar.bz2 gentoo-de94a25204e681fbae8e608ec7967a6ca2c2681b.zip |
kde-plasma: Add KDE Plasma 5.17.3
Package-Manager: Portage-2.3.79, Repoman-2.3.17
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.17.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index 9b9ca7672faf..cc75e5cf5eb6 100644 --- a/kde-plasma/libkworkspace/Manifest +++ b/kde-plasma/libkworkspace/Manifest @@ -1,2 +1,3 @@ DIST plasma-workspace-5.16.5.tar.xz 4905748 BLAKE2B 049a4ff618aade78ac130c1496f6add0ddc391db5b025045eaee91fbcac0a0b9e7b44a06757c94699c1038b18a96a06eb31d4ab6518bfda6d308e12b1269ca04 SHA512 e55e89b6a8e3dcf68bb7ad4f62f284cd819c7461eff1269f84df086a2516401c26363cc6c3c8e6cc8e27788222b3ed81098d765a25e5d96d9274e3b342816369 DIST plasma-workspace-5.17.2.tar.xz 4962148 BLAKE2B b1966e0db9fe9aa75bb934f7bb0f7b0cf7f6134cbb75926dbe86ff77bfb00888116c05aad070305e36498d7346bbc394cf42d9272ca8da79634a04bc008f949f SHA512 2c10f78de83d65e03a611f0928b28f723c71e2e9b02401c7e6b226bc7f5002119602d6344dca7c85a23ba3826e5f6f0b96057252a518bc9f8c0fa2931ac5f85d +DIST plasma-workspace-5.17.3.tar.xz 4958180 BLAKE2B c61d919389c13cc281c4a48679c6fba615399732c4ea562a2499504d5bde0add33b6827fac9744322bcb06358346de2cfde974261cf540da892b524972c18b03 SHA512 8ae809e40cec33b5fa6e49986e234c5cfd0ddb964b62dec242b763475cab6f02dd089cf69d5e89a1f8e447108958ea13097df8eda0885199c71f67e6d5c10ea3 diff --git a/kde-plasma/libkworkspace/libkworkspace-5.17.3.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.17.3.ebuild new file mode 100644 index 000000000000..623419ba9675 --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.17.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 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.64.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.12.3 +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 ~x86" +IUSE="" + +COMMON_DEPEND=" + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/plasma-${KFMIN}:5 + >=kde-plasma/kscreenlocker-${PVCUT}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}: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.16.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" +} |