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

Diff of /eclass/enlightenment.eclass

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

Revision 1.98 Revision 1.99
1# Copyright 1999-2012 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.98 2012/11/26 06:58:19 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.99 2013/08/28 02:51:18 vapier 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
16 16
17# @ECLASS-VARIABLE: E_CYTHON 17# @ECLASS-VARIABLE: E_CYTHON
18# @DEFAULT_UNSET 18# @DEFAULT_UNSET
19# @DESCRIPTION: 19# @DESCRIPTION:
20# if defined, the package is Cython bindings (implies E_PYTHON) 20# if defined, the package is Cython bindings (implies E_PYTHON)
21
22# @ECLASS-VARIABLE: E_ECONF
23# @DESCRIPTION:
24# Array of flags to pass to econf (obsoletes MY_ECONF)
25E_ECONF=()
21 26
22# E_STATE's: 27# E_STATE's:
23# release [default] 28# release [default]
24# KEYWORDS arch 29# KEYWORDS arch
25# SRC_URI $P.tar.gz 30# SRC_URI $P.tar.gz
140} 145}
141 146
142enlightenment_src_configure() { 147enlightenment_src_configure() {
143 # gstreamer sucks, work around it doing stupid stuff 148 # gstreamer sucks, work around it doing stupid stuff
144 export GST_REGISTRY="${S}/registry.xml" 149 export GST_REGISTRY="${S}/registry.xml"
145 has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)" 150 has static-libs ${IUSE} && E_ECONF+=( $(use_enable static-libs static) )
146 151
147 econf ${MY_ECONF} 152 econf ${MY_ECONF} "${E_ECONF[@]}"
148} 153}
149 154
150enlightenment_src_compile() { 155enlightenment_src_compile() {
151 has src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure 156 has src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
152 157

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99

  ViewVC Help
Powered by ViewVC 1.1.20