| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 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.104 2011/12/16 20:02:48 abcd Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.105 2011/12/21 22:36:47 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. |
| … | |
… | |
| 365 | # freetype2 include dir is non-standard, thus include it on configure |
365 | # freetype2 include dir is non-standard, thus include it on configure |
| 366 | # use -I from configure |
366 | # use -I from configure |
| 367 | myconf+=" $(pkg-config --cflags freetype2)" |
367 | myconf+=" $(pkg-config --cflags freetype2)" |
| 368 | fi |
368 | fi |
| 369 | |
369 | |
| 370 | # Disable SSE4.x, since auto-detection is currently broken |
|
|
| 371 | # Upstream bug http://bugreports.qt.nokia.com/browse/QTBUG-13623 |
|
|
| 372 | [[ ${PV} == "4.7.1" ]] && myconf+=" -no-sse4.1 -no-sse4.2" |
|
|
| 373 | |
|
|
| 374 | echo ./configure ${myconf} |
370 | echo ./configure ${myconf} |
| 375 | ./configure ${myconf} || die "./configure failed" |
371 | ./configure ${myconf} || die "./configure failed" |
| 376 | myconf="" |
372 | myconf="" |
| 377 | |
373 | |
| 378 | prepare_directories ${QT4_TARGET_DIRECTORIES} |
374 | prepare_directories ${QT4_TARGET_DIRECTORIES} |