/[gentoo-x86]/eclass/qt4-r2.eclass
Gentoo

Diff of /eclass/qt4-r2.eclass

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

Revision 1.10 Revision 1.12
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 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/qt4-r2.eclass,v 1.10 2011/03/19 15:02:47 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.12 2011/08/22 04:46:32 vapier Exp $
4 4
5# @ECLASS: qt4-r2.eclass 5# @ECLASS: qt4-r2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ben de Groot <yngwin@gentoo.org>, 7# Ben de Groot <yngwin@gentoo.org>,
8# Markos Chandras <hwoarang@gentoo.org>, 8# Markos Chandras <hwoarang@gentoo.org>,
12# @DESCRIPTION: 12# @DESCRIPTION:
13# This eclass contains various functions that may be useful when 13# This eclass contains various functions that may be useful when
14# dealing with packages using Qt4 libraries. Requires EAPI=2. 14# dealing with packages using Qt4 libraries. Requires EAPI=2.
15 15
16case ${EAPI} in 16case ${EAPI} in
17 2|3) : ;; 17 2|3|4) : ;;
18 *) die "EAPI=${EAPI} is not supported" ;; 18 *) die "EAPI=${EAPI} is not supported" ;;
19esac 19esac
20 20
21inherit base eutils multilib toolchain-funcs 21inherit base eutils multilib toolchain-funcs
22 22
63# In case you have patches to apply, specify them in PATCHES variable. Make sure 63# In case you have patches to apply, specify them in PATCHES variable. Make sure
64# to specify the full path. This variable is used in src_prepare phase. 64# to specify the full path. This variable is used in src_prepare phase.
65# example: 65# example:
66# PATCHES=( "${FILESDIR}"/mypatch.patch 66# PATCHES=( "${FILESDIR}"/mypatch.patch
67# "${FILESDIR}"/mypatch2.patch ) 67# "${FILESDIR}"/mypatch2.patch )
68# 68
69# @FUNCTION: qt4-r2_src_prepare 69# @FUNCTION: qt4-r2_src_prepare
70# @DESCRIPTION: 70# @DESCRIPTION:
71# Default src_prepare function for packages that depend on qt4. If you have to 71# Default src_prepare function for packages that depend on qt4. If you have to
72# override src_prepare in your ebuild, you should call qt4-r2_src_prepare in it, 72# override src_prepare in your ebuild, you should call qt4-r2_src_prepare in it,
73# otherwise autopatcher will not work! 73# otherwise autopatcher will not work!
106 106
107# @ECLASS-VARIABLE: DOCS 107# @ECLASS-VARIABLE: DOCS
108# @DESCRIPTION: 108# @DESCRIPTION:
109# Use this variable if you want to install any documentation. 109# Use this variable if you want to install any documentation.
110# example: DOCS="README AUTHORS" 110# example: DOCS="README AUTHORS"
111# 111
112# @ECLASS-VARIABLE: DOCSDIR 112# @ECLASS-VARIABLE: DOCSDIR
113# @DESCRIPTION: 113# @DESCRIPTION:
114# Directory containing documentation. If not specified, ${S} will be used 114# Directory containing documentation. If not specified, ${S} will be used
115# instead. 115# instead.
116# 116
117# @FUNCTION: qt4-r2_src_install 117# @FUNCTION: qt4-r2_src_install
118# @DESCRIPTION: 118# @DESCRIPTION:
119# Default src_install function for qt4-based packages. Installs compiled code, 119# Default src_install function for qt4-based packages. Installs compiled code,
120# documentation (via DOCS variable) and translations (via LANGS and 120# documentation (via DOCS variable) and translations (via LANGS and
121# LANGSLONG variables). 121# LANGSLONG variables).

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20