summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-12-11 18:52:41 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2011-12-11 18:52:41 +0000
commit351f7dda3f62817dd3747226a48fb58b92f8e510 (patch)
treed44f25d056ad34656ac0a5ac45ee7fa316af0df4 /kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild
parentAdd 3.0 documentation (diff)
downloadhistorical-351f7dda3f62817dd3747226a48fb58b92f8e510.tar.gz
historical-351f7dda3f62817dd3747226a48fb58b92f8e510.tar.bz2
historical-351f7dda3f62817dd3747226a48fb58b92f8e510.zip
[kde-base] Add long waiting KDE SC 4.7.4
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild')
-rw-r--r--kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild92
1 files changed, 92 insertions, 0 deletions
diff --git a/kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild b/kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild
new file mode 100644
index 000000000000..188f7d4bbb86
--- /dev/null
+++ b/kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase-startkde/kdebase-startkde-4.7.4.ebuild,v 1.1 2011/12/11 18:52:28 alexxy Exp $
+
+EAPI=4
+
+KMNAME="kde-workspace"
+KMNOMODULE="true"
+inherit kde4-meta multilib prefix
+
+DESCRIPTION="Startkde script, which starts a complete KDE session, and associated scripts"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+wallpapers"
+
+# The KDE apps called from the startkde script.
+# These provide the most minimal KDE desktop.
+RDEPEND="
+ $(add_kdebase_dep kcminit)
+ $(add_kdebase_dep kdebase-runtime-meta)
+ wallpapers? ( $(add_kdebase_dep kde-wallpapers) )
+ $(add_kdebase_dep kfmclient)
+ $(add_kdebase_dep knotify)
+ $(add_kdebase_dep kreadconfig)
+ $(add_kdebase_dep krunner)
+ $(add_kdebase_dep ksmserver)
+ $(add_kdebase_dep ksplash)
+ $(add_kdebase_dep kstartupconfig)
+ $(add_kdebase_dep kwin)
+ $(add_kdebase_dep phonon-kde)
+ $(add_kdebase_dep plasma-apps)
+ $(add_kdebase_dep plasma-workspace)
+ $(add_kdebase_dep systemsettings)
+ x11-apps/mkfontdir
+ x11-apps/xmessage
+ x11-apps/xprop
+ x11-apps/xrandr
+ x11-apps/xrdb
+ x11-apps/xsetroot
+ x11-apps/xset
+"
+
+KMEXTRACTONLY="
+ ConfigureChecks.cmake
+ kdm/
+ startkde.cmake
+"
+
+PATCHES=("${FILESDIR}/gentoo-startkde4-4.patch")
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ cp "${FILESDIR}/KDE-4" "${T}"
+
+ # fix ${EPREFIX}
+ eprefixify startkde.cmake "${T}/KDE-4"
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ # startup and shutdown scripts
+ insinto /etc/kde/startup
+ doins "${FILESDIR}/agent-startup.sh"
+
+ insinto /etc/kde/shutdown
+ doins "${FILESDIR}/agent-shutdown.sh"
+
+ # x11 session script
+ exeinto /etc/X11/Sessions
+ doexe "${T}/KDE-4"
+
+ # freedesktop compliant session script
+ sed -e "s:\${KDE4_BIN_INSTALL_DIR}:${EPREFIX}/usr/bin:g" \
+ "${S}/kdm/kfrontend/sessions/kde-plasma.desktop.cmake" > "${T}/KDE-4.desktop"
+ insinto /usr/share/xsessions
+ doins "${T}/KDE-4.desktop"
+}
+
+pkg_postinst () {
+ kde4-meta_pkg_postinst
+
+ echo
+ elog "To enable gpg-agent and/or ssh-agent in KDE sessions,"
+ elog "edit ${EPREFIX}/etc/kde/startup/agent-startup.sh and"
+ elog "${EPREFIX}/etc/kde/shutdown/agent-shutdown.sh"
+ echo
+ elog "The name of the session script has changed."
+ elog "If you currently have XSESSION=\"kde-$(get_kde_version)\" in your"
+ elog "configuration files, you will need to change it to"
+ elog "XSESSION=\"KDE-4\""
+}