diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-09 22:00:29 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-09 23:36:28 +0200 |
| commit | 56acf9bac388533631838ff019e20eb41af0bbe0 (patch) | |
| tree | c07a708b057f14c3743b759772c8fb0d82704201 /dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild | |
| parent | 9f97fded3a21803c278e3dc6478327e43ee7f354 (diff) | |
| download | gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.tar.gz gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.tar.bz2 gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.zip | |
dev-qt: Add Qt 5.14.2
Closes: https://bugs.gentoo.org/669994
Closes: https://bugs.gentoo.org/710866
Closes: https://bugs.gentoo.org/713722
Closes: https://bugs.gentoo.org/716754
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild')
| -rw-r--r-- | dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild b/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild new file mode 100644 index 000000000000..8beec6556c99 --- /dev/null +++ b/dev-qt/qt-docs/qt-docs-5.14.2_p202003291239.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PV_FULL=${PV/_p/-0-} +PV_NODOTS=$(ver_rs 1-3 '' ${PV%_p*}) +BASE_URI="https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt5_${PV_NODOTS}_src_doc_examples/qt.qt5.${PV_NODOTS}.doc" + +declare -A QT5_DOCS=( + [3d]="qt3d" + [assistant]="qtassistant" + [bluetooth]="qtbluetooth" + [concurrent]="qtconcurrent" + [core]="qtcore qmake qtdoc" + [dbus]="qtdbus" + [declarative]="qtqml qtqmltest qtquick qtquickdialogs qtquickextras" + [designer]="qtdesigner qtuitools" + [gamepad]="qtgamepad" + [graphicaleffects]="qtgraphicaleffects" + [gui]="qtgui qtplatformheaders" + [help]="qthelp" + [imageformats]="qtimageformats" + [linguist]="qtlinguist" + [location]="qtlocation" + [multimedia]="qtmultimedia" + [network]="qtnetwork" + [opengl]="qtopengl" + [positioning]="qtpositioning" + [printsupport]="qtprintsupport" + [qdoc]="qdoc" + [quickcontrols2]="qtquickcontrols" + [quickcontrols]="qtquickcontrols1" + [scxml]="qtscxml" + [sensors]="qtsensors" + [serialbus]="qtserialbus" + [serialport]="qtserialport" + [speech]="qtspeech" + [sql]="qtsql" + [svg]="qtsvg" + [test]="qttestlib" + [wayland]="qtwaylandcompositor" + [webchannel]="qtwebchannel" + [websockets]="qtwebsockets" + [webview]="qtwebview" + [widgets]="qtwidgets" + [x11extras]="qtx11extras" + [xml]="qtxml" + [xmlpatterns]="qtxmlpatterns" +) + +DESCRIPTION="Qt5 documentation, for use with Qt Creator and other tools" +HOMEPAGE="https://doc.qt.io/" + +LICENSE="FDL-1.3" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +IUSE="charts datavis +html networkauth +qch script virtualkeyboard webengine" +REQUIRED_USE="|| ( html qch )" + +SRC_URI=" + charts? ( ${BASE_URI}.qtcharts/${PV_FULL}qtcharts-documentation.7z ) + datavis? ( ${BASE_URI}.qtdatavis3d/${PV_FULL}qtdatavisualization-documentation.7z ) + networkauth? ( ${BASE_URI}.qtnetworkauth/${PV_FULL}qtnetworkauth-documentation.7z ) + script? ( ${BASE_URI}.qtscript/${PV_FULL}qtscript-documentation.7z + ${BASE_URI}.qtscript/${PV_FULL}qtscripttools-documentation.7z ) + virtualkeyboard? ( ${BASE_URI}.qtvirtualkeyboard/${PV_FULL}qtvirtualkeyboard-documentation.7z ) + webengine? ( ${BASE_URI}.qtwebengine/${PV_FULL}qtwebengine-documentation.7z ) +" + +for DOCUSE in ${!QT5_DOCS[@]}; do + IUSE+=" +${DOCUSE}" + for DOCTAR in ${QT5_DOCS[${DOCUSE}]}; do + SRC_URI+=" ${DOCUSE}? ( ${BASE_URI}/${PV_FULL}${DOCTAR}-documentation.7z )" + done +done +unset DOCTAR DOCUSE + +BDEPEND="app-arch/p7zip" + +S=${WORKDIR}/Docs/Qt-${PV%_p*} + +src_install() { + # must be the same as QT5_DOCDIR + insinto /usr/share/qt5-doc + use html && doins -r */ + use qch && doins *.qch +} |
