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

Diff of /eclass/enlightenment.eclass

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

Revision 1.65 Revision 1.66
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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.65 2006/07/02 06:52:43 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.66 2006/09/24 12:26:00 vapier Exp $
4# 4#
5# Author: vapier@gentoo.org 5# Author: vapier@gentoo.org
6 6
7inherit eutils libtool 7inherit eutils libtool
8 8
42 ECVS_MODULE="e17/apps/${PN}" 42 ECVS_MODULE="e17/apps/${PN}"
43 fi 43 fi
44 fi 44 fi
45 ECVS_SERVER=${E17_ECVS_SERVER:-${ECVS_SERVER:-${E17_DEFAULT_CVS}}} 45 ECVS_SERVER=${E17_ECVS_SERVER:-${ECVS_SERVER:-${E17_DEFAULT_CVS}}}
46 ECVS_STATE="live" 46 ECVS_STATE="live"
47 inherit cvs 47 WANT_AUTOCONF="latest"
48 WANT_AUTOMAKE="latest"
49 inherit cvs autotools
48elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then 50elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then
49 ECVS_STATE="snap" 51 ECVS_STATE="snap"
50elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then 52elif [[ ${PV%%.[0-9][0-9][0-9]} != ${PV} ]] ; then
51 ECVS_STATE="snap" 53 ECVS_STATE="snap"
52 EURI_STATE="release" 54 EURI_STATE="release"
126enlightenment_src_compile() { 128enlightenment_src_compile() {
127 # gstreamer sucks, work around it doing stupid stuff 129 # gstreamer sucks, work around it doing stupid stuff
128 export GST_REGISTRY="${S}/registry.xml" 130 export GST_REGISTRY="${S}/registry.xml"
129 131
130 if [[ ! -e configure ]] ; then 132 if [[ ! -e configure ]] ; then
131 export WANT_AUTOMAKE=${EAUTOMAKE:-1.8}
132 env \ 133 env \
133 PATH="${T}:${PATH}" \ 134 PATH="${T}:${PATH}" \
134 NOCONFIGURE=yes \ 135 NOCONFIGURE=yes \
135 USER=blah \ 136 USER=blah \
136 ./autogen.sh \ 137 ./autogen.sh \
137 || enlightenment_die "autogen failed" 138 || enlightenment_die "autogen failed"
138 # symlinked files will cause sandbox violation 139 # symlinked files will cause sandbox violation
140 local x
139 for x in config.{guess,sub} ; do 141 for x in config.{guess,sub} ; do
140 [[ ! -L ${x} ]] && continue 142 [[ ! -L ${x} ]] && continue
141 rm -f ${x} 143 rm -f ${x}
142 touch ${x} 144 touch ${x}
143 done 145 done
144 if [[ ! -z ${EHACKLIBLTDL} ]] ; then
145 cd libltdl
146 autoconf || enlightenment_die "autogen in libltdl failed"
147 cd ..
148 fi
149 fi 146 fi
150 epunt_cxx 147 epunt_cxx
151 elibtoolize 148 elibtoolize
152 econf ${MY_ECONF} || enlightenment_die "econf failed" 149 econf ${MY_ECONF} || enlightenment_die "econf failed"
153 emake || enlightenment_die "emake failed" 150 emake || enlightenment_die "emake failed"

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

  ViewVC Help
Powered by ViewVC 1.1.20