summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-12 14:15:08 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-12 14:15:49 +0100
commit422daa2f216e7442fa74759e58761083afe150b2 (patch)
treec87945f5e4c64780d78e5599e48c58237173e5af /kde-plasma/libkworkspace
parentsys-devel/clang-runtime: Bump to 8.0.0rc5 (diff)
downloadgentoo-422daa2f216e7442fa74759e58761083afe150b2.tar.gz
gentoo-422daa2f216e7442fa74759e58761083afe150b2.tar.bz2
gentoo-422daa2f216e7442fa74759e58761083afe150b2.zip
kde-plasma: Add KDE Plasma 5.15.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-plasma/libkworkspace')
-rw-r--r--kde-plasma/libkworkspace/Manifest1
-rw-r--r--kde-plasma/libkworkspace/libkworkspace-5.15.3.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest
index c38887ba8e84..5807778716cd 100644
--- a/kde-plasma/libkworkspace/Manifest
+++ b/kde-plasma/libkworkspace/Manifest
@@ -1,2 +1,3 @@
DIST plasma-workspace-5.14.5.tar.xz 4578556 BLAKE2B 3c37bd9f880225f0e8b2496b90e5afc5ad591e8e356bd68ae135c3e9ccfe646adcb2418e2e80185f396c3b412f0df603ba0902e5a6d54a6d9a5abdff500a71f7 SHA512 247abdfe4ed4c7b6bb847c5352b3df11d110d59f8cc62b51dfd9de76c62549a0191efdd1e1f5a6ab82a87eccdc9fd28481a85c1252d05595e0f1a72174b3f8c6
DIST plasma-workspace-5.15.2.tar.xz 4707708 BLAKE2B a1a4f70ad8aa42d3bbc19ea4150ff254ade51af098b39f7d16dec535e8a0ac235c74effb0f71ff68ac0997aea4216218fdbc192606317e0128752029a7d3211e SHA512 80675be89c71b67bd106ac83274321f327cf6183cb0fb7c27092607aa33500a99b226952e25eddc11aecbd053099a6b86ade8646fd3cefbe57d72066b133c177
+DIST plasma-workspace-5.15.3.tar.xz 4708156 BLAKE2B dfe1d5eb70e98abb7ecf2c716a654d030e6037917e0fcbee7eb313d5b8d820165244ef2923dd176ddd61fda7e6c3260ce19259a6c6e14ab7c6061fdf201b6e18 SHA512 cdc892cd86f5bf4da3391598f7ddb1b286e9e7b3d96c8086fd8be3551340f77f9c0b2757f55654be638cbb8de1c6b7f5f954998d73a2938f09d90d744adc0850
diff --git a/kde-plasma/libkworkspace/libkworkspace-5.15.3.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.15.3.ebuild
new file mode 100644
index 000000000000..3dfe68f80a2c
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-5.15.3.ebuild
@@ -0,0 +1,54 @@
+# 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_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.14.90-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"
+}