/[gentoo-x86]/eclass/qt4-build.eclass
Gentoo

Diff of /eclass/qt4-build.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.144 Revision 1.145
1# Copyright 1999-2013 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.144 2013/03/03 00:22:56 pesa Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.145 2013/04/07 21:14:46 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.
525# @USAGE: < directories > 525# @USAGE: < directories >
526# @INTERNAL 526# @INTERNAL
527# @DESCRIPTION: 527# @DESCRIPTION:
528# Generates Makefiles for the given list of directories. 528# Generates Makefiles for the given list of directories.
529prepare_directories() { 529prepare_directories() {
530 # avoid running over the maximum argument number, bug #299810
531 {
532 echo "${S}"/mkspecs/common/*.conf
533 find "${S}" -name '*.pr[io]'
534 } | xargs sed -i \
535 -e "s:\$\$\[QT_INSTALL_LIBS\]:${QTLIBDIR}:g" \
536 -e "s:\$\$\[QT_INSTALL_PLUGINS\]:${QTPLUGINDIR}:g" \
537 || die
538
539 for x in "$@"; do 530 for x in "$@"; do
540 pushd "${S}"/${x} >/dev/null || die 531 pushd "${S}"/${x} >/dev/null || die
541 einfo "Running qmake in: ${x}" 532 einfo "Running qmake in: ${x}"
542 "${S}"/bin/qmake \ 533 "${S}"/bin/qmake \
543 "LIBS+=-L${QTLIBDIR}" \ 534 "LIBS+=-L${QTLIBDIR}" \

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.145

  ViewVC Help
Powered by ViewVC 1.1.20