You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-base/kde-env/kde-env-4.7.3.ebuild

58 lines
1.1 KiB

# 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.3.ebuild,v 1.1 2011/11/02 20:48:21 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
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() {
:
}