/[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.143 Revision 1.144
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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.143 2014/11/13 04:19:51 kensington Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.144 2014/12/04 10:32:10 mrueg 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
184 184
185 # This code is to prevent portage from searching GENTOO_MIRRORS for 185 # This code is to prevent portage from searching GENTOO_MIRRORS for
186 # packages that will never be mirrored. (As they only will ever be in 186 # packages that will never be mirrored. (As they only will ever be in
187 # the overlay). 187 # the overlay).
188 case ${PV} in 188 case ${PV} in
189 *9999* | 4.?.[6-9]? | 4.??.[6-9]?) 189 *9999* | 4.?.[6-9]? | 4.??.[6-9]? | ??.?.[6-9]? | ??.??.[6-9]?)
190 RESTRICT+=" mirror" 190 RESTRICT+=" mirror"
191 ;; 191 ;;
192 esac 192 esac
193 ;; 193 ;;
194 kdevelop) 194 kdevelop)
327 ) 327 )
328" 328"
329 329
330kderdepend="" 330kderdepend=""
331 331
332if [[ ${CATEGORY} == kde-apps ]]; then
333 kderdepend+=" !kde-base/${PN}"
334fi
335
332# all packages needs oxygen icons for basic iconset 336# all packages needs oxygen icons for basic iconset
333if [[ ${PN} != oxygen-icons ]]; then 337if [[ ${PN} != oxygen-icons ]]; then
334 kderdepend+=" $(add_kdebase_dep oxygen-icons)" 338 kderdepend+=" || ( kde-apps/oxygen-icons $(add_kdebase_dep oxygen-icons) )"
335fi 339fi
336 340
337# add a dependency over kde-l10n 341# add a dependency over kde-l10n
338if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then 342if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then
339 for _lingua in ${KDE_LINGUAS}; do 343 for _lingua in ${KDE_LINGUAS}; do
340 # if our package has lignuas, pull in kde-l10n with selected lingua enabled, 344 # if our package has linguas, pull in kde-l10n with selected lingua enabled,
341 # but only for selected ones. 345 # but only for selected ones.
342 # this can't be done on one line because if user doesn't use any localisation 346 # this can't be done on one line because if user doesn't use any localisation
343 # then he is probably not interested in kde-l10n at all. 347 # then he is probably not interested in kde-l10n at all.
344 kderdepend+=" 348 kderdepend+="
345 linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)") ) 349 linguas_${_lingua}? ( $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)") )
452 # Part of 4.14 actually, sigh. Not stable for next release! 456 # Part of 4.14 actually, sigh. Not stable for next release!
453 SRC_URI="mirror://kde/stable/4.14.2/src/${_kmname_pv}.tar.xz" ;; 457 SRC_URI="mirror://kde/stable/4.14.2/src/${_kmname_pv}.tar.xz" ;;
454 4.11.14) 458 4.11.14)
455 # Part of 4.14 actually, sigh. Not stable for next release! 459 # Part of 4.14 actually, sigh. Not stable for next release!
456 SRC_URI="mirror://kde/stable/4.14.3/src/${_kmname_pv}.tar.xz" ;; 460 SRC_URI="mirror://kde/stable/4.14.3/src/${_kmname_pv}.tar.xz" ;;
461 ??.?.[6-9]? | ??.??.[4-9]?)
462 # Unstable KDE Applications releases
463 SRC_URI="mirror://kde/unstable/applications/${PV}/src/${_kmname}-${PV}.tar.xz" ;;
457 *) 464 *)
465 if [[ ${CATEGORY} == kde-apps ]]; then
466 # Stable KDE Applications releases
467 SRC_URI="mirror://kde/stable/applications/${PV}/src/${_kmname}-${PV}.tar.xz"
468 else
458 # Stable KDE SC releases 469 # Stable KDE SC releases
459 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz" ;; 470 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz"
471 fi
472 ;;
460 esac 473 esac
461 ;; 474 ;;
462 kdevelop|kdevelop-php*|kdevplatform) 475 kdevelop|kdevelop-php*|kdevplatform)
463 case ${KDEVELOP_VERSION} in 476 case ${KDEVELOP_VERSION} in
464 4.[123].[6-9]*) SRC_URI="mirror://kde/unstable/kdevelop/${KDEVELOP_VERSION}/src/${P}.tar.bz2" ;; 477 4.[123].[6-9]*) SRC_URI="mirror://kde/unstable/kdevelop/${KDEVELOP_VERSION}/src/${P}.tar.bz2" ;;

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144

  ViewVC Help
Powered by ViewVC 1.1.20