| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 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.88 2011/01/20 23:08:09 spatz Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.89 2011/03/03 21:39:29 wired Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: qt4-build.eclass |
5 | # @ECLASS: qt4-build.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>, |
| … | |
… | |
| 333 | myconf+=" $(pkg-config --cflags freetype2)" |
333 | myconf+=" $(pkg-config --cflags freetype2)" |
| 334 | fi |
334 | fi |
| 335 | |
335 | |
| 336 | # Disable SSE4.x, since auto-detection is currently broken |
336 | # Disable SSE4.x, since auto-detection is currently broken |
| 337 | # Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623 |
337 | # Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623 |
| 338 | if version_is_at_least 4.7.1; then |
338 | [[ ${PV} == "4.7.1" ]] && myconf+=" -no-sse4.1 -no-sse4.2" |
| 339 | myconf+=" -no-sse4.1 -no-sse4.2" |
|
|
| 340 | fi |
|
|
| 341 | |
339 | |
| 342 | echo ./configure ${myconf} |
340 | echo ./configure ${myconf} |
| 343 | ./configure ${myconf} || die "./configure failed" |
341 | ./configure ${myconf} || die "./configure failed" |
| 344 | myconf="" |
342 | myconf="" |
| 345 | } |
343 | } |