/[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.128 Revision 1.130
1# Copyright 1999-2013 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-base.eclass,v 1.128 2013/08/15 14:52:58 kensington Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.130 2013/08/15 15:29:58 kensington 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
376 IUSE+=" selinux" 376 IUSE+=" selinux"
377 kdecommondepend+=" selinux? ( sec-policy/selinux-${KDE_SELINUX_MODULE} )" 377 kdecommondepend+=" selinux? ( sec-policy/selinux-${KDE_SELINUX_MODULE} )"
378 ;; 378 ;;
379esac 379esac
380 380
381# These dependencies are added as they are unconditionally required by kde-workspace.
382# They are not necessarily required by individual applications but are pulled in to prevent
383# bugs like bug #444438. This list is subject to change in the future so do not rely on it
384# in ebuilds - always set correct dependencies.
385case ${KMNAME} in
386 kde-workspace)
387 kdedepend+="
388 x11-libs/xcb-util
389 x11-libs/libX11
390 x11-libs/libXcomposite
391 x11-libs/libXcursor
392 x11-libs/libXdamage
393 x11-libs/libXfixes
394 x11-libs/libxkbfile
395 x11-libs/libXrandr
396 x11-libs/libXrender
397 "
398 ;;
399 *)
400 ;;
401esac
402
403# We always need the aqua useflag because otherwise we cannot = refer to it inside 381# We always need the aqua useflag because otherwise we cannot = refer to it inside
404# add_kdebase_dep. This was always kind of a bug, but came to light with EAPI=5 382# add_kdebase_dep. This was always kind of a bug, but came to light with EAPI=5
405# (where referring to a use flag not in IUSE masks the ebuild). 383# (where referring to a use flag not in IUSE masks the ebuild).
406# The only alternative would be to prohibit using add_kdebase_dep if KDE_REQUIRED=never 384# The only alternative would be to prohibit using add_kdebase_dep if KDE_REQUIRED=never
407IUSE+=" aqua" 385IUSE+=" aqua"
442 # we calculate URI only for known KDEBASE modules 420 # we calculate URI only for known KDEBASE modules
443 [[ -n ${KDEBASE} ]] || return 421 [[ -n ${KDEBASE} ]] || return
444 422
445 # calculate tarball module name 423 # calculate tarball module name
446 if [[ -n ${KMNAME} ]]; then 424 if [[ -n ${KMNAME} ]]; then
447 # fixup kdebase-apps name
448 case ${KMNAME} in
449 kdebase-apps)
450 _kmname="kdebase" ;;
451 *)
452 _kmname="${KMNAME}" ;; 425 _kmname="${KMNAME}"
453 esac
454 else 426 else
455 _kmname=${PN} 427 _kmname=${PN}
456 fi 428 fi
457 _kmname_pv="${_kmname}-${PV}" 429 _kmname_pv="${_kmname}-${PV}"
458 case ${KDEBASE} in 430 case ${KDEBASE} in
645 debug-print-function ${FUNCNAME} "$@" 617 debug-print-function ${FUNCNAME} "$@"
646 618
647 if [[ ${KDE_BUILD_TYPE} = live ]]; then 619 if [[ ${KDE_BUILD_TYPE} = live ]]; then
648 case ${KDE_SCM} in 620 case ${KDE_SCM} in
649 svn) 621 svn)
650 migrate_store_dir
651 subversion_src_unpack 622 subversion_src_unpack
652 ;; 623 ;;
653 git) 624 git)
654 git-2_src_unpack 625 git-2_src_unpack
655 ;; 626 ;;

Legend:
Removed from v.1.128  
changed lines
  Added in v.1.130

  ViewVC Help
Powered by ViewVC 1.1.20