/[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.153 Revision 1.154
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.153 2015/05/31 10:11:35 perfinion Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.154 2015/06/03 22:36:30 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
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/kde-l10n[linguas_${_lingua}(+)] $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)") ) ) 342 linguas_${_lingua}? ( || ( kde-apps/kde4-l10n[linguas_${_lingua}(+)] $(add_kdebase_dep kde-l10n "linguas_${_lingua}(+)") ) )
343 " 343 "
344 done 344 done
345 unset _lingua 345 unset _lingua
346fi 346fi
347 347
438 SRC_URI="mirror://kde/stable/4.14.3/src/${_kmname_pv}.tar.xz" ;; 438 SRC_URI="mirror://kde/stable/4.14.3/src/${_kmname_pv}.tar.xz" ;;
439 4.11.17) 439 4.11.17)
440 # Part of 14.12.3 actually, sigh. Not stable for next release! 440 # Part of 14.12.3 actually, sigh. Not stable for next release!
441 SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;; 441 SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;;
442 4.11.18) 442 4.11.18)
443 # Part of 15.04.1 actually, sigh. Not stable for next release! 443 # Part of 15.04.0 actually, sigh. Not stable for next release!
444 SRC_URI="mirror://kde/stable/applications/15.04.0/src/${_kmname_pv}.tar.xz" ;; 444 SRC_URI="mirror://kde/stable/applications/15.04.0/src/${_kmname_pv}.tar.xz" ;;
445 4.11.19) 445 4.11.19)
446 # Part of 15.04.0 actually, sigh. Not stable for next release! 446 # Part of 15.04.1 actually, sigh. Not stable for next release!
447 SRC_URI="mirror://kde/stable/applications/15.04.1/src/${_kmname_pv}.tar.xz" ;; 447 SRC_URI="mirror://kde/stable/applications/15.04.1/src/${_kmname_pv}.tar.xz" ;;
448 4.11.20)
449 # Part of 15.04.2 actually, sigh. Not stable for next release!
450 SRC_URI="mirror://kde/stable/applications/15.04.2/src/${_kmname_pv}.tar.xz" ;;
448 4.14.6) 451 4.14.6)
449 # Part of 14.12.3 actually, sigh. Not stable for next release! 452 # Part of 14.12.3 actually, sigh. Not stable for next release!
450 SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;; 453 SRC_URI="mirror://kde/stable/applications/14.12.3/src/${_kmname_pv}.tar.xz" ;;
451 4.14.7) 454 4.14.7)
452 # Part of 15.04.0 actually, sigh. Not stable for next release! 455 # Part of 15.04.0 actually, sigh. Not stable for next release!
453 SRC_URI="mirror://kde/stable/applications/15.04.0/src/${_kmname_pv}.tar.xz" ;; 456 SRC_URI="mirror://kde/stable/applications/15.04.0/src/${_kmname_pv}.tar.xz" ;;
454 4.14.8) 457 4.14.8)
455 # Part of 15.04.1 actually, sigh. Not stable for next release! 458 # Part of 15.04.1 actually, sigh. Not stable for next release!
456 SRC_URI="mirror://kde/stable/applications/15.04.1/src/${_kmname_pv}.tar.xz" ;; 459 SRC_URI="mirror://kde/stable/applications/15.04.1/src/${_kmname_pv}.tar.xz" ;;
460 4.14.9)
461 # Part of 15.04.2 actually, sigh. Not stable for next release!
462 SRC_URI="mirror://kde/stable/applications/15.04.2/src/${_kmname_pv}.tar.xz" ;;
457 ??.?.[6-9]? | ??.??.[4-9]?) 463 ??.?.[6-9]? | ??.??.[4-9]?)
458 # Unstable KDE Applications releases 464 # Unstable KDE Applications releases
459 SRC_URI="mirror://kde/unstable/applications/${PV}/src/${_kmname}-${PV}.tar.xz" ;; 465 SRC_URI="mirror://kde/unstable/applications/${PV}/src/${_kmname}-${PV}.tar.xz" ;;
460 *) 466 *)
461 if [[ ${CATEGORY} == kde-apps ]]; then 467 if [[ ${CATEGORY} == kde-apps ]]; then
574 580
575 # default branching 581 # default branching
576 [[ ${PV} != 4.9999* && ${PV} != 9999 && ${KDEBASE} == kde-base ]] && \ 582 [[ ${PV} != 4.9999* && ${PV} != 9999 && ${KDEBASE} == kde-base ]] && \
577 EGIT_BRANCH="KDE/$(get_kde_version)" 583 EGIT_BRANCH="KDE/$(get_kde_version)"
578 584
585 # Applications branching
586 [[ ${PV} == ??.??.49.9999 && ${KDEBASE} == kde-base ]] && \
587 EGIT_BRANCH="Applications/$(get_kde_version)"
588
579 # default repo uri 589 # default repo uri
580 EGIT_REPO_URI+=( "${EGIT_MIRROR}/${_kmname}" ) 590 EGIT_REPO_URI+=( "${EGIT_MIRROR}/${_kmname}" )
581 591
582 debug-print "${FUNCNAME}: Repository: ${EGIT_REPO_URI}" 592 debug-print "${FUNCNAME}: Repository: ${EGIT_REPO_URI}"
583 debug-print "${FUNCNAME}: Branch: ${EGIT_BRANCH}" 593 debug-print "${FUNCNAME}: Branch: ${EGIT_BRANCH}"

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

  ViewVC Help
Powered by ViewVC 1.1.20