/[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.101 Revision 1.102
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.101 2011/07/06 19:26:40 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.102 2011/07/10 17:53:37 tampakrap 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
563 # default branching 563 # default branching
564 case ${PV} in 564 case ${PV} in
565 9999*) ;; 565 9999*) ;;
566 *) 566 *)
567 # set EGIT_BRANCH and EGIT_COMMIT to $(get_kde_version) 567 # set EGIT_BRANCH and EGIT_COMMIT to $(get_kde_version)
568 # every package is listed explicitly now, as upstream
569 # seems to love being different :(
568 case ${_kmname} in 570 case ${_kmname} in
571 blinken|cantor|kalgebra|kalzium|kanagram|kbruch| \
569 kdeplasma-addons | kdepim | kdepim-runtime | kdepimlibs | okular) 572 kdeplasma-addons|kdepim|kdepim-runtime|kdepimlibs| \
570 EGIT_BRANCH="$(get_kde_version)" 573 kgeography|khangman|kig|kiten|klettres|kmplot|kstars| \
571 ;; 574 ktouch|kturtle|kwordquiz|libkdeedu|mobipocket|okular| \
572 kdeedu) 575 parley|rocs|step)
573 EGIT_BRANCH="$(get_kde_version)" 576 EGIT_BRANCH="$(get_kde_version)"
574 ;; 577 ;;
575 marble) 578 marble)
576 EGIT_BRANCH="kde-$(get_kde_version)" 579 EGIT_BRANCH="kde-$(get_kde_version)"
577 ;; 580 ;;
581 gwenview|kamera|kate|kcolorchooser|kde-baseapps| \
582 kde-runtime|kde-workspace|kgamma| \
583 kdegraphics-strigi-analyzer|kdegraphics-thumbnailers| \
584 kdelibs|kimono|kolourpaint|konsole|korundum| \
585 kross-interpreters|kruler|ksaneplugin|ksnapshot| \
586 libkdcraw|libkexiv2|libkipi|libksane|perlqt|perlkde| \
587 pykde4|qtruby|qyoto|smokegen|smokekde|smokeqt|svgpart)
588 EGIT_BRANCH="KDE/$(get_kde_version)"
589 ;;
590 *)
591 ewarn "Unknown KMNAME ${_kmname}: Guessing branch name 'KDE/$(get_kde_version)'"
578 *) EGIT_BRANCH="KDE/$(get_kde_version)" ;; 592 EGIT_BRANCH="KDE/$(get_kde_version)" ;;
579 esac 593 esac
580 ;; 594 ;;
581 esac 595 esac
582 596
583 # default repo uri 597 # default repo uri
584 case ${_kmname} in
585 kdeedu)
586 EGIT_REPO_URI="${EGIT_MIRROR}/${PN}"
587 ;;
588 *)
589 EGIT_REPO_URI="${EGIT_MIRROR}/${_kmname}" 598 EGIT_REPO_URI="${EGIT_MIRROR}/${_kmname}"
590 esac
591 599
592 debug-print "${FUNCNAME}: Repository: ${EGIT_REPO_URI}" 600 debug-print "${FUNCNAME}: Repository: ${EGIT_REPO_URI}"
593 debug-print "${FUNCNAME}: Branch: ${EGIT_BRANCH}" 601 debug-print "${FUNCNAME}: Branch: ${EGIT_BRANCH}"
594 ;; 602 ;;
595 esac 603 esac

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.102

  ViewVC Help
Powered by ViewVC 1.1.20