public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-docs/
Date: Sun, 17 Apr 2022 19:32:49 +0000 (UTC)	[thread overview]
Message-ID: <1650223958.3fa824a70d71ce7375cc757f1042e391a20ed46a.sam@gentoo> (raw)

commit:     3fa824a70d71ce7375cc757f1042e391a20ed46a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 19:32:38 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 19:32:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa824a7

Revert "dev-qt/qt-docs: treeclean"

Whoops.

This reverts commit d58f97e6d0de8a37ca29f42533a754a9e32a50c6.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild | 107 +++++++++++++++++++++
 1 file changed, 107 insertions(+)

diff --git a/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild b/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild
new file mode 100644
index 000000000000..233c6d5932a4
--- /dev/null
+++ b/dev-qt/qt-docs/qt-docs-5.15.2_p202011130614.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker
+
+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"
+	[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 ~riscv x86"
+
+IUSE="charts datavis +html networkauth +qch script timeline virtualkeyboard webengine"
+REQUIRED_USE="|| ( html qch )"
+
+SRC_URI="
+	${BASE_URI}/${PV_FULL}qmake-documentation.7z
+	${BASE_URI}/${PV_FULL}qtcore-documentation.7z
+	${BASE_URI}/${PV_FULL}qtdoc-documentation.7z
+	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 )
+	timeline? ( ${BASE_URI}.qtquicktimeline/${PV_FULL}qtquicktimeline-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
+
+S=${WORKDIR}/Docs/Qt-${PV%_p*}
+
+BDEPEND="
+	app-arch/p7zip
+	media-libs/libpng:0
+"
+
+src_prepare() {
+	default
+
+	# Fix broken png file, bug 679146
+	local png=qtdoc/images/used-in-examples/demos/tweetsearch/content/resources/anonymous.png
+	pngfix -q --out=${png/.png/fixed.png} ${png} # see pngfix help for exit codes
+	[[ $? -gt 15 ]] && die "Failed to fix ${png}"
+	mv -f ${png/.png/fixed.png} ${png} || die
+}
+
+src_install() {
+	# must be the same as QT5_DOCDIR
+	insinto /usr/share/qt5-doc
+	use html && doins -r */
+	use qch && doins *.qch
+}


             reply	other threads:[~2022-04-17 19:32 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-17 19:32 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-26  8:47 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qt-docs/ Ionen Wolkens
2025-02-26  8:47 Ionen Wolkens
2025-01-06 22:51 Ionen Wolkens
2024-12-03 18:16 Ionen Wolkens
2024-11-02 14:10 Arthur Zamarin
2024-09-27 12:10 Ionen Wolkens
2024-07-16  1:29 Ionen Wolkens
2024-07-10  4:21 Ionen Wolkens
2024-07-08 16:40 Arthur Zamarin
2024-07-08 10:09 Sam James
2024-06-18 18:14 Ionen Wolkens
2024-06-08 13:41 Ionen Wolkens
2024-05-06  1:37 Ionen Wolkens
2024-04-19  7:55 Ionen Wolkens
2024-04-16 12:02 Ionen Wolkens
2024-04-02 13:06 Ionen Wolkens
2024-04-02  6:09 Arthur Zamarin
2024-03-22  6:16 Arthur Zamarin
2024-02-28 14:08 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2023-12-19 20:33 Ionen Wolkens
2023-12-17 20:06 Ionen Wolkens
2023-12-17 18:29 Arthur Zamarin
2023-12-03  3:37 Sam James
2023-12-02  9:24 Arthur Zamarin
2023-11-29 16:34 Jakov Smolić
2023-11-29 11:32 Michał Górny
2023-11-29 11:15 Michał Górny
2023-11-29 11:15 Michał Górny
2023-11-29 10:15 Michał Górny
2023-11-29 10:15 Michał Górny
2023-11-29  9:09 Michał Górny
2023-11-29  9:09 Michał Górny
2023-11-29  5:57 Ionen Wolkens
2023-11-15 19:28 Ionen Wolkens
2023-11-15 17:20 Arthur Zamarin
2023-09-26 15:16 Ionen Wolkens
2023-09-09 16:22 Ionen Wolkens
2023-09-06  8:49 Ionen Wolkens
2023-09-06  8:49 Ionen Wolkens
2023-05-20  5:43 Sam James
2023-05-20  0:54 Sam James
2022-04-17 19:32 Sam James
2021-09-08 16:55 Andreas Sturmlechner
2020-11-25 22:41 Andreas Sturmlechner
2020-09-10 17:47 Andreas Sturmlechner
2020-07-02 10:51 Andreas Sturmlechner
2020-06-25  7:19 Jason A. Donenfeld
2020-06-25  7:11 Jason A. Donenfeld
2020-05-26 18:31 Andreas Sturmlechner
2020-04-30 10:14 Andreas Sturmlechner
2020-01-28 22:13 Andreas Sturmlechner
2019-09-12  7:49 Andreas Sturmlechner
2019-08-25 21:57 Andreas Sturmlechner
2019-04-21 11:31 Andreas Sturmlechner
2019-03-17 19:57 Andreas Sturmlechner
2018-12-06 11:49 Andreas Sturmlechner
2018-10-16 16:09 Mikle Kolyada
2018-07-15 14:23 Thomas Deutschmann
2018-07-13 13:41 Mikle Kolyada
2018-07-05  4:51 Davide Pesavento
2018-07-05  4:51 Davide Pesavento
2018-02-06 13:04 Michael Palimaka
2017-12-09 23:15 Davide Pesavento
2017-11-11 19:37 Sergei Trofimovich
2017-07-10 16:22 Alexis Ballier
2017-07-09 11:07 Michael Palimaka
2016-12-17  4:25 Davide Pesavento
2016-12-15  5:28 Davide Pesavento
2016-11-23 20:18 Davide Pesavento
2016-11-23 20:18 Davide Pesavento
2016-11-23 16:08 Michael Palimaka
2016-08-18 22:57 Davide Pesavento
2016-08-18 22:57 Davide Pesavento
2016-08-18 22:57 Davide Pesavento
2016-06-08 23:57 Davide Pesavento
2016-04-23  1:45 Davide Pesavento
2016-04-23  1:45 Davide Pesavento
2016-01-24 23:59 Davide Pesavento
2015-10-20 23:14 Davide Pesavento
2015-10-20 23:14 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=1650223958.3fa824a70d71ce7375cc757f1042e391a20ed46a.sam@gentoo \
    --to=sam@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