summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-01-25 15:10:12 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-01-25 15:10:12 +0000
commit088be9a47bee70985023788cccdc5fa675ae3d6c (patch)
treef9216ec555c172f377dc0bb4ba298be0f8a171a5 /kde-base/kde-env
parentVersion bump KDE 4.3.5 (diff)
downloadgentoo-2-088be9a47bee70985023788cccdc5fa675ae3d6c.tar.gz
gentoo-2-088be9a47bee70985023788cccdc5fa675ae3d6c.tar.bz2
gentoo-2-088be9a47bee70985023788cccdc5fa675ae3d6c.zip
Version bump KDE 4.3.5
(Portage version: 2.2_rc61/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/kde-env')
-rw-r--r--kde-base/kde-env/ChangeLog8
-rw-r--r--kde-base/kde-env/kde-env-4.3.5.ebuild92
2 files changed, 99 insertions, 1 deletions
diff --git a/kde-base/kde-env/ChangeLog b/kde-base/kde-env/ChangeLog
index e858d0ea7b75..93a8d5da4cf3 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.62 2010/01/23 17:47:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kde-env/ChangeLog,v 1.63 2010/01/25 15:10:12 scarabeus Exp $
+
+*kde-env-4.3.5 (25 Jan 2010)
+
+ 25 Jan 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ +kde-env-4.3.5.ebuild:
+ Version bump
23 Jan 2010; Raúl Porcel <armin76@gentoo.org> kde-env-4.3.4.ebuild:
Add ~arm
diff --git a/kde-base/kde-env/kde-env-4.3.5.ebuild b/kde-base/kde-env/kde-env-4.3.5.ebuild
new file mode 100644
index 000000000000..5b1f6da6d0cd
--- /dev/null
+++ b/kde-base/kde-env/kde-env-4.3.5.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2010 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.5.ebuild,v 1.1 2010/01/25 15:10:12 scarabeus 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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+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() {
+ use prefix || ED=$D
+
+ dodir /etc/env.d
+ dodir /etc/revdep-rebuild
+ dodir ${KDEDIR}/share/config
+
+ # List all the multilib libdirs
+ local _libdir _libdirs
+ for _libdir in $(get_all_libdirs); do
+ _libdirs+=":${EKDEDIR}/${_libdir}"
+ done
+ _libdirs=${_libdirs#:}
+
+ if use kdeprefix; then
+
+ # number goes down with version
+ cat <<-EOF > "${T}/43kdepaths-${SLOT}"
+PATH="${EKDEDIR}/bin"
+ROOTPATH="${EKDEDIR}/sbin:${EKDEDIR}/bin"
+LDPATH="${_libdirs}"
+MANPATH="${EKDEDIR}/share/man"
+CONFIG_PROTECT="${EKDEDIR}/share/config ${EKDEDIR}/env ${EKDEDIR}/shutdown ${EPREFIX}/usr/share/config"
+#KDE_IS_PRELINKED=1
+PKG_CONFIG_PATH="${EKDEDIR}/$(get_libdir)/pkgconfig"
+XDG_DATA_DIRS="${EKDEDIR}/share"
+EOF
+ doenvd "${T}/43kdepaths-${SLOT}"
+ cat <<-EOF > "${ED}/etc/revdep-rebuild/50-kde-${SLOT}"
+SEARCH_DIRS="${EKDEDIR}/bin ${EKDEDIR}/lib*"
+EOF
+
+ # kdeglobals needed to make third party apps installed in /usr work
+ cat <<-EOF > "${ED}/${KDEDIR}/share/config/kdeglobals"
+[Directories][\$i]
+prefixes=${EPREFIX}/usr
+EOF
+
+ else
+
+ # Much simpler for the FHS compliant -kdeprefix install
+ # number goes down with version
+ cat <<-EOF > "${T}/43kdepaths"
+CONFIG_PROTECT="${EPREFIX}/usr/share/config"
+#KDE_IS_PRELINKED=1
+EOF
+ doenvd "${T}/43kdepaths"
+
+ fi
+}
+
+pkg_preinst() {
+ :
+}
+
+src_test() {
+ :
+}