summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-16 23:26:42 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-17 13:58:31 +0100
commit6a45511ce59cce6ec47f0b608345b21ffa29bbca (patch)
tree3c17024a40d8f246cb0776d00db4b950817f48b1 /dev-qt/qdoc
parentkde-frameworks/plasma: Drop 5.56.1 (diff)
downloadgentoo-6a45511ce59cce6ec47f0b608345b21ffa29bbca.tar.gz
gentoo-6a45511ce59cce6ec47f0b608345b21ffa29bbca.tar.bz2
gentoo-6a45511ce59cce6ec47f0b608345b21ffa29bbca.zip
dev-qt: Add Qt 5.12.2
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qdoc')
-rw-r--r--dev-qt/qdoc/Manifest1
-rw-r--r--dev-qt/qdoc/qdoc-5.12.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-qt/qdoc/Manifest b/dev-qt/qdoc/Manifest
index 1baeb3bef8de..7fcf46e9151c 100644
--- a/dev-qt/qdoc/Manifest
+++ b/dev-qt/qdoc/Manifest
@@ -1,2 +1,3 @@
DIST qttools-everywhere-src-5.11.3.tar.xz 9705920 BLAKE2B 1c44d914463cd2bb2e61652debbd4661822442e0fc02569d98c17e3898d6acdd7546fb978af4a3dfe4fd00d66cbd4424b794ee7e7a26460465503b03b5f9957a SHA512 f9604ef4c33892a429c4f7252892271888b64e087ce8e943308680628b8c3a033aa2ea6659e6210ac90e3404120f458c77f650f20fed13f4723ed3c03a598eaf
DIST qttools-everywhere-src-5.12.1.tar.xz 9818060 BLAKE2B 1a1cf98d19e41b5fa2ec765ce9b931e9d678dc6e504f65f5b2b96ba5420d36c3955098abc4b66a886f37243e13fa388ff4e2761fc39295d864818cca50cb0380 SHA512 e3ae1974f0b20bad1b86d038c3585753183b8c24c133393e3ecf65a0487402ad8dcf8147bf263e9a4c2d3abef1b706981943fcf5268726e424f1b61f69ce4f2e
+DIST qttools-everywhere-src-5.12.2.tar.xz 9808600 BLAKE2B 3c9a2b546d438c9de84f64f04531ea668759bcd85798342c23b936b531bae5dff3b232bfdb4eb938489bd5f113602780e3f4ac0f344982a4984db0f95b5a24c3 SHA512 bfc415d2764ecee50b5eb1b5641ac709ebeaf3cfbbc73bc431acab307b9fd3f056f093e6b4010e2f7802f5714b56564c39ebe9fc280ce514c175fb44e0a35b8c
diff --git a/dev-qt/qdoc/qdoc-5.12.2.ebuild b/dev-qt/qdoc/qdoc-5.12.2.ebuild
new file mode 100644
index 000000000000..02aa22c368e9
--- /dev/null
+++ b/dev-qt/qdoc/qdoc-5.12.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+QT5_MODULE="qttools"
+inherit qt5-build
+
+DESCRIPTION="Qt documentation generator"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+IUSE="qml"
+
+DEPEND="
+ ~dev-qt/qtcore-${PV}
+ sys-devel/clang:=
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
+"
+RDEPEND="${DEPEND}"
+
+QT5_TARGET_SUBDIRS=(
+ src/qdoc
+)
+
+src_prepare() {
+ qt_use_disable_mod qml qmldevtools-private \
+ src/qdoc/qdoc.pro
+
+ 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
+}