summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kde-env/kde-env-4.11.5.ebuild')
-rw-r--r--kde-base/kde-env/kde-env-4.11.5.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/kde-base/kde-env/kde-env-4.11.5.ebuild b/kde-base/kde-env/kde-env-4.11.5.ebuild
new file mode 100644
index 000000000000..0617f14e2f1c
--- /dev/null
+++ b/kde-base/kde-env/kde-env-4.11.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/kde-env-4.11.5.ebuild,v 1.1 2014/01/10 04:21:43 creffett Exp $
+
+EAPI=5
+
+CMAKE_REQUIRED="never"
+KDE_REQUIRED="never"
+inherit kde4-base
+
+DESCRIPTION="Environment setting required for all KDE4 apps to run."
+SRC_URI=""
+ESVN_REPO_URI=""
+
+KEYWORDS=" ~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+IUSE=""
+
+S=${WORKDIR}
+
+src_unpack() {
+ :
+}
+
+src_prepare() {
+ :
+}
+
+src_install() {
+ # number goes down with version
+ newenvd - 43kdepaths <<EOF
+CONFIG_PROTECT="/usr/share/config"
+#KDE_IS_PRELINKED=1
+EOF
+
+ # Properly place xinitrc.d file that exports XDG_MENU_PREFIX to env
+ exeinto /etc/X11/xinit/xinitrc.d/
+ newexe - 11-xdg-menu-kde-4 <<EOF
+#!/bin/sh
+
+if [ -z "\${XDG_MENU_PREFIX}" ] && [ "\${DESKTOP_SESSION}" = "KDE-4" ]; then
+ export XDG_MENU_PREFIX="kde-4-"
+fi
+EOF
+}
+
+pkg_preinst() {
+ :
+}
+
+src_test() {
+ :
+}