/[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.150 Revision 1.151
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.150 2013/08/13 10:17:54 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.151 2013/10/14 17:24:36 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.
16 16
17inherit eutils flag-o-matic multilib toolchain-funcs versionator 17inherit eutils flag-o-matic multilib toolchain-funcs versionator
18 18
19if [[ ${PV} == *9999* ]]; then 19if [[ ${PV} == *9999* ]]; then
20 QT4_BUILD_TYPE="live" 20 QT4_BUILD_TYPE="live"
21 inherit git-2 21 inherit git-r3
22else 22else
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/"
29MY_PV=${PV/_/-} 29MY_PV=${PV/_/-}
30MY_P=qt-everywhere-opensource-src-${MY_PV} 30MY_P=qt-everywhere-opensource-src-${MY_PV}
31 31
32case ${QT4_BUILD_TYPE} in 32case ${QT4_BUILD_TYPE} in
33 live) 33 live)
34 EGIT_REPO_URI=(
34 EGIT_REPO_URI="git://gitorious.org/qt/qt.git 35 "git://gitorious.org/qt/qt.git"
35 https://git.gitorious.org/qt/qt.git" 36 "https://git.gitorious.org/qt/qt.git"
37 )
36 EGIT_BRANCH=${PV%.9999} 38 EGIT_BRANCH=${PV%.9999}
37 ;; 39 ;;
38 release) 40 release)
39 SRC_URI="http://download.qt-project.org/official_releases/qt/${PV%.*}/${PV}/${MY_P}.tar.gz" 41 SRC_URI="http://download.qt-project.org/official_releases/qt/${PV%.*}/${PV}/${MY_P}.tar.gz"
40 ;; 42 ;;
118 eshopts_pop 120 eshopts_pop
119 fi 121 fi
120 122
121 case ${QT4_BUILD_TYPE} in 123 case ${QT4_BUILD_TYPE} in
122 live) 124 live)
123 git-2_src_unpack 125 git-r3_src_unpack
124 ;; 126 ;;
125 release) 127 release)
126 local tarball="${MY_P}.tar.gz" target= targets= 128 local tarball="${MY_P}.tar.gz" target= targets=
127 for target in configure LICENSE.GPL3 LICENSE.LGPL projects.pro \ 129 for target in configure LICENSE.GPL3 LICENSE.LGPL projects.pro \
128 src/{qbase,qt_targets,qt_install}.pri bin config.tests \ 130 src/{qbase,qt_targets,qt_install}.pri bin config.tests \

Legend:
Removed from v.1.150  
changed lines
  Added in v.1.151

  ViewVC Help
Powered by ViewVC 1.1.20