summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kde-env/kde-env-4.7.0.ebuild')
-rw-r--r--kde-base/kde-env/kde-env-4.7.0.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/kde-base/kde-env/kde-env-4.7.0.ebuild b/kde-base/kde-env/kde-env-4.7.0.ebuild
new file mode 100644
index 000000000000..1bd31c95fdec
--- /dev/null
+++ b/kde-base/kde-env/kde-env-4.7.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2011 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.7.0.ebuild,v 1.1 2011/07/27 14:04:53 alexxy Exp $
+
+EAPI=4
+
+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 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+LICENSE="as-is"
+IUSE="aqua"
+
+add_blocker kdelibs 4.6.80 '<3.5.10-r3:3.5'
+
+S=${WORKDIR}
+
+src_unpack() {
+ :
+}
+
+src_prepare() {
+ :
+}
+
+src_install() {
+ # number goes down with version
+ cat <<-EOF > 43kdepaths
+CONFIG_PROTECT="/usr/share/config"
+#KDE_IS_PRELINKED=1
+EOF
+ doenvd 43kdepaths
+
+ # Properly place xinitrc.d file that exports XDG_MENU_PREFIX to env
+ cat <<EOF > 11-xdg-menu-kde-4
+#!/bin/sh
+
+if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "KDE-4" ]; then
+ export XDG_MENU_PREFIX="kde-4-"
+fi
+EOF
+ exeinto /etc/X11/xinit/xinitrc.d/
+ doexe 11-xdg-menu-kde-4 || die "doexe failed"
+}
+
+pkg_preinst() {
+ :
+}
+
+src_test() {
+ :
+}