summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qt-docs')
-rw-r--r--dev-qt/qt-docs/Manifest1
-rw-r--r--dev-qt/qt-docs/qt-docs-5.9.2_p201710050733.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-qt/qt-docs/Manifest b/dev-qt/qt-docs/Manifest
index 75403d764673..260beac7c33a 100644
--- a/dev-qt/qt-docs/Manifest
+++ b/dev-qt/qt-docs/Manifest
@@ -1,2 +1,3 @@
DIST 5.6.2-0qt-everywhere-documentation-5.6.2.7z 125390155 SHA256 3421b5a2fba1f6e134137e4c9f747303bc2218c46b314dae858499aab850931c SHA512 40026c69e6b2de8f84fc974bc307519016982cafe4006ef3663839c9bcf74f7c28679cf8f4ca5a82bfafc3cb455433fe3360c11a60192d8c6b75a8b1b56e7141 WHIRLPOOL edd591be964208467700c91a02eb345f73f4104820b3f605b8e2d4c2704faccc681320bcfef5bfa70cc084b10cf2ada09d5771b0ac578193fd7eaafe0ee86477
DIST 5.7.1-0qt-everywhere-documentation-5.7.1.7z 173336041 SHA256 44eb231b5f961a9f11d05648431121bbdaa32ac65e6b563543d147c3b88eec41 SHA512 4fcbfcd29aa48937229d01d47569a5fcd81459b9444058c725bdbac14dd2b9c67c9e04944c74d351f4bca7d972e23c3832ba2dd8e979cc4e9fe677e2d51561e0 WHIRLPOOL 8a6e1857866e43f7f40ed4382e0d5b4f27520404a77f3a014834045117f207bb40a0a81aaa00afa39a4684584499f6957bf739a1f25d06c04019ef21dac1adfd
+DIST 5.9.2-0-201710050733qt-everywhere-documentation.7z 200249125 SHA256 eb6c5ad1cc12c6a921acb458725ae06f0b078857ec72b10c498833ea59f2fac0 SHA512 3cc73bec1a1310923206cbecfe95fe80d28195ae38251d04f07881dbd42ff1223f1353ac34787065ac3e09c4aceca76d2be407558204b8920fba65c04ee0594e WHIRLPOOL 4e1f4c7d0cee30e339aca5795e15af33762850b06bfa7a4da0259bac0425bf631bf622fba6557a77741db160b268f89a18c998020b4c9b4a720e879f5cc9ab7b
diff --git a/dev-qt/qt-docs/qt-docs-5.9.2_p201710050733.ebuild b/dev-qt/qt-docs/qt-docs-5.9.2_p201710050733.ebuild
new file mode 100644
index 000000000000..cdaa734e952b
--- /dev/null
+++ b/dev-qt/qt-docs/qt-docs-5.9.2_p201710050733.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+MY_PV=$(get_version_component_range 1)$(get_version_component_range 2)$(get_version_component_range 3)
+MY_REV=0$(get_version_component_range 4)
+MY_P=$(get_version_component_range 1-3)-${MY_REV/p/-}qt-everywhere-documentation
+
+DESCRIPTION="Documentation for Qt5, for use with Qt Creator and other tools"
+HOMEPAGE="https://www.qt.io/"
+SRC_URI="https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt5_${MY_PV}_src_doc_examples/qt.${MY_PV}.doc/${MY_P}.7z"
+
+LICENSE="FDL-1.3"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND="app-arch/p7zip"
+
+S=${WORKDIR}/Docs/Qt-$(get_version_component_range 1-3)
+
+src_prepare() {
+ default
+
+ # bug 597026
+ rm -r global || die
+
+ # bug 602750
+ rm Makefile || die
+}
+
+src_install() {
+ # ${PV} instead of ${PF} is intentional
+ local dest=/usr/share/doc/qt-${PV%%_p*}
+ insinto "${dest}"
+ doins -r *
+ docompress -x "${dest}"
+}