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

Diff of /eclass/gnome2.eclass

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

Revision 1.129 Revision 1.130
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 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/gnome2.eclass,v 1.129 2015/02/23 10:57:38 pacho Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.130 2015/02/23 10:59:44 pacho Exp $
4 4
5# @ECLASS: gnome2.eclass 5# @ECLASS: gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gnome@gentoo.org 7# gnome@gentoo.org
8# @BLURB: Provides phases for Gnome/Gtk+ based packages. 8# @BLURB: Provides phases for Gnome/Gtk+ based packages.
49# @DEFAULT_UNSET 49# @DEFAULT_UNSET
50# @DESCRIPTION: 50# @DESCRIPTION:
51# Extra options passed to elibtoolize 51# Extra options passed to elibtoolize
52ELTCONF=${ELTCONF:-""} 52ELTCONF=${ELTCONF:-""}
53 53
54# @ECLASS-VARIABLE: USE_EINSTALL
55# @DEFAULT_UNSET
56# @DESCRIPTION:
57# Should we use EINSTALL instead of DESTDIR. DEPRECATED
58USE_EINSTALL=${USE_EINSTALL:-""}
59
60# @ECLASS-VARIABLE: DOCS 54# @ECLASS-VARIABLE: DOCS
61# @DEFAULT_UNSET 55# @DEFAULT_UNSET
62# @DESCRIPTION: 56# @DESCRIPTION:
63# String containing documents passed to dodoc command. 57# String containing documents passed to dodoc command.
64 58
198 dodir "${sk_tmp_dir}" || die "dodir failed" 192 dodir "${sk_tmp_dir}" || die "dodir failed"
199 193
200 # we must delay gconf schema installation due to sandbox 194 # we must delay gconf schema installation due to sandbox
201 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" 195 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
202 196
203 if [[ -z "${USE_EINSTALL}" || "${USE_EINSTALL}" = "0" ]]; then
204 debug-print "Installing with 'make install'" 197 debug-print "Installing with 'make install'"
205 emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" install || die "install failed" 198 emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" install || die "install failed"
206 else
207 debug-print "Installing with 'einstall'"
208 eqawarn
209 eqawarn "Support for USE_EINSTALL will be dropped in a month,"
210 eqawarn "please stop using it (#482082)"
211 eqawarn
212 einstall "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" || die "einstall failed"
213 fi
214 199
215 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 200 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
216 201
217 # Handle documentation as 'default' for eapi5 and newer, bug #373131 202 # Handle documentation as 'default' for eapi5 and newer, bug #373131
218 if has ${EAPI:-0} 2 3 4; then 203 if has ${EAPI:-0} 2 3 4; then

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130

  ViewVC Help
Powered by ViewVC 1.1.20