/[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.92 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.92 2011/05/14 16:03:22 dilfridge 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
978 echo 978 echo
979 einfo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}" 979 einfo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}"
980 einfo "Use it at your own risk." 980 einfo "Use it at your own risk."
981 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!"
982 echo 982 echo
983 elif [[ ${BUILD_TYPE} != live ]] && has kdeprefix ${IUSE//+} && use kdeprefix; then
984 # warning about kdeprefix for non-live users
985 echo
986 ewarn "WARNING! You have the kdeprefix useflag enabled."
987 ewarn "This setting is strongly discouraged and might lead to potential trouble"
988 ewarn "with KDE update strategies."
989 ewarn "You are using this setup at your own risk and the kde team does not"
990 ewarn "take responsibilities for dead kittens."
991 echo
992 fi 983 fi
993 # 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
994 if [[ ${KDEBASE} != kde-base ]] && \ 985 if [[ ${KDEBASE} != kde-base ]] && \
995 ! has_version 'kde-base/kdebase-runtime-meta' && \ 986 ! has_version 'kde-base/kdebase-runtime-meta' && \
996 ! has_version 'kde-base/kdebase-startkde'; then 987 ! has_version 'kde-base/kdebase-startkde'; then
1001 ewarn "With this setting you are unsupported by KDE team." 992 ewarn "With this setting you are unsupported by KDE team."
1002 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."
1003 fi 994 fi
1004 fi 995 fi
1005 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
1006} 1006}
1007 1007
1008# @FUNCTION: kde4-base_pkg_postrm 1008# @FUNCTION: kde4-base_pkg_postrm
1009# @DESCRIPTION: 1009# @DESCRIPTION:
1010# 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.92  
changed lines
  Added in v.1.93

  ViewVC Help
Powered by ViewVC 1.1.20