diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-28 08:31:42 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-05-28 08:31:42 +0000 |
commit | a85cbb3b685c495e5cbaa9bf6a68a9e2af95cb95 (patch) | |
tree | 30269ccd3f73dc5201dc6a0fc19a225d06d81c51 | |
parent | Version bump for final koffice 2 series first release. (diff) | |
download | gentoo-2-a85cbb3b685c495e5cbaa9bf6a68a9e2af95cb95.tar.gz gentoo-2-a85cbb3b685c495e5cbaa9bf6a68a9e2af95cb95.tar.bz2 gentoo-2-a85cbb3b685c495e5cbaa9bf6a68a9e2af95cb95.zip |
Update kde-env from kde-testing. KDEDIRS no longer needed.
(Portage version: 2.2_rc33/cvs/Linux i686)
-rw-r--r-- | kde-base/kde-env/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kde-env/kde-env-4.2.3-r1.ebuild | 98 |
2 files changed, 105 insertions, 1 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog index 22b8b1a9184f..021e36d1a03e 100644 --- a/kde-base/kde-env/ChangeLog +++ b/kde-base/kde-env/ChangeLog @@ -1,6 +1,12 @@ # 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.37 2009/05/09 13:41:20 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.38 2009/05/28 08:31:42 scarabeus Exp $ + +*kde-env-4.2.3-r1 (28 May 2009) + + 28 May 2009; Tomáš Chvátal <scarabeus@gentoo.org> + +kde-env-4.2.3-r1.ebuild: + Update kde-env from kde-testing. KDEDIRS no longer needed. 09 May 2009; Tomas Chvatal <scarabeus@gentoo.org> kde-env-4.2.3.ebuild: Fix failiture with FEATURES=test. Per bug #269011. diff --git a/kde-base/kde-env/kde-env-4.2.3-r1.ebuild b/kde-base/kde-env/kde-env-4.2.3-r1.ebuild new file mode 100644 index 000000000000..f5f98b334e33 --- /dev/null +++ b/kde-base/kde-env/kde-env-4.2.3-r1.ebuild @@ -0,0 +1,98 @@ +# 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.2.3-r1.ebuild,v 1.1 2009/05/28 08:31:42 scarabeus Exp $ + +EAPI="2" + +inherit kde4-base + +DESCRIPTION="Environment setting required for all KDE4 apps to run." +HOMEPAGE="http://kde.org" +SRC_URI="" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" +LICENSE="as-is" +IUSE="" + +RDEPEND=" + !<kde-base/kdelibs-3.5.10-r3 + !kdeprefix? ( + !kde-base/kdelibs:4.1 + !<=kde-base/kdelibs-4.2.2-r1:4.2 + !<=kde-base/kdelibs-4.2.70:4.3 + ) + kdeprefix? ( !<kde-base/kdelibs-${PV}:${SLOT} ) +" + +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() { + : +} |