/[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.154 Revision 1.155
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 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.154 2015/06/03 22:36:30 mrueg Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.155 2015/06/04 18:49:42 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
326 kderdepend+=" !kde-base/${PN}" 326 kderdepend+=" !kde-base/${PN}"
327fi 327fi
328 328
329# all packages needs oxygen icons for basic iconset 329# all packages needs oxygen icons for basic iconset
330if [[ ${PN} != oxygen-icons ]]; then 330if [[ ${PN} != oxygen-icons ]]; then
331 kderdepend+=" || ( kde-apps/oxygen-icons $(add_kdebase_dep oxygen-icons '' 4.14.3) )" 331 kderdepend+=" kde-apps/oxygen-icons"
332fi 332fi
333 333
334# add a dependency over kde-l10n 334# add a dependency over kde-l10n
335if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then 335if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then
336 for _lingua in ${KDE_LINGUAS}; do 336 for _lingua in ${KDE_LINGUAS}; do
337 # if our package has linguas, pull in kde-l10n with selected lingua enabled, 337 # if our package has linguas, pull in kde-l10n with selected lingua enabled,
338 # but only for selected ones. 338 # but only for selected ones.
339 # this can't be done on one line because if user doesn't use any localisation 339 # this can't be done on one line because if user doesn't use any localisation
340 # then he is probably not interested in kde-l10n at all. 340 # then he is probably not interested in kde-l10n at all.
341 kderdepend+=" 341 kderdepend+="
342 linguas_${_lingua}? ( || ( kde-apps/kde4-l10n[linguas_${_lingua}(+)] $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)") ) ) 342 linguas_${_lingua}? ( $(add_kdeapps_dep kde4-l10n "linguas_${_lingua}(+)") )
343 " 343 "
344 done 344 done
345 unset _lingua 345 unset _lingua
346fi 346fi
347 347
902 einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!" 902 einfo "Do _NOT_ file bugs at bugs.gentoo.org because of this ebuild!"
903 echo 903 echo
904 fi 904 fi
905 # for all 3rd party soft tell user that he SHOULD install kdebase-startkde or kdebase-runtime-meta 905 # for all 3rd party soft tell user that he SHOULD install kdebase-startkde or kdebase-runtime-meta
906 if [[ ${KDEBASE} != kde-base ]] && \ 906 if [[ ${KDEBASE} != kde-base ]] && \
907 ! has_version 'kde-base/kdebase-runtime-meta' && \ 907 ! has_version 'kde-apps/kdebase-runtime-meta' && \
908 ! has_version 'kde-base/kdebase-startkde'; then 908 ! has_version 'kde-base/kdebase-startkde'; then
909 if [[ ${KDE_REQUIRED} == always ]] || ( [[ ${KDE_REQUIRED} == optional ]] && use kde ); then 909 if [[ ${KDE_REQUIRED} == always ]] || ( [[ ${KDE_REQUIRED} == optional ]] && use kde ); then
910 echo 910 echo
911 ewarn "WARNING! Your system configuration contains neither \"kde-base/kdebase-runtime-meta\"" 911 ewarn "WARNING! Your system configuration contains neither \"kde-base/kdebase-runtime-meta\""
912 ewarn "nor \"kde-base/kdebase-startkde\". You need one of above." 912 ewarn "nor \"kde-base/kdebase-startkde\". You need one of above."

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155

  ViewVC Help
Powered by ViewVC 1.1.20