/[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.55 Revision 1.57
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.55 2011/06/15 00:11:05 abcd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.57 2011/10/06 14:13:29 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.
375 # should not try in that case 375 # should not try in that case
376 # note2: kdeedu 4.6.4 does not have a cmake/modules/ subdir anymore :( 376 # note2: kdeedu 4.6.4 does not have a cmake/modules/ subdir anymore :(
377 # it may be possible to formulate this shorter, but it should also 377 # it may be possible to formulate this shorter, but it should also
378 # still be understandable... 378 # still be understandable...
379 if [[ ${KMNAME} != kdegraphics || ( ( $(get_kde_version) != 4.6 || ${PV} < 4.6.2 ) && $(get_kde_version) < 4.7 ) ]] \ 379 if [[ ${KMNAME} != kdegraphics || ( ( $(get_kde_version) != 4.6 || ${PV} < 4.6.2 ) && $(get_kde_version) < 4.7 ) ]] \
380 && ! [[ ${KMNAME} == kdeedu && ${PV} == 4.6.4 ]]; then 380 && ! [[ ${KMNAME} == kdeedu && ( ${PV} == 4.6.4 || ${PV} == 4.6.5 ) ]]; then
381 case ${KMNAME} in 381 case ${KMNAME} in
382 kdebase-runtime|kde-runtime|kdebase-workspace|kde-workspace|kdeedu|kdegames|kdegraphics) 382 kdebase-runtime|kde-runtime|kdebase-workspace|kde-workspace|kdeedu|kdegames|kdegraphics)
383 case ${PN} in 383 case ${PN} in
384 libkdegames|libkdeedu|libkworkspace) 384 libkdegames|libkdeedu|libkworkspace)
385 KMEXTRA+=" 385 KMEXTRA+="
557 -i CMakeLists.txt || die "${LINENO}: sed died in the kdebase-startkde collision prevention section" 557 -i CMakeLists.txt || die "${LINENO}: sed died in the kdebase-startkde collision prevention section"
558 fi 558 fi
559 # Strip EXPORT feature section from workspace for KDE4 versions > 4.1.82 559 # Strip EXPORT feature section from workspace for KDE4 versions > 4.1.82
560 if [[ ${PN} != libkworkspace ]]; then 560 if [[ ${PN} != libkworkspace ]]; then
561 sed -e '/install(FILES ${CMAKE_CURRENT_BINARY_DIR}\/KDE4WorkspaceConfig.cmake/,/^[[:space:]]*FILE KDE4WorkspaceLibraryTargets.cmake )[[:space:]]*^/d' \ 561 sed -e '/install(FILES ${CMAKE_CURRENT_BINARY_DIR}\/KDE4WorkspaceConfig.cmake/,/^[[:space:]]*FILE KDE4WorkspaceLibraryTargets.cmake )[[:space:]]*^/d' \
562 -i CMakeLists.txt || die "${LINENO}: sed died in kdebase-workspace strip config install and fix EXPORT section" 562 -i CMakeLists.txt || die "${LINENO}: sed died in kde-workspace strip config install and fix EXPORT section"
563 fi
564 if [[ ${PN} != plasma-workspace ]]; then
565 sed -e '/KActivities/s/REQUIRED//' \
566 -i CMakeLists.txt || die "${LINENO}: sed died in kde-workspace dep reduction section"
563 fi 567 fi
564 ;; 568 ;;
565 kdebase-runtime | kde-runtime) 569 kdebase-runtime | kde-runtime)
566 # COLLISION PROTECT section 570 # COLLISION PROTECT section
567 # Only install the kde4 script as part of kde-base/kdebase-data 571 # Only install the kde4 script as part of kde-base/kdebase-data

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20