summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-07-02 12:57:15 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-07-02 12:57:15 +0000
commit290b5e39a382fe2d6af3c884bd3de1754c5e5c34 (patch)
tree8b595c6aa5f119f1caf0fd0339a07cbc5dd3ebd4 /kde-base
parentremove RESOURCE_COUNTERS from kernel configure check (diff)
downloadhistorical-290b5e39a382fe2d6af3c884bd3de1754c5e5c34.tar.gz
historical-290b5e39a382fe2d6af3c884bd3de1754c5e5c34.tar.bz2
historical-290b5e39a382fe2d6af3c884bd3de1754c5e5c34.zip
Version bump.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdelibs/ChangeLog7
-rw-r--r--kde-base/kdelibs/Manifest16
-rw-r--r--kde-base/kdelibs/kdelibs-4.14.10.ebuild306
3 files changed, 315 insertions, 14 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog
index 074fe79b2e1b..128c21ff2a0b 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.1057 2015/06/13 08:34:13 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.1058 2015/07/02 12:57:11 mrueg Exp $
+
+*kdelibs-4.14.10 (02 Jul 2015)
+
+ 02 Jul 2015; Manuel Rüger <mrueg@gentoo.org> +kdelibs-4.14.10.ebuild:
+ Version bump.
13 Jun 2015; Mikle Kolyada <zlogene@gentoo.org> kdelibs-4.14.8.ebuild:
x86 stable wrt bug #550740
diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest
index d8f4324785b6..3aee3dfea5e6 100644
--- a/kde-base/kdelibs/Manifest
+++ b/kde-base/kdelibs/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX dist/01_gentoo_set_xdg_menu_prefix-1.patch 592 SHA256 dea20e8a0e8f0ecc1aec1b38cec994312514aa1e88ba25fede01e1953623f341 SHA512 33a7eeb58b65ce28f0fadc1f6c7133e670391330d084df39990bb0a5b4ddd78f52375c1ebc620823adfe4eee22f10b85064d3fdcb6df0f63c5f6e757357e7ca7 WHIRLPOOL c585ed614ae27e0694156a7af68e222fe13578db95e611b592896475772572c316a05a60b39d1797d28f2c7bea52736ac41c5ee096a92e09e945c34f07ecf69c
AUX dist/02_gentoo_append_xdg_config_dirs-1.patch 1041 SHA256 849e8cf1ca67eeae9dfd063eed676176f84e13d6e6b7244789c805c93e34edb9 SHA512 e4d057665461dc27bda326178c8c21dbe75458a9cdc3cf976cf1e5b549d18732cd538c17fbad1f67b09188da0650e8d9c16d43076ffcfe06003484ddb442eb04 WHIRLPOOL f741e12a2a03a56a24ee734f6cf56d16d7621d708b87ea3be04e11b99cf24b9af53c88c4304c3b2d225e51c7403f8aacb1fcb152cc227bb5f98d6dea276250be
AUX kdelibs-4.10.0-udisks.patch 2012 SHA256 a856a103831162da416ea07ab9f18db5d5eb4732ee9203c9d6799a4616e53f25 SHA512 b22d2f70f17618d5f2d11e9037c4d198a1fa11252d59098f120cc77cc12bcb3d90f1a69c63f33abb01217f396f3eb51ea8285e5ff5306eb41e63cc15654ced33 WHIRLPOOL 6c6b33afdb29fda62798f9b7121711bf8f8de44bd4839523316abb9a2a05e6e9f773e700b1e43fc75564aa82d18490aeec5ca04c51418d37d2f9b3c8924daf9f
@@ -15,25 +12,18 @@ AUX kdelibs-4.6.2-armlinking.patch 1129 SHA256 9b076d1587bb02b85353f3a155199fd6d
AUX kdelibs-4.6.3-no_suid_kdeinit.patch 963 SHA256 2d0ab01c1e495e77f911a073310615d1f57b2d6981a23c9349d45be5e133d8bb SHA512 5e538746b94dc7006e20ce7ac5135ff19d1fefa98b1d2417ad01acd67fb930ca4fc16c4900d9405aeb5a4de2cfc3b75aeb25676b25a6f216ce8e8e06aca009e1 WHIRLPOOL 8c9817b7595f64f7484ecaa2d3f57ae434ec573378a0d857a39d4dfbfa61af74ada92bc20be7964049ccba88b9444b4176bfaceb014d8f0b1d5bffd00b08a1e7
AUX kdelibs-4.8.1-norpath.patch 788 SHA256 813acf8e0b23eeac94d6f504ca53a3a5cc2fb8c33fa93b0398c99bb862a8cead SHA512 6c8b3bfb9e468ec05508919ef7aca04421334c99dac0b8f1550efc2fb04554b8af97b3da52050102417db3d46884f5f4e677fd42ecb3b768b3b7a77d413c3d89 WHIRLPOOL 9861fe4b4b61c6d659c31c102938f9b0377bfff90744a852f8d0251c6c66e1df29dacb4059610d9ec78e706ad36f66b3cb6179550de47270d759acb4004c46e8
AUX kdelibs-4.9.3-werror.patch 1521 SHA256 0dbcfe622041387fddac550c37b30bfd5cf369fab24d08de566e1a64849e2e79 SHA512 79777b19e8ab56a855540c89d0f2d8a00fa40143efa5bded05be71b9ef45045f533128ccef691dd6667f3934c076968abf7fcf5aa311af56c63ba201efe4e3d5 WHIRLPOOL 428f477ccfcf0e4bec3b80d073d4f18d18e520afb24780a5682d146395bbb4067b3fbcb5aabc2f2304de435a8e316433fb32c9d1fc84380fcf17a4d428f521f7
+DIST kdelibs-4.14.10.tar.xz 11644204 SHA256 00f5a7bdb0b2bcb786ea630844c639ebe89c45eb1e88443dde421baa0895ca94 SHA512 051322f6ee24e09f7b705e17aa8cc755bc6728855afe5b310910e976737167d7902f01a6a8ca51b60b1f0904429522d35eeec1b09ac6cfbdcab97e0fdd5429df WHIRLPOOL 4d4b8d6c25af95e4074606f5ffa7f33134a6a625a22ba7912b1b1a5af3474702d9adc12e71da86cedf46ac150678e53dd7a8bafb444a3b687f1efb633af7ff2d
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
DIST kdelibs-4.14.9.tar.xz 11646880 SHA256 3d32be2aba9f6775dabc515267c4696e6c92c308dc57d169413ce0d7e1d8741e SHA512 30307fe674650fc08d11e7f2dff101f40b5f0a1713ef40fc97a2787c5335ee85f0404a379a9dc06b111413f6438ad7b6919f3cbf44657a33b453c9301e439235 WHIRLPOOL 6e49a13a62eee0c287d54f836d18b7dcd8b1f4c61a8f5fee56c285594129343e5c1f6cf6cd9301bd27eb96e5f1cf877064135c7ad7e0cdb9f69a1ac80d8ba7e9
+EBUILD kdelibs-4.14.10.ebuild 8888 SHA256 6a8bd16029810d214949a10c5b91e48fdad5ebeb02dc940bfa0dfa4d2e63ff6b SHA512 ac5f0fa80d299fba0c6ace88b53b917b2be741553906c6c9e687068c4696486c09f3b448be7481e3d256c98d9e93d7b40f65035858692146992edd3f1e7732dc WHIRLPOOL 439e7210cd70440ecd3bcf7a77e676b4a1e63a9ba5ce748b81d703a6b9fda1ed72845035da314511a49978fb7daee78897d166f0a289ead99d4680df6e7461a6
EBUILD kdelibs-4.14.3-r1.ebuild 8871 SHA256 d066884de3bbdcd8b52ff56859b2c40ae4c86aa4e1fb5ed610b365b320758a7e SHA512 1ae6175b225f15e01181e0c95adbde159e62e2b820f5ef3f3e544b5a4944a49cbc0020c8739611fa115088a8fa30acb6406910ba2c88ba279998fa353c2b842d WHIRLPOOL c70f86714ca8607c88c9a92180a765ea89cddb050bdfb952bc87d2688720798f089449f239ceab0263b1a7487e34bc7260d12cf28fa849c20e9448531a84657d
EBUILD kdelibs-4.14.6-r1.ebuild 8937 SHA256 650c539779a4cdc8fd1ca3a9057a664055fff5bcbd18d294dbd9331b25472382 SHA512 667b2d04e1d079a8033bbe7f1020ac0f90ce0fce7a78e5aeee6e3d2b70c8b59b60aaee211b18bdc1c0d2e0ec868c1d97d2f5791d85ea36585e706908eef1e07f WHIRLPOOL f45bc345a6b941b28d979039c25af52ad1936cf5326017c97cfae2829eeb483b396560f83fbf6318727504d36e51fe19862d818fc9eab3395ab45124b5845a9c
EBUILD kdelibs-4.14.7.ebuild 8892 SHA256 198c06e8bf700a636ea7bedcaede2ed9baae4355b5b5e19266f32911069bd2ed SHA512 9384b5ba1f795084bf1389c24183613a5c5722f169b117cc09d88d323a2dd0ce3fc0e1c4e1dc458f59492b736bda8ad88b303781fc38b9385fe5c272ba275359 WHIRLPOOL 0d2719aa11fc24d1b989516d39605954de1892854b7cf545ed42d0ee714bc158be41c16f2bc767cd218ca1f1cf4415adb09b45af90cec32e1746954aee9270ec
EBUILD kdelibs-4.14.8.ebuild 8887 SHA256 f949eae6595a3ec657a280e76ce6cc4c6f4396d1eb5e9c351c6c4fca4a22459f SHA512 2949c121832e406777a19a32bf15e98017d99590a6f281c881cd9ec03ee944fca8f59e5ee1274f6a73fdb1fd0c1adf33f3f153516c2ee94849acc130be802afa WHIRLPOOL 82231a8b6fd0be35117f9c1551f90f2dce0760f634646199668728f59dda2103ba156d4d0a6fb66e101f6e1d441001468fd7043dffa508ef02c7c2b1be29df01
EBUILD kdelibs-4.14.9.ebuild 8892 SHA256 e50cf2d2850f8b6368181d3097b89d78ae41179ff56e333c9c46b7e90bb6919f SHA512 ad4eedbd4674c8f2c4e9c5a7451eeafb1db5fdd84e11fa475546fb3ad7130ca99cdc7916faa71c78a93369632bdb7e32a20381d6396beea8fab3c129adb33276 WHIRLPOOL 4b1d6d6e2daf6ccc9bfaaf5aab2e5baeae8c07cde74f2df7b1be241a05d86eb71b8539a21df86d4261998a799ac2305c6378e0ce0aa3729fbb54090335c83e58
-MISC ChangeLog 63246 SHA256 15c098068c368bd4bb12d6fac016198d4c9a300530675f0239adb08fe79dd09b SHA512 12d43d974f08d651f20f20bc98047a72c988da099f7a110f9c0b64464126d9241f6ae3218c771b6703ce25f7dbe788760e52a159de577576bf264db9b7c5379a WHIRLPOOL 851a82b15575fcd6f573c602c4660cd0e9988bbf1c3d038fc1aec2e6c3dbda7b79c4341c92ca613cfa36918170b20b6e9bb49b3618b9f1000e799d7bfb012b71
+MISC ChangeLog 63366 SHA256 d38a97dc6da394441d6b6d7c4e07a67d1c0227cb48de2bfb54e718868d8d830f SHA512 0c52b64ea8d548e9b936305a03f41617f9fb2bec0206b4218df6564624cc844d44d761afacb0c3aeed74eadb985093374961d81e2259dc6da6c6c67ed82d5acf WHIRLPOOL 15218575fa08c45547adb355c84ad0d67e59a01bb462dbe8567f8de68592c2dee8b1ae23339ef584116a56b43b3f96287d721e35ee74f397ba3b6e845b9ee457
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
-
-iJwEAQEIAAYFAlV76tMACgkQG9wOWsQutdbdjwQAvj1A/TOQLUMOmb2LkWcERagQ
-VIG7IRYt50SQ1/N2hIYwPM3GYAMb7zJpOMXO6G0hKwRwzTLNxNiBMMY7uQ1L4xrK
-W4BbaSErQjttSmRtYuURxKC+F52QjjZXpOx5D6mKWks+gfjQomhjtCATKf64OERi
-nd88+RCMxWLkr98Li2Y=
-=VF9h
------END PGP SIGNATURE-----
diff --git a/kde-base/kdelibs/kdelibs-4.14.10.ebuild b/kde-base/kdelibs/kdelibs-4.14.10.ebuild
new file mode 100644
index 000000000000..e15936ddf12e
--- /dev/null
+++ b/kde-base/kdelibs/kdelibs-4.14.10.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.10.ebuild,v 1.1 2015/07/02 12:57:11 mrueg 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_kdeapps_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
+}