/[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.135 Revision 1.136
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.135 2014/04/25 19:39:42 johu Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.136 2014/06/14 18:33:59 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
80 if [[ ${KDE_BUILD_TYPE} = live ]]; then 80 if [[ ${KDE_BUILD_TYPE} = live ]]; then
81 # @ECLASS-VARIABLE: KDEVELOP_VERSION 81 # @ECLASS-VARIABLE: KDEVELOP_VERSION
82 # @DESCRIPTION: 82 # @DESCRIPTION:
83 # Specifies KDevelop version. Default is 4.0.0 for tagged packages and 9999 for live packages. 83 # Specifies KDevelop version. Default is 4.0.0 for tagged packages and 9999 for live packages.
84 # Applies to KDEBASE=kdevelop only. 84 # Applies to KDEBASE=kdevelop only.
85 KDEVELOP_VERSION="${KDEVELOP_VERSION:-9999}" 85 KDEVELOP_VERSION="${KDEVELOP_VERSION:-4.9999}"
86 # @ECLASS-VARIABLE: KDEVPLATFORM_VERSION 86 # @ECLASS-VARIABLE: KDEVPLATFORM_VERSION
87 # @DESCRIPTION: 87 # @DESCRIPTION:
88 # Specifies KDevplatform version. Default is 1.0.0 for tagged packages and 9999 for live packages. 88 # Specifies KDevplatform version. Default is 1.0.0 for tagged packages and 9999 for live packages.
89 # Applies to KDEBASE=kdevelop only. 89 # Applies to KDEBASE=kdevelop only.
90 KDEVPLATFORM_VERSION="${KDEVPLATFORM_VERSION:-9999}" 90 KDEVPLATFORM_VERSION="${KDEVPLATFORM_VERSION:-4.9999}"
91 else 91 else
92 case ${PN} in 92 case ${PN} in
93 kdevelop|quanta) 93 kdevelop)
94 KDEVELOP_VERSION=${PV} 94 KDEVELOP_VERSION=${PV}
95 KDEVPLATFORM_VERSION="$(($(get_major_version)-3)).$(get_after_major_version)" 95 KDEVPLATFORM_VERSION="$(($(get_major_version)-3)).$(get_after_major_version)"
96 ;; 96 ;;
97 kdevplatform|kdevelop-php*|kdevelop-python) 97 kdevplatform|kdevelop-php*|kdevelop-python)
98 KDEVELOP_VERSION="$(($(get_major_version)+3)).$(get_after_major_version)" 98 KDEVELOP_VERSION="$(($(get_major_version)+3)).$(get_after_major_version)"
307 # Applies to KDEBASE=kdevelop only. 307 # Applies to KDEBASE=kdevelop only.
308 KDEVPLATFORM_REQUIRED="${KDEVPLATFORM_REQUIRED:-always}" 308 KDEVPLATFORM_REQUIRED="${KDEVPLATFORM_REQUIRED:-always}"
309 case ${KDEVPLATFORM_REQUIRED} in 309 case ${KDEVPLATFORM_REQUIRED} in
310 always) 310 always)
311 kdecommondepend+=" 311 kdecommondepend+="
312 >=dev-util/kdevplatform-${KDEVPLATFORM_VERSION} 312 >=dev-util/kdevplatform-${KDEVPLATFORM_VERSION}:4
313 " 313 "
314 ;; 314 ;;
315 *) ;; 315 *) ;;
316 esac 316 esac
317 fi 317 fi
446 # Part of 4.12 actually, sigh. Not stable for next release! 446 # Part of 4.12 actually, sigh. Not stable for next release!
447 SRC_URI="mirror://kde/stable/4.12.4/src/${_kmname_pv}.tar.xz" ;; 447 SRC_URI="mirror://kde/stable/4.12.4/src/${_kmname_pv}.tar.xz" ;;
448 4.11.9) 448 4.11.9)
449 # Part of 4.12 actually, sigh. Not stable for next release! 449 # Part of 4.12 actually, sigh. Not stable for next release!
450 SRC_URI="mirror://kde/stable/4.12.5/src/${_kmname_pv}.tar.xz" ;; 450 SRC_URI="mirror://kde/stable/4.12.5/src/${_kmname_pv}.tar.xz" ;;
451 4.11.10)
452 # Part of 4.13 actually, sigh. Not stable for next release!
453 SRC_URI="mirror://kde/stable/4.13.2/src/${_kmname_pv}.tar.xz" ;;
451 *) 454 *)
452 # Stable KDE SC releases 455 # Stable KDE SC releases
453 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz" ;; 456 SRC_URI="mirror://kde/stable/${PV}/src/${_kmname_pv}.tar.xz" ;;
454 esac 457 esac
455 ;; 458 ;;
469 case ${KDE_SCM} in 472 case ${KDE_SCM} in
470 svn) 473 svn)
471 # Determine branch URL based on live type 474 # Determine branch URL based on live type
472 local branch_prefix 475 local branch_prefix
473 case ${PV} in 476 case ${PV} in
474 9999*) 477 4.9999*)
475 # trunk 478 # trunk
476 branch_prefix="trunk/KDE" 479 branch_prefix="trunk/KDE"
477 ;; 480 ;;
478 *) 481 *)
479 # branch 482 # branch
556 else 559 else
557 _kmname=${PN} 560 _kmname=${PN}
558 fi 561 fi
559 562
560 # default branching 563 # default branching
561 [[ ${PV} != 9999* && ${KDEBASE} == kde-base ]] && \ 564 [[ ${PV} != 4.9999* && ${KDEBASE} == kde-base ]] && \
562 EGIT_BRANCH="KDE/$(get_kde_version)" 565 EGIT_BRANCH="KDE/$(get_kde_version)"
563 566
564 # default repo uri 567 # default repo uri
565 EGIT_REPO_URI+=( "${EGIT_MIRROR}/${_kmname}" ) 568 EGIT_REPO_URI+=( "${EGIT_MIRROR}/${_kmname}" )
566 569

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136

  ViewVC Help
Powered by ViewVC 1.1.20