summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-08-04 01:39:24 +0000
committerAlex Alexander <wired@gentoo.org>2009-08-04 01:39:24 +0000
commitd28d4c3ef16a1d67b8fba9625eb0f0cc1e61b927 (patch)
tree4a5e0d596c871b904ba6a9adf64b2fe4c4e8bac4 /kde-base/kde-env
parent2.2_rc35 bump. Fixes previously mentioned regression in 2.2_rc34. (diff)
downloadhistorical-d28d4c3ef16a1d67b8fba9625eb0f0cc1e61b927.tar.gz
historical-d28d4c3ef16a1d67b8fba9625eb0f0cc1e61b927.tar.bz2
historical-d28d4c3ef16a1d67b8fba9625eb0f0cc1e61b927.zip
Version bump KDE 4.3.0
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'kde-base/kde-env')
-rw-r--r--kde-base/kde-env/ChangeLog7
-rw-r--r--kde-base/kde-env/kde-env-4.3.0.ebuild98
2 files changed, 104 insertions, 1 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog
index acfbc0b34a59..3af31988229b 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.42 2009/06/14 10:42:56 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.43 2009/08/04 00:14:45 wired Exp $
+
+*kde-env-4.3.0 (04 Aug 2009)
+
+ 04 Aug 2009; Alex Alexander <wired@gentoo.org> +kde-env-4.3.0.ebuild:
+ Version bump
14 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org> -kde-env-4.2.3.ebuild,
-kde-env-4.2.3-r1.ebuild:
diff --git a/kde-base/kde-env/kde-env-4.3.0.ebuild b/kde-base/kde-env/kde-env-4.3.0.ebuild
new file mode 100644
index 000000000000..5af530b8d060
--- /dev/null
+++ b/kde-base/kde-env/kde-env-4.3.0.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.3.0.ebuild,v 1.1 2009/08/04 00:14: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 ~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-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() {
+ :
+}