summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-10-29 21:43:54 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-10-29 23:21:35 +0100
commit484c9dded4c2473cc9cf94f0ea2f4b87ae3ee5fd (patch)
tree38d93021acd0016cf8d9e739e232b856cdaace75 /kde-plasma/libkworkspace
parentprofiles: arm64: Add kde-plasma/plasma-meta[thunderbolt] to p.use.mask (diff)
downloadgentoo-484c9dded4c2473cc9cf94f0ea2f4b87ae3ee5fd.tar.gz
gentoo-484c9dded4c2473cc9cf94f0ea2f4b87ae3ee5fd.tar.bz2
gentoo-484c9dded4c2473cc9cf94f0ea2f4b87ae3ee5fd.zip
kde-plasma: Add KDE Plasma 5.17.2
Package-Manager: Portage-2.3.78, Repoman-2.3.17 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.17.2.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest
index 58bc133f8fb0..eb8f25c38343 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.1.tar.xz 4960796 BLAKE2B 7f33ed3fcca34afbb0ba7de3b45e24fecadc69885703081fb1b932fc66f82e8fdfe4806168ef029b7506df72f2b7d910386d684d527e16f986fe5b1c94040436 SHA512 a3a68657686b69ceebaf124191bd01c9865f6b8328e7ec103e54c861376054ad2ae1303651170d458c39fc4dc7818c222fbdf6e64708ed623f054cb4c2be9538
+DIST plasma-workspace-5.17.2.tar.xz 4961952 BLAKE2B 4493e9fcf1280bc2eefd8fd0242de5e2eacb242ad56a3565b5d819448b0a9614e7392b97aa633b18c37a664e97a39996872131bd6b9be6416d8a8c0e78801dcb SHA512 61bef7eea1f1d315d74f1df8a4dcf15f88411aa3a8e1ac70b66e1286079c972e47d8bc8418946db94bba28e628e0bb55be057033f30b54562b2bc17a0b7e2a3c
diff --git a/kde-plasma/libkworkspace/libkworkspace-5.17.2.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.17.2.ebuild
new file mode 100644
index 000000000000..25022518d06f
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-5.17.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="true"
+KMNAME="plasma-workspace"
+inherit kde5
+
+DESCRIPTION="Workspace library to interact with the Plasma session manager"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep plasma)
+ $(add_plasma_dep kscreenlocker)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtx11extras)
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_plasma_dep kwin)
+"
+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 kde5_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
+ kde5_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"
+}