summaryrefslogtreecommitdiff
path: root/kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:36:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-06 10:36:51 +0100
commitbe5d0bccdf1ebd4aa2475aa3e643648be27e884a (patch)
tree6c04f71c0445ba86902f73054fa0e1caf58ffae2 /kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild
parent9c227c52eedf4d0a9c72fa469de7877a0d6d9419 (diff)
kde-plasma/libkworkspace : version bump
Diffstat (limited to 'kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild')
-rw-r--r--kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild b/kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild
new file mode 100644
index 00000000..68f6e9f5
--- /dev/null
+++ b/kde-plasma/libkworkspace/libkworkspace-5.16.5-r314.ebuild
@@ -0,0 +1,53 @@
+# 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}
+"
+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"
+}