summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-06-04 11:52:47 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-06-04 11:52:47 +0000
commit3f3556c938aff638ed04891340664e15a906b3d3 (patch)
treeba4f93a4952a936cb82bd95bc4b07222f8ae1bac /kde-base/kde-env
parentVersion bump KDE 4.2.4 (diff)
downloadgentoo-2-3f3556c938aff638ed04891340664e15a906b3d3.tar.gz
gentoo-2-3f3556c938aff638ed04891340664e15a906b3d3.tar.bz2
gentoo-2-3f3556c938aff638ed04891340664e15a906b3d3.zip
Version bump KDE 4.2.4
(Portage version: 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.2.4.ebuild98
2 files changed, 104 insertions, 1 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog
index 4ecefbff1acc..3878c81045c3 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.39 2009/06/03 15:14:54 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.40 2009/06/04 11:52:47 alexxy Exp $
+
+*kde-env-4.2.4 (04 Jun 2009)
+
+ 04 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org> +kde-env-4.2.4.ebuild:
+ Version bump
03 Jun 2009; Alexey Shvetsov <alexxy@gentoo.org> ChangeLog:
Drop KDE 4.2.2
diff --git a/kde-base/kde-env/kde-env-4.2.4.ebuild b/kde-base/kde-env/kde-env-4.2.4.ebuild
new file mode 100644
index 000000000000..75217a680352
--- /dev/null
+++ b/kde-base/kde-env/kde-env-4.2.4.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.4.ebuild,v 1.1 2009/06/04 11:52:47 alexxy 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() {
+ :
+}