summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdelibs')
-rw-r--r--kde-base/kdelibs/ChangeLog7
-rw-r--r--kde-base/kdelibs/Manifest34
-rw-r--r--kde-base/kdelibs/kdelibs-4.13.3.ebuild299
3 files changed, 322 insertions, 18 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index d840124f1bf3..027c7a13e90a 100644
--- a/kde-base/kdelibs/ChangeLog
+++ b/kde-base/kdelibs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kdelibs
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1015 2014/06/29 18:27:17 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1016 2014/07/16 17:40:37 johu Exp $
+
+*kdelibs-4.13.3 (16 Jul 2014)
+
+ 16 Jul 2014; Johannes Huber <johu@gentoo.org> +kdelibs-4.13.3.ebuild:
+ Version bump KDE SC 4.13.3
29 Jun 2014; Andreas K. Huettel <dilfridge@gentoo.org>
-kdelibs-4.12.5.ebuild:
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index fa4a1b1c5f17..17f25e97000f 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -15,27 +15,27 @@ AUX kdelibs-4.8.1-norpath.patch 788 SHA256 813acf8e0b23eeac94d6f504ca53a3a5cc2fb
AUX kdelibs-4.9.3-werror.patch 1521 SHA256 0dbcfe622041387fddac550c37b30bfd5cf369fab24d08de566e1a64849e2e79 SHA512 79777b19e8ab56a855540c89d0f2d8a00fa40143efa5bded05be71b9ef45045f533128ccef691dd6667f3934c076968abf7fcf5aa311af56c63ba201efe4e3d5 WHIRLPOOL 428f477ccfcf0e4bec3b80d073d4f18d18e520afb24780a5682d146395bbb4067b3fbcb5aabc2f2304de435a8e316433fb32c9d1fc84380fcf17a4d428f521f7
DIST kdelibs-4.12.5.tar.xz 11551604 SHA256 9711c3a3d29387dc8b40425cc2957e9f1f2d747d83e9e0213bb8ff6638e68e09 SHA512 222a3a5ad7a728723862fbfcca6886316964ba1b100214132d27d0f8b1bb89b73824aa0c144cd4dbdf37a43d641d9c602befcd94e8095b7bc73bcba431c3b13f WHIRLPOOL f959b45cd7d8fb0ead29153eac830ba54448b53ff0c9959628513e92c90948b128b0413d3fbdf88698d998f3c2d8d819564013987e6d1034242dbd1de23b3518
DIST kdelibs-4.13.2.tar.xz 11555424 SHA256 559809c602b80ff1091a4fb67e8c98b0ebb91c3cd437d1583068ddde19efda0e SHA512 7a4236e05f2308cd679410378c856d379e8e11bdeb0e0223133129c2f1dda79e550ee7838ec822b928c51588b58a2b8e66db925d2e9ae3ef0358503f2e258eaf WHIRLPOOL e60191936da1cf65e1d4d70a98fd60c9a2234ca12864b099eb30cb84a930658904dd97982f71b26556a39ae85891c28f27427b47260a583a53f4e81f87f2f476
+DIST kdelibs-4.13.3.tar.xz 11557152 SHA256 d291b4bc159a3f686ad93ff3dfbe90a0a7e33600357e8390c84154ec050efc82 SHA512 9bc6f154cbf1b6e8b46ee255ce099d9ba9e530dd478d4a1bf2d24f8f9a063221da3a938f9520ad9149c6b82c4135dc72ab652c410bd82ad4b7100e16fff7a661 WHIRLPOOL c4f4872d27244d84112ced58bfc1fbde3e1d9e6b13d77c2209a968145c35d3151ba0526279a8f8bd8007d992e762b8902f9cacfb49789992501c7ccc4d497532
EBUILD kdelibs-4.12.5-r1.ebuild 8644 SHA256 c7488d15d77b3c83d90dd3c75450d6d8c4b425e7a61aba7a28ec145dbd7c21e4 SHA512 03fca0cb4836d5e3c7c0a146c3f7e2531d001fcb9978265eae4ce03523b317c1be35980d3c120a9f0db0500221c1047f83462fb82534caf133b50d610fec286e WHIRLPOOL f6e071e0a6b97ebbf21e72a428f7e9991b45003f34f0a80f17f5044b5119dda23b0bb99d8027d0927fd8c7c5c099538d27064cef01e96799ac8d0371f3710a82
EBUILD kdelibs-4.13.2-r1.ebuild 8605 SHA256 271c68fccac09dfa529214412bb80f1fd58cd50b56e4fd91cd2b9f3042fdb172 SHA512 dde4af0b4023956ebaedfb180b056308a0dd9ee473356a10ad79b759b253b4b318daafe0dd816db17e62723a775344008320433edc68063f418b3cbb4609862d WHIRLPOOL 1ed7d42b98a6e739939cb7c880c7baf6065cb8b3ca83f0a5cc03148e7a7ca757ccdfd3cdb845c2e9488b46f01cb837528bc78b45519d91fd6b5e134c03a9e122
-MISC ChangeLog 57349 SHA256 561f1207cb255b348c754e23859dfa997fd272e676a3f7f0d05c62836d81448e SHA512 b7b9360780338c2fc2685bf0046a0a2044752eac44d5a24428c9cb12796aeb54f4f371b195fcd7459baf95d9812dbd1aa63c9d7538babd7fb984216f89a14f16 WHIRLPOOL 71b22bc2fc8c5e3a3b8d75cb6e3ea8f2cfaa4bed80e6ef29016908da9d5248ca72801938c5828aab1fae7b07416322b4cdcc4712c3af51397765a3c753a1edce
+EBUILD kdelibs-4.13.3.ebuild 8543 SHA256 c419830a06cd70a0071919c8757e640b8196d99ea87734c553f598bb2c919006 SHA512 e163243de401bd1cd72c508c867d669a10f8f11fbe2e869af7755bdd007d106b56f425e115610ad574a206d2ee7bc7244c8470cb026afe35447b85bc6cb59268 WHIRLPOOL e246c22544ca67c7d4356adec2c4997945ace1c5be973119898ec4bca054798a3e182a1a07c981b85f857198f78f0f97a32c1cfa94ffc131c5066eea40f7a99a
+MISC ChangeLog 57477 SHA256 8e1f73fa0024e38a9bedd36f4f39178d65c176e2498b963c940c36c73743ac4f SHA512 9cdae899c44eeeafdd2027a9440ece30eb3c8d70e04d05356c36049455259dd445559c4d22575b8de33306672658145ef250b9aa26a85c4759bf5249daaf0af3 WHIRLPOOL 5e43976eba5d049969275cec104963f426a2f1c9c788e1e21d364fdc5dabce5cb4d7d24a8b62c9b68b9dc789bc082f60abd57c1749ab276e19888a9dcec79295
MISC ChangeLog-2009 110608 SHA256 845ba7764dc9cabd4753d146e82cc0347a0dbbe21a76a4aab453106e7d70ba1f SHA512 c643c3bd742f1c2c4322217b4d9f2992310e9bf86f585ef687cf68f54ed2a86d2950f7f3c3fc5021a2dd472b6db39e17415ca6cde478e4ef4f91317a116889b5 WHIRLPOOL 8dd58bffc294a811176bc3f9882a0fa8a12c02fcdd692bacfccfc9745646d5062d3980553388fcdc835bbbecefd0783f029d07a5999e7208ceece5a93fa36893
MISC metadata.xml 479 SHA256 ee8c6078738cb67ee6339da3041a6ec393859379131646c233c84cba637d219d SHA512 143333c1b6e67c073b65c67595f07f92f2417849f92fe58091fb6b9b2b8f1f9fa07c992231e6f235a335c17bbc3765a7521b02353d8c3087541cb3e3c1c98a3f WHIRLPOOL f14e61fd6a232d345687c06f54006d7607d0cd6c25bfcfa9483a1e33b1469266f0edd4e5ad83f010dd2e9160654621baaaab5e6fc1ffff3915ac815bbc9170d1
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iQJ8BAEBCABmBQJTsFqGXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
-QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcD8QQAJseeY46OoFlEZGCDteZx4jN
-Lp3zKSjn3q1dWRWD9sX+H8jDp2YCylgi9T7PRXVJHq3vJ1KH2E2aSP5TcLbIXZMy
-069Pd5g8e1/lW+zHlNOgg48DSiH6OtMAHQLAwsgq4H7+mbIXOXqBP/Hl1DW/oflT
-M5buNVSN2Acdi3rty5TvxZE6uxDjj9ek7D2hzm61ILSyulOHCO/NH7aM9z9OuhCv
-ngcvmSkrZc7j33IZODrT3IunfBSw4z+Dan6sSF4qs3BZysLzYuqzn3Ut1FVKT5fg
-u+HepvyEGF0No6vU3/exWBQiJtsLRpJ9p2OcwxozS4NTZtH5fRHrdn1N3xCf0yXw
-vKsJ4F2eWbhrdOy6Wtdn0zK8jP7thqwk+j7L1vo4ziOJ/utnkJ6zXXGNM28kLhil
-OH9mVBfzEWVqFedxFnefOVqKen49NHLB8iaqSM3cHDJb71odI654GvEF/UYSDFMK
-RZquVhJhLSqFk3HLgmEo0V01H+Cd8vOXdX/TE7DD0/PDD9xhFSnGp0x4tUWq24UQ
-KRPY8UKXYSY52P6DQwyL68vxRr2gKNC6Mm5supAe2cluPjdUm+EBLPGdzO/8ODHB
-hgiy2pMjgHMKnTWaKNeyIg8iY4yw11HZ187zLYERAAZ5RXTvAr4dS5rIu+z60OF/
-+CCsgve5LirTosauYoti
-=jrph
+iQIcBAEBCAAGBQJTxrloAAoJEGVpnaTzz9K9Bh8QAIvu2Oa5BOrb0kqxVsqmDhZn
+xBSJpG+I9lQ3DAwx1ZwE3ASXhHOKcyR9R3YpM5NvlmHgKXJyHK8hX3ElPbbfwpgA
+zH25Gh45jLJsedaMNQ7s3yb/C9u85Z0Im+8EWvtgtBPGgZrDfTxi6xvupYQSXLXq
+R3bw3bC0rIZYP4Rp8bioIRdPMPzyxCPmoVAscITndw0hRrV0x7r1jGqZK6MLLRf8
+/2+sm1V5TQTDN3dPsQ8ywS+tp3PQnFGrPo0Sox1F+zGbnuVIwLLQDtZjbVuAzaOW
+KMbXnIGbto2lLV1Lnzehtgm7ZG9pZuWSCloR+NurO6/1tPHbrdQ7e2lTJdeZWbPJ
+RU/9DDG285e6bpzGKtUAEnNx+RKxMT+pGUQ5+X3tW6qW3ai53nkm9Sd857/V0wh9
+84OXIGfrg+8VT39Yx7OS8X3YjvJGC7pjrHGPY/Qiesa6SDlmxGdoabYEuKgWgCEm
+WsCptOoz3KSDK0E9OIemaOz20cN7bVxUXrhGqON2gGEONx1Vq5OMIcIDnCiBel87
+jlujq2qoWUIVUjEMfkiPdpz6f8l+wKCMGUlmXpnmuCHdBk9WRmND/qQvUlsASXJK
+VK2u/yEn4oy5MxFlAo8Y5LzIHdPUC4qsv5hhWnq5YkmU8QPWuSw9qxX+5uSS8/gv
+36wyXOyygxCt+gbE0KFJ
+=b/Uw
-----END PGP SIGNATURE-----
diff --git a/kde-base/kdelibs/kdelibs-4.13.3.ebuild b/kde-base/kdelibs/kdelibs-4.13.3.ebuild
new file mode 100644
index 000000000000..18208bbc83cc
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-4.13.3.ebuild
@@ -0,0 +1,299 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.13.3.ebuild,v 1.1 2014/07/16 17:40:37 johu Exp $
+
+EAPI=5
+
+CPPUNIT_REQUIRED="optional"
+DECLARATIVE_REQUIRED="always"
+OPENGL_REQUIRED="optional"
+KDE_HANDBOOK="optional"
+inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
+
+EGIT_BRANCH="KDE/4.13"
+
+DESCRIPTION="KDE libraries needed by all KDE programs."
+
+KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+LICENSE="LGPL-2.1"
+IUSE="3dnow acl alsa altivec +bzip2 debug doc fam jpeg2k kerberos lzma mmx
+nepomuk nls openexr +policykit spell sse sse2 ssl +udev +udisks +upower
+zeroconf"
+
+REQUIRED_USE="
+ udisks? ( udev )
+ upower? ( udev )
+"
+
+# needs the kate regression testsuite from svn
+RESTRICT="test"
+
+COMMONDEPEND="
+ app-crypt/qca:2
+ >=app-misc/strigi-0.7.7
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xsl-stylesheets
+ >=dev-libs/libattica-0.4.2
+ >=dev-libs/libdbusmenu-qt-0.3.2
+ dev-libs/libpcre[unicode]
+ dev-libs/libxml2
+ dev-libs/libxslt
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/giflib
+ media-libs/libpng:0=
+ >=media-libs/phonon-4.4.3
+ sys-libs/zlib
+ virtual/jpeg:0
+ >=x11-misc/shared-mime-info-0.60
+ acl? ( virtual/acl )
+ alsa? ( media-libs/alsa-lib )
+ !aqua? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcursor
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXft
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ !kernel_SunOS? (
+ || (
+ sys-libs/libutempter
+ >=sys-freebsd/freebsd-lib-9.0
+ )
+ )
+ )
+ bzip2? ( app-arch/bzip2 )
+ fam? ( virtual/fam )
+ jpeg2k? ( media-libs/jasper )
+ kerberos? ( virtual/krb5 )
+ nepomuk? (
+ >=dev-libs/shared-desktop-ontologies-0.11.0
+ >=dev-libs/soprano-2.9.0[dbus,raptor,redland]
+ )
+ openexr? (
+ media-libs/openexr:=
+ media-libs/ilmbase:=
+ )
+ policykit? ( >=sys-auth/polkit-qt-0.103.0 )
+ spell? ( app-text/enchant )
+ ssl? ( dev-libs/openssl )
+ udev? ( virtual/udev )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+"
+DEPEND="${COMMONDEPEND}
+ doc? ( app-doc/doxygen )
+ nls? ( virtual/libintl )
+"
+RDEPEND="${COMMONDEPEND}
+ !dev-qt/qtphonon
+ !<=kde-base/plasma-workspace-4.7.1:4
+ !<=kde-base/kcontrol-4.4.50:4
+ >=app-crypt/gnupg-2.0.11
+ app-misc/ca-certificates
+ $(add_kdebase_dep kde-env)
+ sys-apps/dbus[X]
+ !aqua? (
+ udisks? ( sys-fs/udisks:2 )
+ x11-apps/iceauth
+ x11-apps/rgb
+ >=x11-misc/xdg-utils-1.0.2-r3
+ upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )
+ )
+ udev? ( app-misc/media-player-info )
+"
+PDEPEND="
+ $(add_kdebase_dep katepart)
+ || (
+ $(add_kdebase_dep kfmclient)
+ x11-misc/xdg-utils
+ )
+ handbook? ( $(add_kdebase_dep khelpcenter) )
+ nepomuk? (
+ $(add_kdebase_dep nepomuk-core)
+ $(add_kdebase_dep nepomuk-widgets)
+ )
+ policykit? (
+ >=sys-auth/polkit-kde-agent-0.99
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix-1.patch"
+ "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
+ "${FILESDIR}/${PN}-4.7.96-mimetypes.patch"
+ "${FILESDIR}/${PN}-4.4.90-xslt.patch"
+ "${FILESDIR}/${PN}-4.6.2-armlinking.patch"
+ "${FILESDIR}/${PN}-4.6.3-no_suid_kdeinit.patch"
+ "${FILESDIR}/${PN}-4.8.1-norpath.patch"
+ "${FILESDIR}/${PN}-4.9.3-werror.patch"
+ "${FILESDIR}/${PN}-4.10.0-udisks.patch"
+)
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
+ && die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
+ fi
+}
+
+src_prepare() {
+ kde4-base_src_prepare
+
+ # Rename applications.menu (needs 01_gentoo_set_xdg_menu_prefix-1.patch to work)
+ sed -e 's|FILES[[:space:]]applications.menu|FILES applications.menu RENAME kde-4-applications.menu|g' \
+ -i kded/CMakeLists.txt || die "Sed on CMakeLists.txt for applications.menu failed."
+
+ if use aqua; then
+ sed -i -e \
+ "s:BUNDLE_INSTALL_DIR \"/Applications:BUNDLE_INSTALL_DIR \"${EPREFIX}/${APP_BUNDLE_DIR}:g" \
+ cmake/modules/FindKDE4Internal.cmake || die "failed to sed FindKDE4Internal.cmake"
+
+ #if [[ ${CHOST} == *-darwin8 ]]; then
+ sed -i -e \
+ "s:set(_add_executable_param MACOSX_BUNDLE):remove(_add_executable_param MACOSX_BUNDLE):g" \
+ cmake/modules/KDE4Macros.cmake || die "failed to sed KDE4Macros.cmake"
+ #fi
+
+ # solid/solid/backends/iokit doesn't properly link, so disable it.
+ sed -e "s|\(APPLE\)|(FALSE)|g" -i solid/solid/CMakeLists.txt \
+ || die "disabling solid/solid/backends/iokit failed"
+ sed -e "s|m_backend = .*Backends::IOKit.*;|m_backend = 0;|g" -i solid/solid/managerbase.cpp \
+ || die "disabling solid/solid/backends/iokit failed"
+
+ # There's no fdatasync on OSX and the check fails to detect that.
+ sed -e "/HAVE_FDATASYNC/ d" -i config.h.cmake \
+ || die "disabling fdatasync failed"
+
+ # Fix nameser include to nameser8_compat
+ sed -e "s|nameser8_compat.h|nameser_compat.h|g" -i kio/misc/kpac/discovery.cpp \
+ || die "fixing nameser include failed"
+ append-flags -DHAVE_ARPA_NAMESER8_COMPAT_H=1
+
+ # Try to fix kkeyserver_mac
+ epatch "${FILESDIR}"/${PN}-4.3.80-kdeui_util_kkeyserver_mac.patch
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_HSPELL=OFF
+ -DWITH_ASPELL=OFF
+ -DWITH_DNSSD=OFF
+ -DKDE_DEFAULT_HOME=.kde4
+ -DKAUTH_BACKEND=POLKITQT-1
+ -DBUILD_libkactivities=OFF
+ $(cmake-utils_use_build handbook doc)
+ $(cmake-utils_use_has 3dnow X86_3DNOW)
+ $(cmake-utils_use_has altivec PPC_ALTIVEC)
+ $(cmake-utils_use_has mmx X86_MMX)
+ $(cmake-utils_use_has sse X86_SSE)
+ $(cmake-utils_use_has sse2 X86_SSE2)
+ $(cmake-utils_use_with acl)
+ $(cmake-utils_use_with alsa)
+ $(cmake-utils_use_with bzip2 BZip2)
+ $(cmake-utils_use_with fam)
+ $(cmake-utils_use_with jpeg2k Jasper)
+ $(cmake-utils_use_with kerberos GSSAPI)
+ $(cmake-utils_use_with lzma LibLZMA)
+ $(cmake-utils_use_with nepomuk Soprano)
+ $(cmake-utils_use_with nepomuk SharedDesktopOntologies)
+ $(cmake-utils_use_with nls Libintl)
+ $(cmake-utils_use_with openexr OpenEXR)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with policykit PolkitQt-1)
+ $(cmake-utils_use_with spell ENCHANT)
+ $(cmake-utils_use_with ssl OpenSSL)
+ $(cmake-utils_use_with udev UDev)
+ $(cmake-utils_use_with udisks SOLID_UDISKS2)
+ $(cmake-utils_use_with zeroconf Avahi)
+ )
+ kde4-base_src_configure
+}
+
+src_compile() {
+ kde4-base_src_compile
+
+ # The building of apidox is not managed anymore by the build system
+ if use doc; then
+ einfo "Building API documentation"
+ cd "${S}"/doc/api/
+ ./doxygen.sh "${S}" || die "APIDOX generation failed"
+ fi
+}
+
+src_install() {
+ kde4-base_src_install
+
+ # use system certificates
+ rm -f "${ED}"/usr/share/apps/kssl/ca-bundle.crt || die
+ dosym /etc/ssl/certs/ca-certificates.crt /usr/share/apps/kssl/ca-bundle.crt
+
+ if use doc; then
+ einfo "Installing API documentation. This could take a bit of time."
+ cd "${S}"/doc/api/
+ docinto /HTML/en/kdelibs-apidox
+ dohtml -r ${P}-apidocs/*
+ fi
+
+ if use aqua; then
+ einfo "fixing ${PN} plugins"
+
+ local _PV=${PV:0:3}.0
+ local _dir=${EPREFIX}/usr/$(get_libdir)/kde4/plugins/script
+
+ install_name_tool -id \
+ "${_dir}/libkrossqtsplugin.${_PV}.dylib" \
+ "${D}/${_dir}/libkrossqtsplugin.${_PV}.dylib" \
+ || die "failed fixing libkrossqtsplugin.${_PV}.dylib"
+
+ einfo "fixing ${PN} cmake detection files"
+ #sed -i -e \
+ # "s:if (HAVE_XKB):if (HAVE_XKB AND NOT APPLE):g" \
+ echo -e "set(XKB_FOUND FALSE)\nset(HAVE_XKB FALSE)" > \
+ "${ED}"/usr/share/apps/cmake/modules/FindXKB.cmake \
+ || die "failed fixing FindXKB.cmake"
+ fi
+
+ einfo Installing environment file.
+ # Since 44qt4 is sourced earlier QT_PLUGIN_PATH is defined.
+ echo "COLON_SEPARATED=QT_PLUGIN_PATH" > "${T}/77kde"
+ echo "QT_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/kde4/plugins" >> "${T}/77kde"
+ doenvd "${T}/77kde"
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+
+ if use zeroconf; then
+ echo
+ elog "To make zeroconf support available in KDE make sure that the avahi daemon"
+ elog "is running."
+ echo
+ einfo "If you also want to use zeroconf for hostname resolution, emerge sys-auth/nss-mdns"
+ einfo "and enable multicast dns lookups by editing the 'hosts:' line in /etc/nsswitch.conf"
+ einfo "to include 'mdns', e.g.:"
+ einfo " hosts: files mdns dns"
+ echo
+ fi
+
+ kde4-base_pkg_postinst
+}
+
+pkg_prerm() {
+ # Remove ksycoca4 global database
+ rm -f "${EROOT}${PREFIX}"/share/kde4/services/ksycoca4
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+
+ kde4-base_pkg_postrm
+}