summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-05-15 15:36:49 +0000
committerMichael Palimaka <kensington@gentoo.org>2015-05-15 15:36:49 +0000
commit059dd473bfd2eb89d8664260a77b22c539d25419 (patch)
treeb6a3845d7fc509ac39560701621633b5365c7916 /kde-base
parentContinue to add deblob support. (diff)
downloadhistorical-059dd473bfd2eb89d8664260a77b22c539d25419.tar.gz
historical-059dd473bfd2eb89d8664260a77b22c539d25419.tar.bz2
historical-059dd473bfd2eb89d8664260a77b22c539d25419.zip
Version bump.
Package-Manager: portage-2.2.19/cvs/Linux x86_64 Manifest-Sign-Key: 0x06B1F38DCA45A1EC!
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/ChangeLog7
-rw-r--r--kde-base/kdelibs/Manifest30
-rw-r--r--kde-base/kdelibs/kdelibs-4.14.8.ebuild306
3 files changed, 328 insertions, 15 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index 7233a7cd3397..79d4c7fd407e 100644
--- a/kde-base/kdelibs/ChangeLog
+++ b/kde-base/kdelibs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kdelibs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1052 2015/04/28 14:16:45 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1053 2015/05/15 15:36:26 kensington Exp $
+
+*kdelibs-4.14.8 (15 May 2015)
+
+ 15 May 2015; Michael Palimaka <kensington@gentoo.org> +kdelibs-4.14.8.ebuild:
+ Version bump.
*kdelibs-4.14.7 (28 Apr 2015)
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index af3e892b25bf..d03f67feb403 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -18,27 +18,29 @@ AUX kdelibs-4.9.3-werror.patch 1521 SHA256 0dbcfe622041387fddac550c37b30bfd5cf36
DIST kdelibs-4.14.3.tar.xz 11600500 SHA256 f8206da1106184ef0bd031b82701c4910b8dade331c4cdaf1cd9c6c5208cfd9e SHA512 7713cec4851fd4d7d5376afd905515902395ca469cefe1924c05ac0cd4499c28ab6a3c3e7bee10c4cfb3584f2fe93cfb6129d5b550d56d18217866f5fde748cf WHIRLPOOL 9b6d525136cee8e43b832dbbe7451494cc30e15cc58cc34eeab8c9040a9cbe893dc8ba794be50cdb3462e20279bfb41bee22385d3d106a353ef738da510f5c04
DIST kdelibs-4.14.6.tar.xz 11642796 SHA256 b313419f4ecd759155862532713763904f405a5307897a2479420eb097b0bd98 SHA512 0a2db7fe63b5a3bf2bcc85d7573f778f593b362adab1d1a9193ed04cae53615a67643e53b487a0776df0bcf55e8f956ebdf9a909bb863c6d1b8e0a70e94247ed WHIRLPOOL 420ca0b1369e30b8da05363117c094c0cf63c59eb28bbaae317b95829ca59f14296e294c32d58028f7ec6690dd0ef01f5b734fa22615a778a6de4b50cd4d7085
DIST kdelibs-4.14.7.tar.xz 11644392 SHA256 3800a39e847491396514d28d02ad1ec3fa401ff84310902b09e5e087badf18fe SHA512 34821172d24e430bb185f4c6fece1be6bd6baddfbdcda9a03fb1ce3f69952e40c5e41f6861e8f4c453344bac9e69f418de26076d2ff095290cedaf3804c53930 WHIRLPOOL 9ad4eab81617ac3e5fee1ef3c56035fcee2e3a5dd138ee52f3e56a58c22c8fb08d09fd8240809c32b5d12ec24d72d1955c0fbf1d9b5074b55735f03777686fff
+DIST kdelibs-4.14.8.tar.xz 11648060 SHA256 705fa8a9b3b3c962aa99d040eb32e68863ba4c2f567b82b9513379defbc39bbb SHA512 0cd5e8dd5cec7cf84bc66c6732f4967610211e521898da41601d24174f909043bafacbb9bd9775666cebb132747e2861c6c8ff07de61be708975f44dbbfb856e WHIRLPOOL 6405ee6b273899a26c39fa005c18be7270888113f93302990003b92ca96c52303ce853c5378c812f4ddf53f40c7b6ff9e2a958bc86a676d1e3abbfe4f3d96bd4
EBUILD kdelibs-4.14.3-r1.ebuild 8871 SHA256 4c59583a8c63d094a94c4587da5d723df943e3b3c15c8b74e5364cc76f0d4701 SHA512 55bbf0e7bc611aacc5a5e62ef85936831bb55a9682a666691fc8409f6f1e36576f8f3be513cff260700368bae125b471bf4fb4aab420abb8e54bf50fa9220bfd WHIRLPOOL 9536d0ee31dc7231342ccaed51f0c9b29dc18ff10e4099921038a4397697342436a510fcbfa2c65b19299a08dd9fa314e40ff4781c7273bedf067bf025e008c2
EBUILD kdelibs-4.14.6-r1.ebuild 8937 SHA256 8eedf538bc2a40e96189b619ce8736d61182abbbe1f8e12f4ef55980631a26c6 SHA512 1a044ed3beb6630c40a471d3ec4c48e44f1a15cacb5212a3c3b6fbf74770138feba65c9b500e7ccf76fa5a8ba1fc11e6d3ba668f8b9ef9cffef0a4b57795cc0a WHIRLPOOL 820da5f4c74cde3eb19a36cf1d7b465183d378c954efce1cd1f0790c0d57a69981d9e14affcabb7de21cc820f89fd2a264362c4532a4231bbe9c005f8118aeb2
EBUILD kdelibs-4.14.7.ebuild 8892 SHA256 185ee0e8284bf81ab8a0e8d261eb5ec65c5d849f794cf8bc6829a7c0609249b8 SHA512 cf13a04185ba5c83fd4c911b74522f2df411ee0a5d373bcd4f92e7f9ca9f8ff21939417169fb2969c4755789044dc509ad50fd5bf4b317df2fce1880f5b5898f WHIRLPOOL ef273770d0ef711add4473fb4194dbb8cd1bc58ef16cf61fa34a5c3bb19d1da45b2f09ad476f498b98c641878d09a7e065dc67f6782704f95bbeb701b59e2260
-MISC ChangeLog 62565 SHA256 c57c7975bd096af6fba82ad6643a9ad4b255ad802a956cb01c2b83bb0507750c SHA512 1055fc1c89badc9030482fa93083a800f75b732eded4b81d476822a9f0912b3f9764fcbe5eca26f125c429d689c43d68db23bcde66f5716b3bf745af65437681 WHIRLPOOL bbccd3c37d2acde86db3c4327fefc2bd260813e4f5afefd4707b6ccea847e72c8576b627b0a7b98aadbf24e0a2f2e8fbe1d3714fc8e61de7ef2405750b9c62d6
+EBUILD kdelibs-4.14.8.ebuild 8892 SHA256 f00456c098bbbb497e4ae58deb3b2be86445cc0b3081a1e4e2726965100d49e9 SHA512 463bc5d182ef4109427dc051f0dbc441ac5873b68bdbb3bd7735f8a8ceb158b2e4bbddf881496e4c1dad5f54d14741ecee1a2ca23f8b92147c99bee296b9f8d7 WHIRLPOOL 6a41aa0e30356cf025b20cdf309ceb5fe7d193ee046ff80cb98da9a9f0913086215f159e054d77e58c38fc987315d57e525b6afb02bf229d171471170ba997e0
+MISC ChangeLog 62693 SHA256 4777ff06c3eb71e21a5e73b861f81f61d014c750e9e015d909d52c4645d344d0 SHA512 5edbb09fab23ba9ed0577a9b6a1e0030f33f1e5770633d9aa65367b0265b36f707ac541b2aa6343f95ea0e23946a48ba35cc72ae645dcee5807c38bdd16e4399 WHIRLPOOL 8ae88d458321a1f68d2a2539b79ef04675c03ae64eb5d84de084bc90af90696a47f035465ae619f49581759117f48fcf29e0a651be743eb52d98d2d512e7a28d
MISC ChangeLog-2009 110608 SHA256 845ba7764dc9cabd4753d146e82cc0347a0dbbe21a76a4aab453106e7d70ba1f SHA512 c643c3bd742f1c2c4322217b4d9f2992310e9bf86f585ef687cf68f54ed2a86d2950f7f3c3fc5021a2dd472b6db39e17415ca6cde478e4ef4f91317a116889b5 WHIRLPOOL 8dd58bffc294a811176bc3f9882a0fa8a12c02fcdd692bacfccfc9745646d5062d3980553388fcdc835bbbecefd0783f029d07a5999e7208ceece5a93fa36893
MISC metadata.xml 335 SHA256 ce5c36bcfe52e7bc12d4c7fb83f64b01fd52f5b329365cadd44bd9d59b1e3a3a SHA512 efc588b15e3096574a9ecf0d0edf99f979197cc0e33b2710fd7babb16f2dcaf3cff22197e9fb429ef97590a1288410f77cd987e5c03b3dac8c85236b9af751e6 WHIRLPOOL 6f8cba5c16126a196fb424944b9c12322579ccbe8165821e5cb11611f941a664dee1a31f52927a346da165c25cd829c1f0187e40d209e5ef7c0af7e1afac3347
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJiBAEBCABMBQJVP5ZORRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5
+iQJiBAEBCABMBQJVVhKHRRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5
MTY5NkQ3RDM3NkRBN0U5QjZGMTUwMDZCMUYzOERDQTQ1QTFFQwAKCRAGsfONykWh
-7IIuEACNJOLBGKIHCKV+KTOR3lcLRViY45TizKe7OQSIPGPflRhwqDmXhNRl8IjD
-Ei8QqmQSJp95/XCdVRp0MM8qXbYgoQ5acVDQSNyT/0rhA/z8M6Z2u4KSlmlBkT+4
-dF88BFgqKN6MoccUC56JUglQ5/qdwbuP/IFz1+yiALhJUP62P1bTtKjR7q6Z+T7n
-pTaWTWz0U4AW6ogHuHMhWTv67boT98LiG0JwrYu+SSzj/mmdzOgYTl5o3ReCHBix
-8RjmaO5tS96FkXjhBaIDW8PJXDvrEPIPvM3iXm95eRboL0G5zJI4x4SaPeUzTR2h
-+TeGnKKrRRweBEP9EAydfZD4xCGZrwhkv6Fv6iXk3z/60QxtuWOYvOunTwFOgR6w
-zprfKUi1BA7yvvSys+w/6fDtH3ML8NBLzTKEAJvSDDSnCeXt80OEECV18WI0CU+P
-p3jc6uP+jzZHTJp3N4EdTUBBt6Pu9d4SEa+gLConOfffu1Px6/wwlo7UxkfSlvDd
-j9KP8DbBMP+bFEtorF/IldZ0eDJCy/GR16lh0nPcZU4Qq/xeyEVIGOK6OkiHZgrx
-Lpk2G7oQHTGUtK6QdIu8Ph4ztwnn1DFWvNFpRaD4lcPmp6C5xZb3S8dQZx2URyYr
-PZRbuK7nw3i2g+qZ3MlsAEY6ClBVk3FK/lGpXPlU6bgLBFqbiA==
-=i+Gh
+7G/yD/95aVEstcUMO1uZ+iAeljybdzyawIBpZpQboZ/uVrdd+Jn6ECeQ4hmPiYAr
+n617EUDbDmus68PkiVyh4zHqOFuFfwSItz0h5AIRxcrKwbCXznCyYUO2MVMcyT/P
+ac2s8Db+zd6P6+VFckujDse3xT9xxwYSjePqVK3S0WPeINQWzsBs8kqEmLzM7l8y
+cwpTDHUmHelhGPpLRakjlTjvkrTWzwytmXAwNotuRBHlqC6PrGpYbwibKHc4Cfuj
+BnEa0yzkSZbjngHE7T1IwXpQKwDL7OMyOW4OvWwySllFvgc23Wdn24ltAO9/x3d/
+aSAA4Lu+UpuvwLSwtyTcLI+3W6kt+/kPtWK8POI4BCE6G7/Sk5pcoy+N3vExWyQG
+NGVI8nmHPtasoRVL2DU/60rvRCewm+EJWJC9VHi4Ffg+nNF4u2m0GOR9Y4sLfIFP
+lqOgFUg+gNTVadL1Eq6cVzKJnxBmqYmjppRYNvyt+svxhUteOyCnZEvdagxgRbGS
+01Qjxu+UPc6v+3Xl6pxvkHsUsJ+4OwBRVRk4aOIvv3NrZIFlRedzLMtbzAGjUQHP
+XPvfyqyLqf7DS1IwuQpy5aZSmUXA2+ePqD3CVNqSA5tGfzWThTkqHYpll+4axEy7
+ZDJFhFOPO2YNMHIYWRltfYW8m54amUCkt8OsJR4tZUFqb/xncA==
+=XzmB
-----END PGP SIGNATURE-----
diff --git a/kde-base/kdelibs/kdelibs-4.14.8.ebuild b/kde-base/kdelibs/kdelibs-4.14.8.ebuild
new file mode 100644
index 000000000000..b931c948bec4
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-4.14.8.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.14.8.ebuild,v 1.1 2015/05/15 15:36:26 kensington 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.14"
+
+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="cpu_flags_x86_3dnow acl alsa altivec +bzip2 +crypt debug doc fam jpeg2k
+kerberos lzma cpu_flags_x86_mmx nepomuk nls openexr +policykit spell
+cpu_flags_x86_sse cpu_flags_x86_sse2 ssl +udev +udisks +upower zeroconf"
+
+REQUIRED_USE="
+ udisks? ( udev )
+ upower? ( udev )
+"
+
+# needs the kate regression testsuite from svn
+RESTRICT="test"
+
+COMMONDEPEND="
+ >=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[qt4(+)]
+ 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[qt4]
+ 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 )
+ crypt? ( app-crypt/qca:2[qt4(+)] )
+ 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[qt4(+)] )
+ spell? ( app-text/enchant )
+ ssl? ( dev-libs/openssl:0 )
+ 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 '' 4.14.3)
+ 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 '' 4.14.3)
+ || (
+ $(add_kdebase_dep kfmclient '' 4.14.3)
+ x11-misc/xdg-utils
+ )
+ handbook? (
+ || (
+ $(add_kdebase_dep khelpcenter '' 4.14.3)
+ kde-plasma/khelpcenter:5[compat(+)]
+ )
+ )
+ nepomuk? (
+ $(add_kdebase_dep nepomuk-core '' 4.14.3)
+ $(add_kdebase_dep nepomuk-widgets '' 4.14.3)
+ )
+ policykit? ( || (
+ >=sys-auth/polkit-kde-agent-0.99
+ kde-plasma/polkit-kde-agent
+ ) )
+"
+
+PATCHES=(
+ "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix-1.patch"
+ "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
+ "${FILESDIR}/${PN}-4.14.5-fatalwarnings.patch"
+ "${FILESDIR}/${PN}-4.14.5-mimetypes.patch"
+ "${FILESDIR}/${PN}-4.4.90-xslt.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 cpu_flags_x86_3dnow X86_3DNOW)
+ $(cmake-utils_use_has altivec PPC_ALTIVEC)
+ $(cmake-utils_use_has cpu_flags_x86_mmx X86_MMX)
+ $(cmake-utils_use_has cpu_flags_x86_sse X86_SSE)
+ $(cmake-utils_use_has cpu_flags_x86_sse2 X86_SSE2)
+ $(cmake-utils_use_with acl)
+ $(cmake-utils_use_with alsa)
+ $(cmake-utils_use_with bzip2 BZip2)
+ $(cmake-utils_use_with crypt QCA2)
+ $(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
+}