summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-12-23 21:35:19 +0100
committerJohannes Huber <johu@gentoo.org>2016-12-23 21:35:58 +0100
commit05ac0d625c9cc52d47fb5ad358bf735f404d3bc7 (patch)
treeecf66a3549785fc63f70feabbda66edb77fec9a8 /kde-frameworks/kdelibs-env
parentnet-misc/wireguard: bump (diff)
downloadgentoo-05ac0d625c9cc52d47fb5ad358bf735f404d3bc7.tar.gz
gentoo-05ac0d625c9cc52d47fb5ad358bf735f404d3bc7.tar.bz2
gentoo-05ac0d625c9cc52d47fb5ad358bf735f404d3bc7.zip
kde-base/kde-env -> kde-frameworks/kdelibs-env
Diffstat (limited to 'kde-frameworks/kdelibs-env')
-rw-r--r--kde-frameworks/kdelibs-env/kdelibs-env-4.14.3.ebuild53
-rw-r--r--kde-frameworks/kdelibs-env/metadata.xml8
2 files changed, 61 insertions, 0 deletions
diff --git a/kde-frameworks/kdelibs-env/kdelibs-env-4.14.3.ebuild b/kde-frameworks/kdelibs-env/kdelibs-env-4.14.3.ebuild
new file mode 100644
index 000000000000..04e9fb89626e
--- /dev/null
+++ b/kde-frameworks/kdelibs-env/kdelibs-env-4.14.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+CMAKE_REQUIRED="never"
+KDE_REQUIRED="never"
+inherit kde4-base
+
+DESCRIPTION="Environment setting required for all KDELibs4 apps to run"
+SRC_URI=""
+ESVN_REPO_URI=""
+
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~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() {
+ :
+}
diff --git a/kde-frameworks/kdelibs-env/metadata.xml b/kde-frameworks/kdelibs-env/metadata.xml
new file mode 100644
index 000000000000..2fdbf33d963d
--- /dev/null
+++ b/kde-frameworks/kdelibs-env/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>