| 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.84 2010/10/13 19:33:17 armin76 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.85 2010/11/10 13:45:38 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>, |
| … | |
… | |
| 329 | # freetype2 include dir is non-standard, thus include it on configure |
329 | # freetype2 include dir is non-standard, thus include it on configure |
| 330 | # use -I from configure |
330 | # use -I from configure |
| 331 | myconf+=" $(pkg-config --cflags freetype2)" |
331 | myconf+=" $(pkg-config --cflags freetype2)" |
| 332 | fi |
332 | fi |
| 333 | |
333 | |
|
|
334 | # Disable SSE4.x, since auto-detection is currently broken |
|
|
335 | # Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623 |
|
|
336 | if version_is_at_least 4.7.1; then |
|
|
337 | myconf+=" -no-sse4.1 -no-sse4.2" |
|
|
338 | fi |
|
|
339 | |
| 334 | echo ./configure ${myconf} |
340 | echo ./configure ${myconf} |
| 335 | ./configure ${myconf} || die "./configure failed" |
341 | ./configure ${myconf} || die "./configure failed" |
| 336 | myconf="" |
342 | myconf="" |
| 337 | } |
343 | } |
| 338 | |
344 | |