diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-28 20:07:49 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-01 10:24:37 +0100 |
commit | 1b4c9f2dbdb4fb32ab0250f0f5904a6985881059 (patch) | |
tree | bf72c58aa1c524fd65380ffa26b406148449b0ec /dev-qt/qdoc | |
parent | qt5-build.eclass: Relocate QT5_DOCDIR to /usr/share/qt5-doc (diff) | |
download | gentoo-1b4c9f2dbdb4fb32ab0250f0f5904a6985881059.tar.gz gentoo-1b4c9f2dbdb4fb32ab0250f0f5904a6985881059.tar.bz2 gentoo-1b4c9f2dbdb4fb32ab0250f0f5904a6985881059.zip |
dev-qt: Add Qt 5.12.1
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/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qdoc/qdoc-5.12.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-qt/qdoc/Manifest b/dev-qt/qdoc/Manifest index bba81754bde2..1baeb3bef8de 100644 --- a/dev-qt/qdoc/Manifest +++ b/dev-qt/qdoc/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-qt/qdoc/qdoc-5.12.1.ebuild b/dev-qt/qdoc/qdoc-5.12.1.ebuild new file mode 100644 index 000000000000..02aa22c368e9 --- /dev/null +++ b/dev-qt/qdoc/qdoc-5.12.1.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 +} |