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

Diff of /eclass/enlightenment.eclass

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

Revision 1.73 Revision 1.76
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.73 2008/09/20 20:35:00 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.76 2008/11/30 09:05:51 vapier Exp $
4# 4#
5# Author: vapier@gentoo.org 5# Author: vapier@gentoo.org
6 6
7inherit eutils libtool 7inherit eutils libtool
8 8
43 E_LIVE_SOURCE="cvs" 43 E_LIVE_SOURCE="cvs"
44 E_S_APPEND=${ECVS_MODULE} 44 E_S_APPEND=${ECVS_MODULE}
45 inherit cvs 45 inherit cvs
46 else 46 else
47 ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}} 47 ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}}
48 ESVN_PROJECT="enlightenment" 48 ESVN_PROJECT="enlightenment/${ESVN_SUB_PROJECT}"
49 ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_URI_APPEND} 49 ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_SUB_PROJECT}/${ESVN_URI_APPEND}
50 E_S_APPEND=${ESVN_URI_APPEND} 50 E_S_APPEND=${ESVN_URI_APPEND}
51 E_LIVE_SOURCE="svn" 51 E_LIVE_SOURCE="svn"
52 inherit subversion 52 inherit subversion
53 fi 53 fi
54elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then 54elif [[ -n ${E_SNAP_DATE} ]] ; then
55 E_STATE="snap" 55 E_STATE="snap"
56elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then 56else
57 E_STATE="snap"
58 EURI_STATE="release" 57 E_STATE="release"
59fi 58fi
60if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then 59if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
61 WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest} 60 WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
62 WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest} 61 WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
63 inherit autotools 62 inherit autotools
64fi 63fi
65 64
66DESCRIPTION="A DR17 production" 65DESCRIPTION="A DR17 production"
67HOMEPAGE="http://www.enlightenment.org/" 66HOMEPAGE="http://www.enlightenment.org/"
68case ${EURI_STATE:-${E_STATE}} in 67case ${EURI_STATE:-${E_STATE}} in
69 release) SRC_URI="http://enlightenment.freedesktop.org/files/${P}.tar.gz mirror://sourceforge/enlightenment/${P}.tar.gz";; 68 release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";;
70 snap) SRC_URI="mirror://gentoo/${P}.tar.bz2";; 69 snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";;
71 live) SRC_URI="";; 70 live) SRC_URI="";;
72esac 71esac
73 72
74LICENSE="BSD" 73LICENSE="BSD"
75SLOT="0" 74SLOT="0"
81IUSE="nls doc" 80IUSE="nls doc"
82 81
83DEPEND="doc? ( app-doc/doxygen )" 82DEPEND="doc? ( app-doc/doxygen )"
84RDEPEND="nls? ( sys-devel/gettext )" 83RDEPEND="nls? ( sys-devel/gettext )"
85 84
85# gettext (via `autopoint`) needs to run cvs #245073
86[[ ${E_STATE} == "live" ]] && DEPEND="${DEPEND} dev-util/cvs"
87
86case ${EURI_STATE:-${E_STATE}} in 88case ${EURI_STATE:-${E_STATE}} in
87 release) S=${WORKDIR}/${P};; 89 release) S=${WORKDIR}/${P};;
88 snap) S=${WORKDIR}/${PN};; 90 snap) S=${WORKDIR}/${P};;
89 live) S=${WORKDIR}/${E_S_APPEND};; 91 live) S=${WORKDIR}/${E_S_APPEND};;
90esac 92esac
91 93
92enlightenment_warning_msg() { 94enlightenment_warning_msg() {
93 if [[ -n ${E_LIVE_SERVER} ]] ; then 95 if [[ -n ${E_LIVE_SERVER} ]] ; then

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.76

  ViewVC Help
Powered by ViewVC 1.1.20