/[gentoo-x86]/eclass/enlightenment.eclass
Gentoo

Diff of /eclass/enlightenment.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.100 Revision 1.101
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2012 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/enlightenment.eclass,v 1.100 2013/08/31 12:29:26 tommy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.101 2013/08/31 13:04:51 tommy Exp $
4 4
5# @ECLASS: enlightenment.eclass 5# @ECLASS: enlightenment.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# enlightenment@gentoo.org 7# enlightenment@gentoo.org
8# @BLURB: simplify enlightenment package management 8# @BLURB: simplify enlightenment package management
48E_LIVE_SERVER_DEFAULT_SVN="http://svn.enlightenment.org/svn/e/trunk" 48E_LIVE_SERVER_DEFAULT_SVN="http://svn.enlightenment.org/svn/e/trunk"
49E_LIVE_SERVER_DEFAULT_GIT="git://git.enlightenment.org" 49E_LIVE_SERVER_DEFAULT_GIT="git://git.enlightenment.org"
50 50
51E_STATE="release" 51E_STATE="release"
52if [[ ${PV} == *9999* ]] ; then 52if [[ ${PV} == *9999* ]] ; then
53 if [[ ${ESVN_URI_APPEND} ]] ; then 53 if [[ ${EGIT_URI_APPEND} ]] ; then
54 E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}
55 EGIT_URI_APPEND=${EGIT_URI_APPEND:-${PN}}
56 EGIT_PROJECT="enlightenment/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}"
57 EGIT_REPO_URI=${EGIT_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git
58 E_S_APPEND=${EGIT_URI_APPEND}
59 E_LIVE_SOURCE="git"
60 inherit git-2
61 else
54 E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}} 62 E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}
55 63
56 ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}} 64 ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}}
57 ESVN_PROJECT="enlightenment/${ESVN_SUB_PROJECT}" 65 ESVN_PROJECT="enlightenment/${ESVN_SUB_PROJECT}"
58 ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_SUB_PROJECT}/${ESVN_URI_APPEND} 66 ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_SUB_PROJECT}/${ESVN_URI_APPEND}
59 E_S_APPEND=${ESVN_URI_APPEND} 67 E_S_APPEND=${ESVN_URI_APPEND}
60 E_LIVE_SOURCE="svn" 68 E_LIVE_SOURCE="svn"
61 inherit subversion 69 inherit subversion
62 elif [[ ${EGIT_URI_APPEND} ]] ; then
63 E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}
64 EGIT_URI_APPEND=${EGIT_URI_APPEND:-${PN}}
65 EGIT_PROJECT="enlightenment/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}"
66 EGIT_REPO_URI=${EGIT_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git
67 E_S_APPEND=${EGIT_URI_APPEND}
68 E_LIVE_SOURCE="git"
69 inherit git-2
70 else
71 die "Either ESVN_URI_APPEND or EGIT_URI_APPEND need to be defined"
72 fi 70 fi
73 E_STATE="live" 71 E_STATE="live"
74 WANT_AUTOTOOLS="yes" 72 WANT_AUTOTOOLS="yes"
75 73
76elif [[ -n ${E_SNAP_DATE} ]] ; then 74elif [[ -n ${E_SNAP_DATE} ]] ; then

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

  ViewVC Help
Powered by ViewVC 1.1.20