diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-05-07 10:48:07 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-05-07 10:48:07 +0000 |
commit | 0650db9ab87aa55db42a5157e24d12132d2832ae (patch) | |
tree | fb6d626c063029446861ab8305a09ef01b29fd36 /kde-base/kde-env | |
parent | Version bump. Remove intermediate version. (diff) | |
download | gentoo-2-0650db9ab87aa55db42a5157e24d12132d2832ae.tar.gz gentoo-2-0650db9ab87aa55db42a5157e24d12132d2832ae.tar.bz2 gentoo-2-0650db9ab87aa55db42a5157e24d12132d2832ae.zip |
Version bump to KDE SC 4.6.3.
(Portage version: 2.2.0_alpha31/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/kde-env')
-rw-r--r-- | kde-base/kde-env/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kde-env/kde-env-4.6.3.ebuild | 97 |
2 files changed, 103 insertions, 1 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog index 5a65bcc80fd6..36b7dd5d9f58 100644 --- a/kde-base/kde-env/ChangeLog +++ b/kde-base/kde-env/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kde-env # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.97 2011/04/06 14:19:24 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.98 2011/05/07 10:47:57 scarabeus Exp $ + +*kde-env-4.6.3 (07 May 2011) + + 07 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> +kde-env-4.6.3.ebuild: + Version bump KDE SC 4.6.3 *kde-env-4.6.2 (06 Apr 2011) diff --git a/kde-base/kde-env/kde-env-4.6.3.ebuild b/kde-base/kde-env/kde-env-4.6.3.ebuild new file mode 100644 index 000000000000..56b48045a101 --- /dev/null +++ b/kde-base/kde-env/kde-env-4.6.3.ebuild @@ -0,0 +1,97 @@ +# 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.6.3.ebuild,v 1.1 2011/05/07 10:47:57 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 ~x86-fbsd ~amd64-linux ~x86-linux" +LICENSE="as-is" +IUSE="aqua" + +add_blocker kdelibs 4.2.2-r1 '<3.5.10-r3:3.5' 4.2.70:4.3 + +S=${WORKDIR} + +src_unpack() { + : +} + +src_prepare() { + : +} + +src_install() { + if use kdeprefix; then + # List all the multilib libdirs + local _libdir _libdirs + for _libdir in $(get_all_libdirs); do + _libdirs+=":${EKDEDIR}/${_libdir}" + done + _libdirs=${_libdirs#:} + + # number goes down with version + cat <<-EOF > 43kdepaths-${SLOT} +PATH="${EKDEDIR}/bin" +ROOTPATH="${EKDEDIR}/sbin:${EKDEDIR}/bin" +LDPATH="${_libdirs}" +MANPATH="${EKDEDIR}/share/man" +CONFIG_PROTECT="${KDEDIR}/share/config ${KDEDIR}/env ${KDEDIR}/shutdown /usr/share/config" +#KDE_IS_PRELINKED=1 +PKG_CONFIG_PATH="${EKDEDIR}/$(get_libdir)/pkgconfig" +XDG_DATA_DIRS="${EKDEDIR}/share" +EOF + doenvd 43kdepaths-${SLOT} + cat <<-EOF > 50-kde-${SLOT} +SEARCH_DIRS="${EKDEDIR}/bin ${EKDEDIR}/lib*" +EOF + insinto /etc/revdep-rebuild + doins 50-kde-${SLOT} + + # kdeglobals needed to make third party apps installed in /usr work + cat <<-EOF > kdeglobals +[Directories][\$i] +prefixes=${EPREFIX}/usr +EOF + insinto ${KDEDIR}/share/config + doins kdeglobals + + KDE_X="KDE-${SLOT}" + else + # Much simpler for the FHS compliant -kdeprefix install + # number goes down with version + cat <<-EOF > 43kdepaths +CONFIG_PROTECT="/usr/share/config" +#KDE_IS_PRELINKED=1 +EOF + doenvd 43kdepaths + + KDE_X="KDE-4" + fi + + # Properly place xinitrc.d file that exports XDG_MENU_PREFIX to env + cat <<EOF > 11-xdg-menu-kde-${SLOT} +#!/bin/sh + +if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "${KDE_X}" ]; then + export XDG_MENU_PREFIX="kde-${SLOT}-" +fi +EOF + exeinto /etc/X11/xinit/xinitrc.d/ + doexe 11-xdg-menu-kde-${SLOT} || die "doexe failed" +} + +pkg_preinst() { + : +} + +src_test() { + : +} |