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

Diff of /eclass/qt4-build.eclass

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

Revision 1.153 Revision 1.154
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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-build.eclass,v 1.153 2013/10/20 21:45:31 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.154 2013/11/11 19:47:39 pesa Exp $
4 4
5# @ECLASS: qt4-build.eclass 5# @ECLASS: qt4-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Qt herd <qt@gentoo.org> 7# Qt herd <qt@gentoo.org>
8# @BLURB: Eclass for Qt4 split ebuilds. 8# @BLURB: Eclass for Qt4 split ebuilds.
23 QT4_BUILD_TYPE="release" 23 QT4_BUILD_TYPE="release"
24fi 24fi
25 25
26HOMEPAGE="http://qt-project.org/ http://qt.digia.com/" 26HOMEPAGE="http://qt-project.org/ http://qt.digia.com/"
27LICENSE="|| ( LGPL-2.1 GPL-3 )" 27LICENSE="|| ( LGPL-2.1 GPL-3 )"
28
29MY_PV=${PV/_/-}
30MY_P=qt-everywhere-opensource-src-${MY_PV}
31 28
32case ${QT4_BUILD_TYPE} in 29case ${QT4_BUILD_TYPE} in
33 live) 30 live)
34 EGIT_REPO_URI=( 31 EGIT_REPO_URI=(
35 "git://gitorious.org/qt/qt.git" 32 "git://gitorious.org/qt/qt.git"
36 "https://git.gitorious.org/qt/qt.git" 33 "https://git.gitorious.org/qt/qt.git"
37 ) 34 )
38 EGIT_BRANCH=${PV%.9999} 35 EGIT_BRANCH=${PV%.9999}
39 ;; 36 ;;
40 release) 37 release)
38 MY_P=qt-everywhere-opensource-src-${PV/_/-}
41 SRC_URI="http://download.qt-project.org/official_releases/qt/${PV%.*}/${PV}/${MY_P}.tar.gz" 39 SRC_URI="http://download.qt-project.org/official_releases/qt/${PV%.*}/${PV}/${MY_P}.tar.gz"
40 S=${WORKDIR}/${MY_P}
42 ;; 41 ;;
43esac 42esac
44 43
45IUSE="aqua debug pch" 44IUSE="aqua debug pch"
46if ! version_is_at_least 4.8.5; then 45if ! version_is_at_least 4.8.5; then
50 49
51DEPEND="virtual/pkgconfig" 50DEPEND="virtual/pkgconfig"
52if [[ ${QT4_BUILD_TYPE} == live ]]; then 51if [[ ${QT4_BUILD_TYPE} == live ]]; then
53 DEPEND+=" dev-lang/perl" 52 DEPEND+=" dev-lang/perl"
54fi 53fi
55
56S=${WORKDIR}/${MY_P}
57 54
58# @FUNCTION: qt4-build_pkg_setup 55# @FUNCTION: qt4-build_pkg_setup
59# @DESCRIPTION: 56# @DESCRIPTION:
60# Sets up PATH and LD_LIBRARY_PATH. 57# Sets up PATH and LD_LIBRARY_PATH.
61qt4-build_pkg_setup() { 58qt4-build_pkg_setup() {

Legend:
Removed from v.1.153  
changed lines
  Added in v.1.154

  ViewVC Help
Powered by ViewVC 1.1.20