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

Diff of /eclass/kde4-base.eclass

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

Revision 1.53 Revision 1.56
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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-base.eclass,v 1.53 2009/11/25 19:51:11 tampakrap Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.56 2009/12/10 17:35:52 abcd Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
17# @DESCRIPTION: 17# @DESCRIPTION:
18# Specify if cmake buildsystem is being used. Possible values are 'always' and 'never'. 18# Specify if cmake buildsystem is being used. Possible values are 'always' and 'never'.
19# Please note that if it's set to 'never' you need to explicitly override following phases: 19# Please note that if it's set to 'never' you need to explicitly override following phases:
20# src_configure, src_compile, src_test and src_install. 20# src_configure, src_compile, src_test and src_install.
21# Defaults to 'always'. 21# Defaults to 'always'.
22CMAKE_REQUIRED="${CMAKE_REQUIRED:-${CMAKE_REQUIRED:-always}}" 22: ${CMAKE_REQUIRED:=always}
23if [[ ${CMAKE_REQUIRED} = false || ${CMAKE_REQUIRED} = never ]]; then 23if [[ ${CMAKE_REQUIRED} = false || ${CMAKE_REQUIRED} = never ]]; then
24 buildsystem_eclass="" 24 buildsystem_eclass=""
25 export_fns="" 25 export_fns=""
26else 26else
27 buildsystem_eclass="cmake-utils" 27 buildsystem_eclass="cmake-utils"
57# @ECLASS-VARIABLE: OPENGL_REQUIRED 57# @ECLASS-VARIABLE: OPENGL_REQUIRED
58# @DESCRIPTION: 58# @DESCRIPTION:
59# Is qt-opengl required? Possible values are 'always', 'optional' and 'never'. 59# Is qt-opengl required? Possible values are 'always', 'optional' and 'never'.
60# This variable must be set before inheriting any eclasses. Defaults to 'never'. 60# This variable must be set before inheriting any eclasses. Defaults to 'never'.
61OPENGL_REQUIRED="${OPENGL_REQUIRED:-never}" 61OPENGL_REQUIRED="${OPENGL_REQUIRED:-never}"
62
63# @ECLASS-VARIABLE: MULTIMEDIA_REQUIRED
64# @DESCRIPTION:
65# Is qt-multimedia required? Possible values are 'always', 'optional' and 'never'.
66# This variable must be set before inheriting any eclasses. Defaults to 'never'.
67MULTIMEDIA_REQUIRED="${MULTIMEDIA_REQUIRED:-never}"
62 68
63# @ECLASS-VARIABLE: WEBKIT_REQUIRED 69# @ECLASS-VARIABLE: WEBKIT_REQUIRED
64# @DESCRIPTION: 70# @DESCRIPTION:
65# Is qt-webkit requred? Possible values are 'always', 'optional' and 'never'. 71# Is qt-webkit requred? Possible values are 'always', 'optional' and 'never'.
66# This variable must be set before inheriting any eclasses. Defaults to 'never'. 72# This variable must be set before inheriting any eclasses. Defaults to 'never'.
142 148
143# @ECLASS-VARIABLE: QT_MINIMAL 149# @ECLASS-VARIABLE: QT_MINIMAL
144# @DESCRIPTION: 150# @DESCRIPTION:
145# Determine version of qt we enforce as minimal for the package. 4.4.0 4.5.1.. 151# Determine version of qt we enforce as minimal for the package. 4.4.0 4.5.1..
146# Currently defaults to 4.5.1 for KDE 4.3 and earlier 152# Currently defaults to 4.5.1 for KDE 4.3 and earlier
147# or 4.6.0_beta for KDE 4.4 and later 153# or 4.6.0_rc1 for KDE 4.4 and later
148if slot_is_at_least 4.4 "${KDE_MINIMAL}"; then 154if slot_is_at_least 4.4 "${KDE_MINIMAL}"; then
149 QT_MINIMAL="${QT_MINIMAL:-4.6.0_beta}" 155 QT_MINIMAL="${QT_MINIMAL:-4.6.0}"
150fi 156fi
151 157
152QT_MINIMAL="${QT_MINIMAL:-4.5.1}" 158QT_MINIMAL="${QT_MINIMAL:-4.5.1}"
153 159
154# OpenGL dependencies 160# OpenGL dependencies
164 COMMONDEPEND+=" opengl? ( ${qtopengldepend} )" 170 COMMONDEPEND+=" opengl? ( ${qtopengldepend} )"
165 ;; 171 ;;
166 *) ;; 172 *) ;;
167esac 173esac
168unset qtopengldepend 174unset qtopengldepend
175
176# MultiMedia dependencies
177qtmultimediadepend="
178 >=x11-libs/qt-multimedia-${QT_MINIMAL}:4
179"
180case ${MULTIMEDIA_REQUIRED} in
181 always)
182 COMMONDEPEND+=" ${qtmultimediadepend}"
183 ;;
184 optional)
185 IUSE+=" multimedia"
186 COMMONDEPEND+=" multimedia? ( ${qtmultimediadepend} )"
187 ;;
188 *) ;;
189esac
190unset qtmultimediadepend
169 191
170# WebKit dependencies 192# WebKit dependencies
171case ${KDE_REQUIRED} in 193case ${KDE_REQUIRED} in
172 always) 194 always)
173 qtwebkitusedeps="[kde]" 195 qtwebkitusedeps="[kde]"
237 " 259 "
238 fi 260 fi
239fi 261fi
240kdedepend=" 262kdedepend="
241 dev-util/pkgconfig 263 dev-util/pkgconfig
264 !aqua? (
265 || ( >=x11-libs/libXtst-1.1.0 <x11-proto/xextproto-7.1.0 )
266 x11-proto/xf86vidmodeproto
267 )
242" 268"
243case ${KDE_REQUIRED} in 269case ${KDE_REQUIRED} in
244 always) 270 always)
245 IUSE+=" aqua" 271 IUSE+=" aqua"
246 COMMONDEPEND+=" ${kdecommondepend}" 272 COMMONDEPEND+=" ${kdecommondepend}"
251 COMMONDEPEND+=" kde? ( ${kdecommondepend} )" 277 COMMONDEPEND+=" kde? ( ${kdecommondepend} )"
252 DEPEND+=" kde? ( ${kdedepend} )" 278 DEPEND+=" kde? ( ${kdedepend} )"
253 ;; 279 ;;
254 *) ;; 280 *) ;;
255esac 281esac
282
256unset kdecommondepend kdedepend 283unset kdecommondepend kdedepend
257 284
258debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: COMMONDEPEND is ${COMMONDEPEND}" 285debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: COMMONDEPEND is ${COMMONDEPEND}"
259debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND (only) is ${DEPEND}" 286debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: DEPEND (only) is ${DEPEND}"
260debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND (only) is ${RDEPEND}" 287debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: RDEPEND (only) is ${RDEPEND}"
261 288
262# Accumulate dependencies set by this eclass 289# Accumulate dependencies set by this eclass
263DEPEND+=" ${COMMONDEPEND}" 290DEPEND+=" ${COMMONDEPEND}"
264RDEPEND+=" ${COMMONDEPEND}" 291RDEPEND+=" ${COMMONDEPEND}"
265unset COMMONDEPEND 292unset COMMONDEPEND
293
294# Add experimental kdeenablefinal, disabled by default
295IUSE+=" kdeenablefinal"
266 296
267# Fetch section - If the ebuild's category is not 'kde-base' and if it is not a 297# Fetch section - If the ebuild's category is not 'kde-base' and if it is not a
268# koffice ebuild, the URI should be set in the ebuild itself 298# koffice ebuild, the URI should be set in the ebuild itself
269case ${BUILD_TYPE} in 299case ${BUILD_TYPE} in
270 live) 300 live)
303 ESVN_REPO_URI="${ESVN_MIRROR}/${branch_prefix}/kdebase/${KMNAME#kdebase-}" 333 ESVN_REPO_URI="${ESVN_MIRROR}/${branch_prefix}/kdebase/${KMNAME#kdebase-}"
304 ;; 334 ;;
305 kdelibs-*) 335 kdelibs-*)
306 ESVN_REPO_URI="${ESVN_MIRROR}/${branch_prefix}/kdelibs/${KMNAME#kdelibs-}" 336 ESVN_REPO_URI="${ESVN_MIRROR}/${branch_prefix}/kdelibs/${KMNAME#kdelibs-}"
307 ;; 337 ;;
308 kdereview) 338 kdereview*)
309 ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}/${KMMODULE}" 339 ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}/${KMMODULE}"
310 ;; 340 ;;
311 kdesupport) 341 kdesupport)
312 ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}/${KMMODULE}" 342 ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}/${KMMODULE}"
313 ESVN_PROJECT="${PN}${ESVN_PROJECT_SUFFIX}" 343 ESVN_PROJECT="${PN}${ESVN_PROJECT_SUFFIX}"
354 fi 384 fi
355 _kmname_pv="${_kmname}-${PV}" 385 _kmname_pv="${_kmname}-${PV}"
356 case ${KDEBASE} in 386 case ${KDEBASE} in
357 kde-base) 387 kde-base)
358 case ${PV} in 388 case ${PV} in
359 4.3.85 | 4.3.9[0568]) 389 4.3.8[05] | 4.3.9[0568])
360 # block for normally packed unstable releases 390 # block for normally packed unstable releases
361 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" ;; 391 SRC_URI="mirror://kde/unstable/${PV}/src/${_kmname_pv}.tar.bz2" ;;
362 4.3.[6-9]*) 392 4.3.[6-9]*)
393 # Repacked tarballs: need to depend on xz-utils to ensure that they can be unpacked
363 SRC_URI="http://dev.gentooexperimental.org/~alexxy/kde/${PV}/${_kmname_pv}.tar.lzma" ;; 394 SRC_URI="http://dev.gentooexperimental.org/~alexxy/kde/${PV}/${_kmname_pv}.tar.xz"
395 DEPEND+=" app-arch/xz-utils"
396 ;;
364 *) SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" ;; 397 *) SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.bz2" ;;
365 esac 398 esac
366 ;; 399 ;;
367 koffice) 400 koffice)
368 case ${PV} in 401 case ${PV} in
389# optional applications link 422# optional applications link
390kde4-base_pkg_setup() { 423kde4-base_pkg_setup() {
391 debug-print-function ${FUNCNAME} "$@" 424 debug-print-function ${FUNCNAME} "$@"
392 425
393 # Prefix compat: 426 # Prefix compat:
394 use prefix || EROOT=${ROOT} 427 if [[ ${EAPI} == 2 ]] && ! use prefix; then
428 EPREFIX=
429 EROOT=${ROOT}
430 fi
431
395 # Append missing trailing slash character 432 # Append missing trailing slash character
396 [[ ${EROOT} = */ ]] || EROOT+="/" 433 [[ ${EROOT} = */ ]] || EROOT+="/"
397 434
398 # QA ebuilds 435 # QA ebuilds
399 [[ -z ${KDE_MINIMAL_VALID} ]] && ewarn "QA Notice: ignoring invalid KDE_MINIMAL (defaulting to ${KDE_MINIMAL})." 436 [[ -z ${KDE_MINIMAL_VALID} ]] && ewarn "QA Notice: ignoring invalid KDE_MINIMAL (defaulting to ${KDE_MINIMAL})."
401 # Don't set KDEHOME during compilation, it will cause access violations 438 # Don't set KDEHOME during compilation, it will cause access violations
402 unset KDEHOME 439 unset KDEHOME
403 440
404 if [[ ${KDEBASE} = kde-base ]]; then 441 if [[ ${KDEBASE} = kde-base ]]; then
405 if use kdeprefix; then 442 if use kdeprefix; then
406 KDEDIR="${EROOT}usr/kde/${_kdedir}" 443 KDEDIR=${EPREFIX}/usr/kde/${_kdedir}
407 else 444 else
408 KDEDIR="${EROOT}usr" 445 KDEDIR=${EPREFIX}/usr
409 fi 446 fi
410 PREFIX="${PREFIX:-${KDEDIR}}" 447 : ${PREFIX:=${KDEDIR}}
411 else 448 else
412 # Determine KDEDIR by loooking for the closest match with KDE_MINIMAL 449 # Determine KDEDIR by loooking for the closest match with KDE_MINIMAL
413 KDEDIR= 450 KDEDIR=
414 local kde_minimal_met 451 local kde_minimal_met
415 for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]}; do 452 for slot in ${KDE_SLOTS[@]} ${KDE_LIVE_SLOTS[@]}; do
416 [[ -z ${kde_minimal_met} ]] && [[ ${slot} = ${KDE_MINIMAL} ]] && kde_minimal_met=1 453 [[ -z ${kde_minimal_met} ]] && [[ ${slot} = ${KDE_MINIMAL} ]] && kde_minimal_met=1
417 if [[ -n ${kde_minimal_met} ]] && has_version "kde-base/kdelibs:${slot}"; then 454 if [[ -n ${kde_minimal_met} ]] && has_version "kde-base/kdelibs:${slot}"; then
418 if has_version "kde-base/kdelibs:${slot}[kdeprefix]"; then 455 if has_version "kde-base/kdelibs:${slot}[kdeprefix]"; then
419 KDEDIR="${EROOT}usr/kde/${slot}" 456 KDEDIR=${EPREFIX}/usr/kde/${slot}
420 else 457 else
421 KDEDIR="${EROOT}usr" 458 KDEDIR=${EPREFIX}/usr
422 fi 459 fi
423 break; 460 break;
424 fi 461 fi
425 done 462 done
426 unset slot 463 unset slot
427 464
428 # Bail out if kdelibs required but not found 465 # Bail out if kdelibs required but not found
429 if [[ ${KDE_REQUIRED} = always ]] || { [[ ${KDE_REQUIRED} = optional ]] && use kde; }; then 466 if [[ ${KDE_REQUIRED} = always ]] || { [[ ${KDE_REQUIRED} = optional ]] && use kde; }; then
430 [[ -z ${KDEDIR} ]] && die "Failed to determine KDEDIR!" 467 [[ -z ${KDEDIR} ]] && die "Failed to determine KDEDIR!"
431 else 468 else
432 [[ -z ${KDEDIR} ]] && KDEDIR="${EROOT}usr" 469 [[ -z ${KDEDIR} ]] && KDEDIR=${EPREFIX}/usr
433 fi 470 fi
434 471
435 PREFIX="${PREFIX:-${EROOT}usr}" 472 : ${PREFIX:=${EPREFIX}/usr}
436 fi 473 fi
437 # Point pkg-config path to KDE *.pc files 474 # Point pkg-config path to KDE *.pc files
438 export PKG_CONFIG_PATH="${KDEDIR}/$(get_libdir)/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}" 475 export PKG_CONFIG_PATH="${KDEDIR}/$(get_libdir)/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}"
439 # Point to correct QT plugins path 476 # Point to correct QT plugins path
440 QT_PLUGIN_PATH="${KDEDIR}/$(get_libdir)/kde4/plugins/" 477 QT_PLUGIN_PATH="${KDEDIR}/$(get_libdir)/kde4/plugins/"
452 debug-print-function ${FUNCNAME} "$@" 489 debug-print-function ${FUNCNAME} "$@"
453 490
454 if [[ ${BUILD_TYPE} = live ]]; then 491 if [[ ${BUILD_TYPE} = live ]]; then
455 migrate_store_dir 492 migrate_store_dir
456 subversion_src_unpack 493 subversion_src_unpack
494 elif [[ ${EAPI} == [23] ]]; then
495 local file
496 for file in ${A}; do
497 # This setup is because EAPI <= 3 cannot unpack *.tar.xz files
498 # directly, so we do it ourselves (using the exact same code as portage)
499 case ${file} in
500 *.tar.xz)
501 echo ">>> Unpacking ${file} to ${PWD}"
502 xz -dc "${DISTDIR}"/${file} | tar xof -
503 assert "failed unpacking ${file}"
504 ;;
505 *)
506 unpack ${file}
507 ;;
508 esac
509 done
457 else 510 else
458 base_src_unpack 511 # For EAPI >= 4, we can just use unpack() directly
512 unpack ${A}
459 fi 513 fi
460} 514}
461 515
462# @FUNCTION: kde4-base_src_prepare 516# @FUNCTION: kde4-base_src_prepare
463# @DESCRIPTION: 517# @DESCRIPTION:
498# @DESCRIPTION: 552# @DESCRIPTION:
499# Function for configuring the build of KDE4 applications. 553# Function for configuring the build of KDE4 applications.
500kde4-base_src_configure() { 554kde4-base_src_configure() {
501 debug-print-function ${FUNCNAME} "$@" 555 debug-print-function ${FUNCNAME} "$@"
502 556
557 # Build tests in src_test only, where we override this value
558 local cmakeargs=(-DKDE4_BUILD_TESTS=OFF)
559
560 if has kdeenablefinal ${IUSE//+} && use kdeenablefinal; then
561 cmakeargs+=(-DKDE4_ENABLE_FINAL=ON)
562 fi
563
564 if has debug ${IUSE//+} && use debug; then
565 # Set "real" debug mode
566 CMAKE_BUILD_TYPE="Debugfull"
567 else
503 # Handle common release builds 568 # Handle common release builds
504 if ! has debug ${IUSE//+} || ! use debug; then
505 append-cppflags -DQT_NO_DEBUG 569 append-cppflags -DQT_NO_DEBUG
506 fi 570 fi
507 571
508 # Build tests in src_test only, where we override this value
509 local cmakeargs="-DKDE4_BUILD_TESTS=OFF"
510
511 # set "real" debug mode
512 if has debug ${IUSE//+} && use debug; then
513 CMAKE_BUILD_TYPE="Debugfull"
514 fi
515
516 # Set distribution name 572 # Set distribution name
517 [[ ${PN} = kdelibs ]] && cmakeargs+=" -DKDE_DISTRIBUTION_TEXT=Gentoo" 573 [[ ${PN} = kdelibs ]] && cmakeargs+=(-DKDE_DISTRIBUTION_TEXT=Gentoo)
518 574
519 # Here we set the install prefix 575 # Here we set the install prefix
520 cmakeargs+=" -DCMAKE_INSTALL_PREFIX=${PREFIX}" 576 cmakeargs+=(-DCMAKE_INSTALL_PREFIX="${PREFIX}")
521 577
522 # Use colors 578 # Use colors
523 QTEST_COLORED=1 579 QTEST_COLORED=1
524 580
525 # Shadow existing /usr installations 581 # Shadow existing /usr installations
526 unset KDEDIRS 582 unset KDEDIRS
527 583
528 # Handle kdeprefix-ed KDE 584 # Handle kdeprefix-ed KDE
529 if [[ ${KDEDIR} != "${EROOT}usr" ]]; then 585 if [[ ${KDEDIR} != ${EPREFIX}/usr ]]; then
530 # Override some environment variables - only when kdeprefix is different, 586 # Override some environment variables - only when kdeprefix is different,
531 # to not break ccache/distcc 587 # to not break ccache/distcc
532 PATH="${KDEDIR}/bin:${PATH}" 588 PATH="${KDEDIR}/bin:${PATH}"
533 LDPATH="${KDEDIR}/$(get_libdir):${LDPATH}" 589 LDPATH="${KDEDIR}/$(get_libdir):${LDPATH}"
534 590
535 # Append full RPATH 591 # Append full RPATH
536 cmakeargs+=" -DCMAKE_SKIP_RPATH=OFF" 592 cmakeargs+=(-DCMAKE_SKIP_RPATH=OFF)
537 593
538 # Set cmake prefixes to allow buildsystem to locate valid KDE installation 594 # Set cmake prefixes to allow buildsystem to locate valid KDE installation
539 # when more are present 595 # when more are present
540 cmakeargs+=" -DCMAKE_SYSTEM_PREFIX_PATH=${KDEDIR}" 596 cmakeargs+=(-DCMAKE_SYSTEM_PREFIX_PATH="${KDEDIR}")
541 fi 597 fi
542 598
543 # Handle kdeprefix in application itself 599 # Handle kdeprefix in application itself
544 if ! has kdeprefix ${IUSE//+} || ! use kdeprefix; then 600 if ! has kdeprefix ${IUSE//+} || ! use kdeprefix; then
545 # If prefix is /usr, sysconf needs to be /etc, not /usr/etc 601 # If prefix is /usr, sysconf needs to be /etc, not /usr/etc
546 cmakeargs+=" -DSYSCONF_INSTALL_DIR=${EROOT}etc" 602 cmakeargs+=(-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc)
547 fi 603 fi
548 604
605 if [[ $(declare -p mycmakeargs) != "declare -a mycmakeargs="* ]]; then
606 mycmakeargs=(${mycmakeargs})
607 fi
608
549 mycmakeargs="${cmakeargs} ${mycmakeargs}" 609 mycmakeargs=("${cmakeargs[@]}" "${mycmakeargs[@]}")
550 610
551 cmake-utils_src_configure 611 cmake-utils_src_configure
552} 612}
553 613
554# @FUNCTION: kde4-base_src_compile 614# @FUNCTION: kde4-base_src_compile
565# Function for testing KDE4 applications. 625# Function for testing KDE4 applications.
566kde4-base_src_test() { 626kde4-base_src_test() {
567 debug-print-function ${FUNCNAME} "$@" 627 debug-print-function ${FUNCNAME} "$@"
568 628
569 # Override this value, set in kde4-base_src_configure() 629 # Override this value, set in kde4-base_src_configure()
570 mycmakeargs+=" -DKDE4_BUILD_TESTS=ON" 630 mycmakeargs+=(-DKDE4_BUILD_TESTS=ON)
571 cmake-utils_src_configure 631 cmake-utils_src_configure
572 kde4-base_src_compile 632 kde4-base_src_compile
573 633
574 cmake-utils_src_test 634 cmake-utils_src_test
575} 635}
607 newdoc "$doc_complete" "${doc%/*}.${doc##*/}" 667 newdoc "$doc_complete" "${doc%/*}.${doc##*/}"
608 fi 668 fi
609 done 669 done
610 fi 670 fi
611 671
672 [[ -z ${ED} ]] && ED=${D}${EPREFIX}
673
612 if [[ -n ${KDEBASE} ]] && [[ -d "${D}${EROOT}usr/share/doc/${PF}" ]]; then 674 if [[ -n ${KDEBASE} ]] && [[ -d ${ED}usr/share/doc/${PF} ]]; then
613 # work around bug #97196 675 # work around bug #97196
614 dodir /usr/share/doc/KDE4 && \ 676 dodir /usr/share/doc/KDE4 && \
615 cp -r "${D}${EROOT}usr/share/doc/${PF}" "${D}${EROOT}usr/share/doc/KDE4/" || \ 677 cp -r "${ED}usr/share/doc/${PF}" "${ED}usr/share/doc/KDE4/" || \
616 die "Failed to move docs to KDE4/." 678 die "Failed to move docs to KDE4/."
617 rm -rf "${D}${EROOT}usr/share/doc/${PF}" 679 rm -rf "${ED}usr/share/doc/${PF}"
618 fi 680 fi
619} 681}
620 682
621# @FUNCTION: kde4-base_pkg_postinst 683# @FUNCTION: kde4-base_pkg_postinst
622# @DESCRIPTION: 684# @DESCRIPTION:

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20