diff options
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.3.4.ebuild | 90 |
2 files changed, 96 insertions, 1 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog index 1f87f8fd42b4..906dfaa5330f 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.54 2009/11/30 05:02:08 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.55 2009/12/01 10:20:45 wired Exp $ + +*kde-env-4.3.4 (01 Dec 2009) + + 01 Dec 2009; Alex Alexander <wired@gentoo.org> +kde-env-4.3.4.ebuild: + Version bump 30 Nov 2009; Joseph Jezak <josejx@gentoo.org> kde-env-4.3.3.ebuild: Marked ppc/ppc64 for bug #292455. diff --git a/kde-base/kde-env/kde-env-4.3.4.ebuild b/kde-base/kde-env/kde-env-4.3.4.ebuild new file mode 100644 index 000000000000..4f3708270c9e --- /dev/null +++ b/kde-base/kde-env/kde-env-4.3.4.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2009 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.3.4.ebuild,v 1.1 2009/12/01 10:20:45 wired Exp $ + +EAPI="2" + +inherit kde4-base + +DESCRIPTION="Environment setting required for all KDE4 apps to run." +HOMEPAGE="http://kde.org" +[[ ${PV} = *9999* ]] && ESVN_REPO_URI="" || SRC_URI="" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +LICENSE="as-is" +IUSE="" + +add_blocker kdelibs 4.2.2-r1 '<3.5.10-r3:3.5' 4.2.70:4.3 + +src_unpack() { + : +} + +src_prepare() { + : +} + +src_configure() { + : +} + +src_compile() { + : +} + +src_install() { + dodir /etc/env.d + dodir /etc/revdep-rebuild + dodir "${PREFIX}/share/config" + + # List all the multilib libdirs + local _libdir _libdirs + for _libdir in $(get_all_libdirs); do + _libdirs="${_libdirs}:${PREFIX}/${_libdir}" + done + _libdirs=${_libdirs#:} + + if use kdeprefix; then + + # number goes down with version + cat <<-EOF > "${T}/43kdepaths-${SLOT}" +PATH="${PREFIX}/bin" +ROOTPATH="${PREFIX}/sbin:${PREFIX}/bin" +LDPATH="${_libdirs}" +MANPATH="${PREFIX}/share/man" +CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown /usr/share/config" +#KDE_IS_PRELINKED=1 +PKG_CONFIG_PATH="${PREFIX}/$(get_libdir)/pkgconfig" +XDG_DATA_DIRS="${PREFIX}/share" +EOF + doenvd "${T}/43kdepaths-${SLOT}" + cat <<-EOF > "${D}/etc/revdep-rebuild/50-kde-${SLOT}" +SEARCH_DIRS="${PREFIX}/bin ${PREFIX}/lib*" +EOF + + # kdeglobals needed to make third party apps installed in /usr work + cat <<-EOF > "${D}/${PREFIX}/share/config/kdeglobals" +[Directories][\$i] +prefixes=/usr +EOF + + else + + # Much simpler for the FHS compliant -kdeprefix install + # number goes down with version + cat <<-EOF > "${T}/43kdepaths" +CONFIG_PROTECT="/usr/share/config" +#KDE_IS_PRELINKED=1 +EOF + doenvd "${T}/43kdepaths" + + fi +} + +pkg_preinst() { + : +} + +src_test() { + : +} |