diff options
Diffstat (limited to 'kde-plasma/plasma-workspace')
-rw-r--r-- | kde-plasma/plasma-workspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.6.0-rpath.patch | 28 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/plasma-workspace-5.6.1.ebuild | 165 |
3 files changed, 194 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest index c699a9b6d2e..c89a8f40a75 100644 --- a/kde-plasma/plasma-workspace/Manifest +++ b/kde-plasma/plasma-workspace/Manifest @@ -1 +1,2 @@ DIST plasma-workspace-5.5.5.tar.xz 7374560 SHA256 bed1e65d878b963dbbb85129c206dc70db71461de29c19e95b6053c9c4fe7b26 SHA512 0fdf19650bd8718b03a8004182caa29080cc02afb0f4808d40f9976c3d261b80afa0e86c8cb659276d49eb1e711d7e26f84ced989342f0f6dbccc23e56d16ff7 WHIRLPOOL 51e122d4c180537a9a4a6ac1b8cae60526c0b6167fb832244e813224c4977556693253b06035ca2d8319db0e0ade817cf09ef0ca44a9cc56128c541bd9be1da1 +DIST plasma-workspace-5.6.1.tar.xz 6962196 SHA256 64a95274c537b264b4e5f817ca04b72c1599acbf9e016c1760d18ed9174f800a SHA512 702a9bf8c9f7f72e28d809e218176813dee561f657805ccf5f91603abb40a315afd1628760235fbebca229cc8383d72504f2320d8a2f62dbb6cfe22aa473a333 WHIRLPOOL e7b4671a1418cbb0c8fadf80a8d07cc4b198ea4ad88b2aa518366dc338f3c58e160958f517e458b0812ff3a83b430e9b8ec35eae7f08ca262438e37af45a3e95 diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.6.0-rpath.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.6.0-rpath.patch new file mode 100644 index 00000000000..464f2785f85 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.6.0-rpath.patch @@ -0,0 +1,28 @@ +commit 829fb30934c455de5fc8d92512561d237c58fb35 +Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Mon Nov 23 21:34:24 2015 +0100 + + [phonon] Do not set RPATH + + REVIEW: 126210 + +diff --git a/phonon/platform_kde/CMakeLists.txt b/phonon/platform_kde/CMakeLists.txt +index 281425f..20ec8f9 100644 +--- a/phonon/platform_kde/CMakeLists.txt ++++ b/phonon/platform_kde/CMakeLists.txt +@@ -9,15 +9,6 @@ target_link_libraries(kde ${PHONON_LIBRARY} KF5::I18n KF5::KIOWidgets KF5::Notif + + kcoreaddons_desktop_to_json(kde phononbackend.desktop) + +-if(NOT WIN32) +- set_target_properties(kde PROPERTIES +- INSTALL_RPATH_USE_LINK_PATH TRUE +- SKIP_BUILD_RPATH TRUE +- BUILD_WITH_INSTALL_RPATH TRUE +- INSTALL_RPATH ${KDE_INSTALL_LIBDIR} +- ) +-endif() +- + install(TARGETS kde DESTINATION ${KDE_INSTALL_PLUGINDIR}/phonon_platform) + install(FILES phonon.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR}) + install(FILES phononbackend.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR}) diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.6.1.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.6.1.ebuild new file mode 100644 index 00000000000..cf3fefa989d --- /dev/null +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.6.1.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +inherit kde5 multilib qmake-utils + +DESCRIPTION="KDE Plasma workspace" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="dbus +geolocation gps prison qalculate" + +COMMON_DEPEND=" + $(add_frameworks_dep baloo) + $(add_frameworks_dep kactivities) + $(add_frameworks_dep kauth) + $(add_frameworks_dep kbookmarks) + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kdelibs4support) + $(add_frameworks_dep kdesu) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kidletime) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep kjs) + $(add_frameworks_dep kjsembed) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kpackage) + $(add_frameworks_dep krunner) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep kxmlrpcclient) + $(add_frameworks_dep plasma) + $(add_frameworks_dep solid) + $(add_plasma_dep kscreenlocker) + $(add_plasma_dep kwayland) + $(add_plasma_dep kwin) + $(add_plasma_dep libkscreen) + $(add_plasma_dep libksysguard) + $(add_qt_dep qtconcurrent) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative 'widgets') + $(add_qt_dep qtgui 'jpeg') + $(add_qt_dep qtnetwork) + $(add_qt_dep qtscript) + $(add_qt_dep qtsql) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + media-libs/phonon[qt5] + sys-libs/zlib + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXfixes + x11-libs/libXrender + x11-libs/xcb-util + x11-libs/xcb-util-image + dbus? ( dev-libs/libdbusmenu-qt[qt5] ) + geolocation? ( $(add_frameworks_dep networkmanager-qt) ) + gps? ( sci-geosciences/gpsd ) + prison? ( media-libs/prison:5 ) + qalculate? ( sci-libs/libqalculate ) +" +RDEPEND="${COMMON_DEPEND} + $(add_frameworks_dep kded) + $(add_kdeapps_dep kio-extras) + $(add_plasma_dep kde-cli-tools) + $(add_plasma_dep ksysguard) + $(add_plasma_dep milou) + $(add_qt_dep qdbus) + $(add_qt_dep qtgraphicaleffects) + $(add_qt_dep qtpaths) + $(add_qt_dep qtquickcontrols 'widgets') + app-text/iso-codes + x11-apps/mkfontdir + x11-apps/xmessage + x11-apps/xprop + x11-apps/xrdb + x11-apps/xset + x11-apps/xsetroot + !dev-libs/xembed-sni-proxy + !kde-base/freespacenotifier:4 + !kde-base/libtaskmanager:4 + !kde-base/kcminit:4 + !kde-base/kdebase-startkde:4 + !kde-base/klipper:4 + !kde-base/krunner:4 + !kde-base/ksmserver:4 + !kde-base/ksplash:4 + !kde-base/plasma-workspace:4 +" +DEPEND="${COMMON_DEPEND} + x11-proto/xproto +" + +PATCHES=( + "${FILESDIR}/${PN}-5.4-startkde-script.patch" + "${FILESDIR}/${PN}-5.6.0-rpath.patch" +) + +RESTRICT="test" + +src_prepare() { + kde5_src_prepare + + sed -e "s|\`qtpaths|\`$(qt5_get_bindir)/qtpaths|" \ + -i startkde/startkde.cmake startkde/startplasmacompositor.cmake || die +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package dbus dbusmenu-qt5) + $(cmake-utils_use_find_package geolocation KF5NetworkManagerQt) + $(cmake-utils_use_find_package gps libgps) + $(cmake-utils_use_find_package prison KF5Prison) + $(cmake-utils_use_find_package qalculate Qalculate) + ) + + kde5_src_configure +} + +src_install() { + kde5_src_install + + # startup and shutdown scripts + insinto /etc/plasma/startup + doins "${FILESDIR}/10-agent-startup.sh" + + insinto /etc/plasma/shutdown + doins "${FILESDIR}/10-agent-shutdown.sh" +} + +pkg_postinst () { + kde5_pkg_postinst + + echo + elog "To enable gpg-agent and/or ssh-agent in Plasma sessions," + elog "edit ${EPREFIX}/etc/plasma/startup/10-agent-startup.sh and" + elog "${EPREFIX}/etc/plasma/shutdown/10-agent-shutdown.sh" + echo +} |