diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-10-09 02:40:36 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-10-09 02:41:38 +1100 |
commit | f0a8b1ab7f50cdac0ec47a3cad5c7ba89d1c07b6 (patch) | |
tree | 8667e80541dcf5489c9421bcdd69b7e18f6b6bc6 /kde-plasma/plasma-workspace | |
parent | media-libs/libjpeg-turbo: Removed old. (diff) | |
download | gentoo-f0a8b1ab7f50cdac0ec47a3cad5c7ba89d1c07b6.tar.gz gentoo-f0a8b1ab7f50cdac0ec47a3cad5c7ba89d1c07b6.tar.bz2 gentoo-f0a8b1ab7f50cdac0ec47a3cad5c7ba89d1c07b6.zip |
kde-plasma: version bump 5.4.2
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-plasma/plasma-workspace')
-rw-r--r-- | kde-plasma/plasma-workspace/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/metadata.xml | 1 | ||||
-rw-r--r-- | kde-plasma/plasma-workspace/plasma-workspace-5.4.2.ebuild | 196 |
3 files changed, 198 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest index bbd761f68643..09a020b31745 100644 --- a/kde-plasma/plasma-workspace/Manifest +++ b/kde-plasma/plasma-workspace/Manifest @@ -1 +1,2 @@ DIST plasma-workspace-5.4.1.tar.xz 6957164 SHA256 6084d5885d815301115dd18d65c739e8968c3feb854f5d052348b5062a381795 SHA512 83ecfa50a6508b76944f0bc334ac64ba88b80a83f543ee6308413259c1dac1a0e3617453c05057586a5ebdc1c80b67eb313edca3b6b33e843a773a197e64afaf WHIRLPOOL a7955bfb24c3e60ae78e6d13180c38c48420413c25a0620850d24e4924c3f4a2b2e99315e2518ee9a7b492f88755059266f2af032e4b8bf19021c024e63ac54a +DIST plasma-workspace-5.4.2.tar.xz 6959316 SHA256 36c7b04b30533b9b14440b1286f1130222f2212bfa8f2f033a4ff928a923d22f SHA512 48028fea631a8368386768f0ff1acf7717e0cde04a0861109a629bdfa4ce145a4e8abcfeaf486d5176a42a194f688e1503ae37c91ce7dde44df9b325853a74c2 WHIRLPOOL 0420e1f56b54ac27dcea7e5dbad96850a1b0828dfa3977c076f740cd945bd6c9fa45d0adeec2e09f73159c7932029241598e7c8c45f46a215aabf20e1f747fdf diff --git a/kde-plasma/plasma-workspace/metadata.xml b/kde-plasma/plasma-workspace/metadata.xml index 8b5ce50df096..f81610b0968b 100644 --- a/kde-plasma/plasma-workspace/metadata.xml +++ b/kde-plasma/plasma-workspace/metadata.xml @@ -4,6 +4,7 @@ <herd>kde</herd> <use> <flag name="drkonqi">Enables DrKonqi, the KDE crash handler</flag> + <flag name="geolocation">Enables dataengine providing location information</flag> <flag name="prison">Enable support for barcodes/QRcodes</flag> <flag name="qalculate">Enable Qalculate runner using <pkg>sci-libs/libqalculate</pkg></flag> <flag name="systemmonitor">Enables the system monitor dialog for the Plasma workspace</flag> diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.4.2.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.4.2.ebuild new file mode 100644 index 000000000000..30668c4d33f7 --- /dev/null +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.4.2.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_HANDBOOK="true" +KDE_PUNT_BOGUS_DEPS="true" +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 multilib pam + +DESCRIPTION="KDE Plasma workspace" +KEYWORDS="~amd64 ~x86" +IUSE="dbus +drkonqi +geolocation gps prison qalculate +systemmonitor" + +COMMON_DEPEND=" + $(add_plasma_dep kwayland) + $(add_plasma_dep kwin) + $(add_plasma_dep libkscreen) + $(add_plasma_dep libksysguard) + $(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) + dev-libs/wayland + dev-qt/qtconcurrent:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtgui:5[jpeg] + dev-qt/qtnetwork:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + media-libs/phonon[qt5] + sys-libs/pam + sys-libs/zlib + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrender + x11-libs/xcb-util-keysyms + dbus? ( dev-libs/libdbusmenu-qt[qt5] ) + drkonqi? ( + $(add_frameworks_dep kdewebkit) + dev-qt/qtwebkit:5 + ) + geolocation? ( $(add_frameworks_dep networkmanager-qt) ) + gps? ( sci-geosciences/gpsd ) + prison? ( media-libs/prison:5 ) + qalculate? ( sci-libs/libqalculate ) + systemmonitor? ( + $(add_plasma_dep libksysguard processui) + ) +" +RDEPEND="${COMMON_DEPEND} + $(add_frameworks_dep kded) + $(add_plasma_dep kde-cli-tools) + $(add_plasma_dep milou) + dev-qt/qdbus:5 + dev-qt/qtpaths:5 + dev-qt/qtquickcontrols:5[widgets] + x11-apps/mkfontdir + x11-apps/xmessage + x11-apps/xprop + x11-apps/xrdb + x11-apps/xset + x11-apps/xsetroot + systemmonitor? ( $(add_plasma_dep ksysguard) ) + !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 + !kde-plasma/kio-extras +" +DEPEND="${COMMON_DEPEND} + x11-proto/xproto +" + +PATCHES=( + "${FILESDIR}/${PN}-5.4-startkde-script.patch" + "${FILESDIR}/${PN}-5.4-consolekit2.patch" +) + +RESTRICT="test" + +src_prepare() { + # whole patch should be upstreamed, doesn't work in PATCHES + epatch "${FILESDIR}/${PN}-tests-optional.patch" + + kde5_src_prepare + + sed -e "s|\`qtpaths|\`/usr/$(get_libdir)/qt5/bin/qtpaths|" -i startkde/startkde.cmake || die + + if ! use drkonqi; then + comment_add_subdirectory drkonqi + fi + + if ! use geolocation; then + punt_bogus_dep KF5 NetworkManagerQt + pushd dataengines > /dev/null || die + comment_add_subdirectory geolocation + popd > /dev/null || die + fi + + if ! use systemmonitor; then + comment_add_subdirectory systemmonitor + pushd applets > /dev/null || die + comment_add_subdirectory systemmonitor + popd > /dev/null || die + pushd dataengines > /dev/null || die + comment_add_subdirectory systemmonitor + popd > /dev/null || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package dbus dbusmenu-qt5) + $(cmake-utils_use_find_package gps libgps) + $(cmake-utils_use_find_package prison) + $(cmake-utils_use_find_package qalculate Qalculate) + ) + + kde5_src_configure +} + +src_install() { + kde5_src_install + + newpamd "${FILESDIR}/kde.pam" kde + newpamd "${FILESDIR}/kde-np.pam" kde-np + + # startup and shutdown scripts + insinto /etc/plasma/startup + doins "${FILESDIR}/agent-startup.sh" + + insinto /etc/plasma/shutdown + doins "${FILESDIR}/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/agent-startup.sh and" + elog "${EPREFIX}/etc/plasma/shutdown/agent-shutdown.sh" + echo +} |