/[gentoo-x86]/eclass/kde4-meta.eclass
Gentoo

Diff of /eclass/kde4-meta.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.68 Revision 1.69
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.68 2012/09/04 14:08:24 johu Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.69 2013/02/07 03:38:33 alexxy Exp $
4# 4#
5# @ECLASS: kde4-meta.eclass 5# @ECLASS: kde4-meta.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: Eclass for writing "split" KDE packages. 8# @BLURB: Eclass for writing "split" KDE packages.
283 # Note that this actually doesn't include KMEXTRA handling. 283 # Note that this actually doesn't include KMEXTRA handling.
284 # In those cases you should care to add the relevant files to KMEXTRACTONLY 284 # In those cases you should care to add the relevant files to KMEXTRACTONLY
285 case ${KMNAME} in 285 case ${KMNAME} in
286 kdebase | kdebase-apps | kde-baseapps) 286 kdebase | kdebase-apps | kde-baseapps)
287 KMEXTRACTONLY+=" 287 KMEXTRACTONLY+="
288 CTestConfig.cmake
288 config-apps.h.cmake 289 config-apps.h.cmake
289 ConfigureChecks.cmake" 290 ConfigureChecks.cmake"
290 ;; 291 ;;
291 kdebase-runtime | kde-runtime) 292 kdebase-runtime | kde-runtime)
292 KMEXTRACTONLY+=" 293 KMEXTRACTONLY+="
314 KMEXTRACTONLY+=" 315 KMEXTRACTONLY+="
315 libkdepim/" 316 libkdepim/"
316 fi 317 fi
317 KMEXTRACTONLY+=" 318 KMEXTRACTONLY+="
318 config-enterprise.h.cmake 319 config-enterprise.h.cmake
319 kleopatra/ConfigureChecks.cmake" 320 kleopatra/ConfigureChecks.cmake
320 if ! [[ $(get_kde_version) < 4.5 ]]; then
321 KMEXTRACTONLY+="
322 CTestCustom.cmake 321 CTestCustom.cmake
323 kdepim-version.h.cmake" 322 kdepim-version.h.cmake
324 else
325 KMEXTRACTONLY+="
326 kdepim-version.h" 323 kdepim-version.h"
327 fi
328 if use_if_iuse kontact; then 324 if use_if_iuse kontact; then
329 KMEXTRA+=" 325 KMEXTRA+="
330 kontact/plugins/${PLUGINNAME:-${PN}}/" 326 kontact/plugins/${PLUGINNAME:-${PN}}/"
331 fi 327 fi
332 ;; 328 ;;
563 if use_if_iuse kontact || [[ ${PN} = kontact ]]; then 559 if use_if_iuse kontact || [[ ${PN} = kontact ]]; then
564 sed -e 's/if[[:space:]]*([[:space:]]*BUILD_.*)[[:space:]]*$/if(1) # &/' \ 560 sed -e 's/if[[:space:]]*([[:space:]]*BUILD_.*)[[:space:]]*$/if(1) # &/' \
565 -e 's/if[[:space:]]*([[:space:]]*[[:alnum:]]*_FOUND[[:space:]]*)[[:space:]]*$/if(1) # &/' \ 561 -e 's/if[[:space:]]*([[:space:]]*[[:alnum:]]*_FOUND[[:space:]]*)[[:space:]]*$/if(1) # &/' \
566 -i kontact/plugins/CMakeLists.txt || die 'failed to override build logic' 562 -i kontact/plugins/CMakeLists.txt || die 'failed to override build logic'
567 fi 563 fi
568 if [[ $(get_kde_version) < 4.5 ]]; then 564 case ${PV} in
565 4.4*)
569 case ${PN} in 566 case ${PN} in
570 kalarm|kmailcvt|kontact|korganizer|korn) 567 kalarm|kmailcvt|kontact|korganizer|korn)
571 sed -n -e '/qt4_generate_dbus_interface(.*org\.kde\.kmail\.\(kmail\|mailcomposer\)\.xml/p' \ 568 sed -n -e '/qt4_generate_dbus_interface(.*org\.kde\.kmail\.\(kmail\|mailcomposer\)\.xml/p' \
572 -e '/add_custom_target(kmail_xml /,/)/p' \ 569 -e '/add_custom_target(kmail_xml /,/)/p' \
573 -i kmail/CMakeLists.txt || die "uncommenting xml failed" 570 -i kmail/CMakeLists.txt || die "uncommenting xml failed"
574 _change_cmakelists_parent_dirs kmail 571 _change_cmakelists_parent_dirs kmail
572 ;;
573 esac
575 ;; 574 ;;
576 esac 575 esac
577 fi
578 ;; 576 ;;
579 kdewebdev) 577 kdewebdev)
580 # Disable hardcoded checks 578 # Disable hardcoded checks
581 sed -e 's/find_package(KdepimLibs REQUIRED)/macro_optional_find_package(KdepimLibs)/' \ 579 sed -e 's/find_package(KdepimLibs REQUIRED)/macro_optional_find_package(KdepimLibs)/' \
582 -e 's/find_package(LibXml2 REQUIRED)/macro_optional_find_package(LibXml2)/' \ 580 -e 's/find_package(LibXml2 REQUIRED)/macro_optional_find_package(LibXml2)/' \

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

  ViewVC Help
Powered by ViewVC 1.1.20