1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2013 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.141 2012/12/31 06:29:42 pesa Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.142 2013/01/03 08:39: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. |
… | |
… | |
423 | # avoid the -pthread argument |
423 | # avoid the -pthread argument |
424 | conf+=" ${glibflags//-pthread}" |
424 | conf+=" ${glibflags//-pthread}" |
425 | unset glibflags |
425 | unset glibflags |
426 | fi |
426 | fi |
427 | |
427 | |
428 | if use_if_iuse qpa; then |
|
|
429 | echo |
|
|
430 | ewarn "The qpa useflag enables the Qt Platform Abstraction, formely" |
|
|
431 | ewarn "known as Qt Lighthouse. If you are not sure what that is, then" |
|
|
432 | ewarn "disable it before reporting any bugs related to this useflag." |
|
|
433 | echo |
|
|
434 | conf+=" -qpa" |
|
|
435 | fi |
|
|
436 | |
|
|
437 | if use aqua; then |
428 | if use aqua; then |
438 | # On (snow) leopard use the new (frameworked) cocoa code. |
429 | # On (snow) leopard use the new (frameworked) cocoa code. |
439 | if [[ ${CHOST##*-darwin} -ge 9 ]]; then |
430 | if [[ ${CHOST##*-darwin} -ge 9 ]]; then |
440 | conf+=" -cocoa -framework" |
431 | conf+=" -cocoa -framework" |
441 | # We need the source's headers, not the installed ones. |
432 | # We need the source's headers, not the installed ones. |