public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qdoc/
Date: Sat, 18 May 2019 05:58:08 +0000 (UTC)	[thread overview]
Message-ID: <1558159073.22dc1a6b170ab0dffd62fc45d5c022636ecdb611.kensington@gentoo> (raw)

commit:     22dc1a6b170ab0dffd62fc45d5c022636ecdb611
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 05:57:31 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat May 18 05:57:53 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=22dc1a6b

dev-qt/qdoc: sync with main tree

Closes: https://bugs.gentoo.org/676948
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>

 dev-qt/qdoc/qdoc-5.12.9999.ebuild | 15 +++++++++------
 dev-qt/qdoc/qdoc-5.13.9999.ebuild | 13 ++++++++-----
 dev-qt/qdoc/qdoc-5.9999.ebuild    | 15 +++++++++------
 3 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/dev-qt/qdoc/qdoc-5.12.9999.ebuild b/dev-qt/qdoc/qdoc-5.12.9999.ebuild
index 5e1e6d05..02aa22c3 100644
--- a/dev-qt/qdoc/qdoc-5.12.9999.ebuild
+++ b/dev-qt/qdoc/qdoc-5.12.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,10 +28,13 @@ src_prepare() {
 	qt_use_disable_mod qml qmldevtools-private \
 		src/qdoc/qdoc.pro
 
-	export LLVM_INSTALL_DIR="$(llvm-config --prefix)"
-	# this is normally loaded in qttools.pro, so skipped by using
-	# QT_TARGET_SUBDIRS causing build to fail
-	sed -e '1iload(qt_find_clang)\' -i src/qdoc/qdoc.pro || die
-
 	qt5-build_src_prepare
 }
+
+src_configure() {
+	# src/qdoc requires files that are only generated when qmake is
+	# run in the root directory. bug 676948; same fix as bug 633776
+	mkdir -p "${QT5_BUILD_DIR}"/src/qdoc || die
+	qt5_qmake "${QT5_BUILD_DIR}"
+	qt5-build_src_configure
+}

diff --git a/dev-qt/qdoc/qdoc-5.13.9999.ebuild b/dev-qt/qdoc/qdoc-5.13.9999.ebuild
index a7c87f07..02aa22c3 100644
--- a/dev-qt/qdoc/qdoc-5.13.9999.ebuild
+++ b/dev-qt/qdoc/qdoc-5.13.9999.ebuild
@@ -28,10 +28,13 @@ src_prepare() {
 	qt_use_disable_mod qml qmldevtools-private \
 		src/qdoc/qdoc.pro
 
-	export LLVM_INSTALL_DIR="$(llvm-config --prefix)"
-	# this is normally loaded in qttools.pro, so skipped by using
-	# QT_TARGET_SUBDIRS causing build to fail
-	sed -e '1iload(qt_find_clang)\' -i src/qdoc/qdoc.pro || die
-
 	qt5-build_src_prepare
 }
+
+src_configure() {
+	# src/qdoc requires files that are only generated when qmake is
+	# run in the root directory. bug 676948; same fix as bug 633776
+	mkdir -p "${QT5_BUILD_DIR}"/src/qdoc || die
+	qt5_qmake "${QT5_BUILD_DIR}"
+	qt5-build_src_configure
+}

diff --git a/dev-qt/qdoc/qdoc-5.9999.ebuild b/dev-qt/qdoc/qdoc-5.9999.ebuild
index 5e1e6d05..02aa22c3 100644
--- a/dev-qt/qdoc/qdoc-5.9999.ebuild
+++ b/dev-qt/qdoc/qdoc-5.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,10 +28,13 @@ src_prepare() {
 	qt_use_disable_mod qml qmldevtools-private \
 		src/qdoc/qdoc.pro
 
-	export LLVM_INSTALL_DIR="$(llvm-config --prefix)"
-	# this is normally loaded in qttools.pro, so skipped by using
-	# QT_TARGET_SUBDIRS causing build to fail
-	sed -e '1iload(qt_find_clang)\' -i src/qdoc/qdoc.pro || die
-
 	qt5-build_src_prepare
 }
+
+src_configure() {
+	# src/qdoc requires files that are only generated when qmake is
+	# run in the root directory. bug 676948; same fix as bug 633776
+	mkdir -p "${QT5_BUILD_DIR}"/src/qdoc || die
+	qt5_qmake "${QT5_BUILD_DIR}"
+	qt5-build_src_configure
+}


             reply	other threads:[~2019-05-18  5:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-18  5:58 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-11 20:43 [gentoo-commits] proj/qt:master commit in: dev-qt/qdoc/ Andreas Sturmlechner
2023-07-08 21:26 Andreas Sturmlechner
2023-06-22 15:53 Andreas Sturmlechner
2021-09-05 20:15 Andreas Sturmlechner
2021-08-23  1:14 Andreas Sturmlechner
2020-04-09 19:45 Andreas Sturmlechner
2019-02-05 20:38 Andreas Sturmlechner
2018-12-06 23:04 Andreas Sturmlechner
2018-11-13 17:52 Andreas Sturmlechner
2018-02-22 22:19 Andreas Sturmlechner
2018-01-06  2:42 Michael Palimaka
2017-02-26  0:52 Michael Palimaka
2017-02-26  0:40 Michael Palimaka
2016-01-06 14:58 Michael Palimaka
2014-07-09  0:47 Davide Pesavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1558159073.22dc1a6b170ab0dffd62fc45d5c022636ecdb611.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox