summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-25 15:52:30 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-25 16:52:15 +0200
commit8d1d62c64b66bfce3107bc20b3cedf8e189bac82 (patch)
tree87be3b570a957c50e3f8972c0e2ec6fda11ccfc3 /kde-plasma/libkworkspace
parentnet-misc/smb4k: Drop 3.0.0-r1 (diff)
downloadgentoo-8d1d62c64b66bfce3107bc20b3cedf8e189bac82.tar.gz
gentoo-8d1d62c64b66bfce3107bc20b3cedf8e189bac82.tar.bz2
gentoo-8d1d62c64b66bfce3107bc20b3cedf8e189bac82.zip
kde-plasma: Add KDE Plasma 5.16.2
Package-Manager: Portage-2.3.67, Repoman-2.3.16 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.16.2.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/Manifest b/kde-plasma/libkworkspace/Manifest
index 3741f211fe55..7e48d7b14624 100644
--- a/kde-plasma/libkworkspace/Manifest
+++ b/kde-plasma/libkworkspace/Manifest
@@ -1,2 +1,3 @@
DIST plasma-workspace-5.15.5.tar.xz 4713728 BLAKE2B 7ce14912bf0dc2556484b7b719b00e7296fb67d78faabb9e3c00fbfb56a41db04e27b5f94636142f07e88e24d51ff308025a50d719a940e1287943a35db93e79 SHA512 5d5429114a733d4328f7db6c8e3c7dfe5e04862f8083fcad40b21390efb309c58fd1b13cf63aa57f2842c38936b9fe1c60ad61fc601cf4f592b86285c2270bed
DIST plasma-workspace-5.16.1.tar.xz 4892428 BLAKE2B c228685516537b3abe79742094b82aff5b5b04043ab1f772eeeb4ac6ad6b2b4c3aec4227baa702ac8408ea764e1224931fbb59e0217ef2abd40118666c7ea6ce SHA512 7c33e539f5a2504e603767ed1792b099784aefe0aa1c818f771257e5983883df56dc1a304b079081f5d3d98cc863dae3799d7553ecbc48b79721d16fdbe2eef9
+DIST plasma-workspace-5.16.2.tar.xz 4895676 BLAKE2B b354afde0f51d4c894bcde5b829ca7c1a10475674836d511da74c2ee9486a14b49758c6a6d6334dd967eea8342c7f37f56301bcd7ce001f86be5eb9d2d680e3c SHA512 648d380bdf8de3b2443e5b24e58cd96e060a5f405785214d895beca26371d2396dd165ca4221527a23cee1294703a8af6d7e66ebf32859f3f5f9a09aa597321b
diff --git a/kde-plasma/libkworkspace/libkworkspace-5.16.2.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.16.2.ebuild
new file mode 100644
index 000000000000..3dfe68f80a2c
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-5.16.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"
+}