Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 120116 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/eclass/qt3.eclass (+49 lines)
Lines 16-21 Link Here
16
16
17
inherit versionator
17
inherit versionator
18
18
19
IUSE="${IUSE} debug"
20
19
QTPKG="x11-libs/qt-"
21
QTPKG="x11-libs/qt-"
20
QT3MAJORVERSIONS="3.3 3.2 3.1 3.0"
22
QT3MAJORVERSIONS="3.3 3.2 3.1 3.0"
21
QT3VERSIONS="3.3.5 3.3.4-r8 3.3.4-r7 3.3.4-r6 3.3.4-r5 3.3.4-r4 3.3.4-r3 3.3.4-r2 3.3.4-r1 3.3.4 3.3.3-r3 3.3.3-r2 3.3.3-r1 3.3.3 3.3.2 3.3.1-r2 3.3.1-r1 3.3.1 3.3.0-r1 3.3.0 3.2.3-r1 3.2.3 3.2.2-r1 3.2.2 3.2.1-r2 3.2.1-r1 3.2.1 3.2.0 3.1.2-r4 3.1.2-r3 3.1.2-r2 3.1.2-r1 3.1.2 3.1.1-r2 3.1.1-r1 3.1.1 3.1.0-r3 3.1.0-r2 3.1.0-r1 3.1.0"
23
QT3VERSIONS="3.3.5 3.3.4-r8 3.3.4-r7 3.3.4-r6 3.3.4-r5 3.3.4-r4 3.3.4-r3 3.3.4-r2 3.3.4-r1 3.3.4 3.3.3-r3 3.3.3-r2 3.3.3-r1 3.3.3 3.3.2 3.3.1-r2 3.3.1-r1 3.3.1 3.3.0-r1 3.3.0 3.2.3-r1 3.2.3 3.2.2-r1 3.2.2 3.2.1-r2 3.2.1-r1 3.2.1 3.2.0 3.1.2-r4 3.1.2-r3 3.1.2-r2 3.1.2-r1 3.1.2 3.1.1-r2 3.1.1-r1 3.1.1 3.1.0-r3 3.1.0-r2 3.1.0-r1 3.1.0"
Lines 58-60 Link Here
58
60
59
	echo "${VERSIONS}"
61
	echo "${VERSIONS}"
60
}
62
}
63
64
eqmake() {
65
	local projprofile=""
66
	if [ -z $1 ]; then
67
		projprofile="${PN}.pro"
68
	else
69
		projprofile="${1}"
70
	fi;
71
72
	# file exists?
73
	if [[ ! -f ${projprofile} ]]; then
74
		echo
75
		eerror "Project pro file \"${projprofile}\" does not exists"
76
		eerror "qmake cannot handle the non-existing pro files"
77
		echo
78
		eerror "This shouldn't happen - send a bug report to bugs.gentoo.org"
79
		echo
80
		die "non existing pro file in ${PN} sources"
81
	fi;
82
83
	# some standard config options
84
	local configopt="no_fixpath"
85
	use debug && configopt="${configopt} debug"
86
87
	einfo "Processing qmake ${projprofile}"
88
89
	# any special qmake options should be passed as a second eqmake parameter
90
	${QTDIR}/bin/qmake ${projprofile} \
91
		QMAKE=${QTDIR}/bin/qmake \
92
		QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
93
		QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
94
		"CONFIG+=${configopt}" \
95
		QMAKE_RPATH= \
96
		${2}
97
98
	# successfull qmake?
99
	if [[ $? -ne 0 ]]; then
100
		echo
101
		eerror "Running qmake on \"${projprofile}\" has failed"
102
		echo
103
		eerror "This shouldn't happen - send a bug report to bugs.gentoo.org"
104
		echo
105
		die "qmake has failed on ${projprofile}"
106
	fi;
107
108
	eend 0
109
}

Return to bug 120116