summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-02 20:21:46 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-02 23:05:24 +0200
commit55391d594cbb90254c591743415442484c3b0d02 (patch)
tree0495277eae519b0471a036e40a57ebd77d661530 /kde-plasma/libkworkspace
parentdev-python/pillow: bump to 6.0.0 (diff)
downloadgentoo-55391d594cbb90254c591743415442484c3b0d02.tar.gz
gentoo-55391d594cbb90254c591743415442484c3b0d02.tar.bz2
gentoo-55391d594cbb90254c591743415442484c3b0d02.zip
kde-plasma: Add KDE Plasma 5.15.4
Package-Manager: Portage-2.3.62, Repoman-2.3.12 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.15.4.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest
index 62c5495f35d8..b91d5a9f24cb 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.3.tar.xz 4708156 BLAKE2B dfe1d5eb70e98abb7ecf2c716a654d030e6037917e0fcbee7eb313d5b8d820165244ef2923dd176ddd61fda7e6c3260ce19259a6c6e14ab7c6061fdf201b6e18 SHA512 cdc892cd86f5bf4da3391598f7ddb1b286e9e7b3d96c8086fd8be3551340f77f9c0b2757f55654be638cbb8de1c6b7f5f954998d73a2938f09d90d744adc0850
+DIST plasma-workspace-5.15.4.tar.xz 4718764 BLAKE2B 97bc658aee21fb4e3f8a095462f55a0a1d7fe4c1c201e6bc5ce7d8ba51dd971f747bd447c091fb51ad2b09a4f13e78b2f15e1e78e52b6827463bf1d45defd44b SHA512 720f061ab1017e6558c4079e18f6cf88cf5bd04e2484e8f68e784708d9507fb96ae705360c143525cbccdc83843e489e30ebd4f0703ed82f339971fc1c4547ea
diff --git a/kde-plasma/libkworkspace/libkworkspace-5.15.4.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.15.4.ebuild
new file mode 100644
index 000000000000..3dfe68f80a2c
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-5.15.4.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"
+}