diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-26 14:47:15 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-26 15:17:42 +0100 |
commit | 920af2f13d32fd57b7fe5e391faae8063ce573ee (patch) | |
tree | d85ad3d3f126a0912fecfd4e68e56a6ed9b66819 /kde-plasma/libkworkspace | |
parent | dev-python/curtsies: clean old versions (diff) | |
download | gentoo-920af2f13d32fd57b7fe5e391faae8063ce573ee.tar.gz gentoo-920af2f13d32fd57b7fe5e391faae8063ce573ee.tar.bz2 gentoo-920af2f13d32fd57b7fe5e391faae8063ce573ee.zip |
kde-plasma: Add KDE Plasma 5.15.2
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/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/libkworkspace/libkworkspace-5.15.2.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest index 3fa4d38910cc..d4355bc877cc 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.1.tar.xz 4719080 BLAKE2B d5479828392d8be6dca573dd88d818fcb41676c764e78f279c398033124a215ccf6a788026dc9d2078fc999d645cf2e7534ac7f952c805c5c208e43cf67d7c7d SHA512 4dd2c8c65a365b051be531739d0bb75a1ca54539823f9a870f24624854214d23a5599a6279a3d1e4221ffb28dfd35f92550a478bdf88e8ae75b0b98f00957d65 +DIST plasma-workspace-5.15.2.tar.xz 4707708 BLAKE2B a1a4f70ad8aa42d3bbc19ea4150ff254ade51af098b39f7d16dec535e8a0ac235c74effb0f71ff68ac0997aea4216218fdbc192606317e0128752029a7d3211e SHA512 80675be89c71b67bd106ac83274321f327cf6183cb0fb7c27092607aa33500a99b226952e25eddc11aecbd053099a6b86ade8646fd3cefbe57d72066b133c177 diff --git a/kde-plasma/libkworkspace/libkworkspace-5.15.2.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.15.2.ebuild new file mode 100644 index 000000000000..3dfe68f80a2c --- /dev/null +++ b/kde-plasma/libkworkspace/libkworkspace-5.15.2.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" +} |