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.
|
|
|
# Copyright 1999-2012 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.8.5.ebuild,v 1.4 2012/09/03 12:20:32 scarabeus 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 ~amd64-fbsd ~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() {
|
|
|
|
:
|
|
|
|
}
|