/[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.131 Revision 1.132
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/qt4-build.eclass,v 1.131 2012/05/25 12:06:05 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.132 2012/06/07 15:36:49 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.
56if [[ ${QT4_BUILD_TYPE} == live ]]; then 56if [[ ${QT4_BUILD_TYPE} == live ]]; then
57 DEPEND+=" dev-lang/perl" 57 DEPEND+=" dev-lang/perl"
58fi 58fi
59 59
60RDEPEND=" 60RDEPEND="
61 !<x11-libs/qt-assistant-${PV} 61 !<x11-libs/qt-assistant-${PV}:4
62 !>x11-libs/qt-assistant-${PV}-r9999 62 !>x11-libs/qt-assistant-${PV}-r9999:4
63 !<x11-libs/qt-bearer-${PV} 63 !<x11-libs/qt-bearer-${PV}:4
64 !>x11-libs/qt-bearer-${PV}-r9999 64 !>x11-libs/qt-bearer-${PV}-r9999:4
65 !<x11-libs/qt-core-${PV} 65 !<x11-libs/qt-core-${PV}:4
66 !>x11-libs/qt-core-${PV}-r9999 66 !>x11-libs/qt-core-${PV}-r9999:4
67 !<x11-libs/qt-dbus-${PV} 67 !<x11-libs/qt-dbus-${PV}:4
68 !>x11-libs/qt-dbus-${PV}-r9999 68 !>x11-libs/qt-dbus-${PV}-r9999:4
69 !<x11-libs/qt-declarative-${PV} 69 !<x11-libs/qt-declarative-${PV}:4
70 !>x11-libs/qt-declarative-${PV}-r9999 70 !>x11-libs/qt-declarative-${PV}-r9999:4
71 !<x11-libs/qt-demo-${PV} 71 !<x11-libs/qt-demo-${PV}:4
72 !>x11-libs/qt-demo-${PV}-r9999 72 !>x11-libs/qt-demo-${PV}-r9999:4
73 !<x11-libs/qt-gui-${PV} 73 !<x11-libs/qt-gui-${PV}:4
74 !>x11-libs/qt-gui-${PV}-r9999 74 !>x11-libs/qt-gui-${PV}-r9999:4
75 !<x11-libs/qt-multimedia-${PV} 75 !<x11-libs/qt-multimedia-${PV}:4
76 !>x11-libs/qt-multimedia-${PV}-r9999 76 !>x11-libs/qt-multimedia-${PV}-r9999:4
77 !<x11-libs/qt-opengl-${PV} 77 !<x11-libs/qt-opengl-${PV}:4
78 !>x11-libs/qt-opengl-${PV}-r9999 78 !>x11-libs/qt-opengl-${PV}-r9999:4
79 !<x11-libs/qt-openvg-${PV} 79 !<x11-libs/qt-openvg-${PV}:4
80 !>x11-libs/qt-openvg-${PV}-r9999 80 !>x11-libs/qt-openvg-${PV}-r9999:4
81 !<x11-libs/qt-phonon-${PV} 81 !<x11-libs/qt-phonon-${PV}:4
82 !>x11-libs/qt-phonon-${PV}-r9999 82 !>x11-libs/qt-phonon-${PV}-r9999:4
83 !<x11-libs/qt-qt3support-${PV} 83 !<x11-libs/qt-qt3support-${PV}:4
84 !>x11-libs/qt-qt3support-${PV}-r9999 84 !>x11-libs/qt-qt3support-${PV}-r9999:4
85 !<x11-libs/qt-script-${PV} 85 !<x11-libs/qt-script-${PV}:4
86 !>x11-libs/qt-script-${PV}-r9999 86 !>x11-libs/qt-script-${PV}-r9999:4
87 !<x11-libs/qt-sql-${PV} 87 !<x11-libs/qt-sql-${PV}:4
88 !>x11-libs/qt-sql-${PV}-r9999 88 !>x11-libs/qt-sql-${PV}-r9999:4
89 !<x11-libs/qt-svg-${PV} 89 !<x11-libs/qt-svg-${PV}:4
90 !>x11-libs/qt-svg-${PV}-r9999 90 !>x11-libs/qt-svg-${PV}-r9999:4
91 !<x11-libs/qt-test-${PV} 91 !<x11-libs/qt-test-${PV}:4
92 !>x11-libs/qt-test-${PV}-r9999 92 !>x11-libs/qt-test-${PV}-r9999:4
93 !<x11-libs/qt-webkit-${PV} 93 !<x11-libs/qt-webkit-${PV}:4
94 !>x11-libs/qt-webkit-${PV}-r9999 94 !>x11-libs/qt-webkit-${PV}-r9999:4
95 !<x11-libs/qt-xmlpatterns-${PV} 95 !<x11-libs/qt-xmlpatterns-${PV}:4
96 !>x11-libs/qt-xmlpatterns-${PV}-r9999 96 !>x11-libs/qt-xmlpatterns-${PV}-r9999:4
97" 97"
98 98
99S=${WORKDIR}/${MY_P} 99S=${WORKDIR}/${MY_P}
100 100
101# @FUNCTION: qt4-build_pkg_setup 101# @FUNCTION: qt4-build_pkg_setup
104qt4-build_pkg_setup() { 104qt4-build_pkg_setup() {
105 [[ ${EAPI} == 2 ]] && use !prefix && EPREFIX= 105 [[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
106 106
107 # Protect users by not allowing downgrades between releases 107 # Protect users by not allowing downgrades between releases
108 # Downgrading revisions within the same release should be allowed 108 # Downgrading revisions within the same release should be allowed
109 if has_version '>'${CATEGORY}/${P}-r9999; then 109 if has_version ">${CATEGORY}/${P}-r9999:4"; then
110 if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then 110 if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then
111 eerror 111 eerror
112 eerror "Sanity check to keep you from breaking your system:" 112 eerror "Sanity check to keep you from breaking your system:"
113 eerror " Downgrading Qt is completely unsupported and will break your system!" 113 eerror " Downgrading Qt is completely unsupported and will break your system!"
114 eerror 114 eerror

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

  ViewVC Help
Powered by ViewVC 1.1.20