From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 089391387D3 for ; Sun, 26 Oct 2014 01:22:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69E97E0D3A; Sun, 26 Oct 2014 01:22:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D165CE0D3A for ; Sun, 26 Oct 2014 01:22:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C8B583404D1 for ; Sun, 26 Oct 2014 01:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75C3F8BF2 for ; Sun, 26 Oct 2014 01:22:55 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1414286443.0e35f3672b4db75ab27e2c99051637898c1962d3.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: eclass/ X-VCS-Repository: proj/qt X-VCS-Files: eclass/qt5-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 0e35f3672b4db75ab27e2c99051637898c1962d3 X-VCS-Branch: master Date: Sun, 26 Oct 2014 01:22:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: aa8eaf80-942a-4b06-8dee-6900c925eb48 X-Archives-Hash: cfcaada3200a4ae2484930bb3de3796a commit: 0e35f3672b4db75ab27e2c99051637898c1962d3 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 20 20:12:08 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sun Oct 26 01:20:43 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=0e35f367 [qt5-build.eclass] Install configs for qtchooser. --- eclass/qt5-build.eclass | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 4da3887..bb8fc4d 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -279,6 +279,21 @@ qt5-build_src_install() { sed -i -e '1a#include \n' \ "${D}${QT5_HEADERDIR}"/QtCore/qconfig.h \ || die "sed failed (qconfig.h)" + + # install qtchooser configuration file + cat > "${T}/qt5-${CHOST}.conf" <<-_EOF_ + ${QT5_BINDIR} + ${QT5_LIBDIR} + _EOF_ + + ( + insinto /etc/xdg/qtchooser + doins "${T}/qt5-${CHOST}.conf" + ) + + # convenience symlinks + dosym qt5-"${CHOST}".conf /etc/xdg/qtchooser/5.conf + dosym qt5-"${CHOST}".conf /etc/xdg/qtchooser/qt5.conf fi qt5_install_module_qconfigs