/[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.91 Revision 1.93
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.91 2011/05/01 13:52:09 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.93 2011/05/23 22:56:36 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
335 >=x11-libs/qt-test-${QT_MINIMAL}:4 335 >=x11-libs/qt-test-${QT_MINIMAL}:4
336 !aqua? ( 336 !aqua? (
337 x11-libs/libXext 337 x11-libs/libXext
338 x11-libs/libXt 338 x11-libs/libXt
339 x11-libs/libXxf86vm 339 x11-libs/libXxf86vm
340 x11-libs/libXcomposite
340 ) 341 )
341" 342"
342 343
343if [[ ${PN} != kdelibs ]]; then 344if [[ ${PN} != kdelibs ]]; then
344 kdecommondepend+=" $(add_kdebase_dep kdelibs)" 345 kdecommondepend+=" $(add_kdebase_dep kdelibs)"
977 echo 978 echo
978 einfo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}" 979 einfo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}"
979 einfo "Use it at your own risk." 980 einfo "Use it at your own risk."
980 einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" 981 einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
981 echo 982 echo
982 elif [[ ${BUILD_TYPE} != live ]] && has kdeprefix ${IUSE//+} && use kdeprefix; then
983 # warning about kdeprefix for non-live users
984 echo
985 ewarn "WARNING! You have the kdeprefix useflag enabled."
986 ewarn "This setting is strongly discouraged and might lead to potential trouble"
987 ewarn "with KDE update strategies."
988 ewarn "You are using this setup at your own risk and the kde team does not"
989 ewarn "take responsibilities for dead kittens."
990 echo
991 fi 983 fi
992 # for all 3rd party soft tell user that he SHOULD install kdebase-startkde or kdebase-runtime-meta 984 # for all 3rd party soft tell user that he SHOULD install kdebase-startkde or kdebase-runtime-meta
993 if [[ ${KDEBASE} != kde-base ]] && \ 985 if [[ ${KDEBASE} != kde-base ]] && \
994 ! has_version 'kde-base/kdebase-runtime-meta' && \ 986 ! has_version 'kde-base/kdebase-runtime-meta' && \
995 ! has_version 'kde-base/kdebase-startkde'; then 987 ! has_version 'kde-base/kdebase-startkde'; then
1000 ewarn "With this setting you are unsupported by KDE team." 992 ewarn "With this setting you are unsupported by KDE team."
1001 ewarn "All missing features you report for misc packages will be probably ignored or closed as INVALID." 993 ewarn "All missing features you report for misc packages will be probably ignored or closed as INVALID."
1002 fi 994 fi
1003 fi 995 fi
1004 fi 996 fi
997 if has kdeprefix ${IUSE//+} && use kdeprefix; then
998 # warning about kdeprefix
999 echo
1000 ewarn "WARNING! You have the kdeprefix useflag enabled."
1001 eerror "This setting will be removed on or about 2011-06-06."
1002 ewarn "You are using this setup at your own risk and the kde team does not"
1003 ewarn "take responsibilities for dead kittens."
1004 echo
1005 fi
1005} 1006}
1006 1007
1007# @FUNCTION: kde4-base_pkg_postrm 1008# @FUNCTION: kde4-base_pkg_postrm
1008# @DESCRIPTION: 1009# @DESCRIPTION:
1009# Function to rebuild the KDE System Configuration Cache after an application has been removed. 1010# Function to rebuild the KDE System Configuration Cache after an application has been removed.

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.93

  ViewVC Help
Powered by ViewVC 1.1.20