summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-06 12:48:36 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-06 12:49:18 +0100
commit6dd1b35805adbf29e6a95a5bbf548e70ff07960c (patch)
tree9cd1cb542dac757b28bb262265d24bbf8b18fe58 /dev-qt/qt-docs/qt-docs-5.11.3_p201811291914.ebuild
parentx11-misc/touchcal: stable on arm (diff)
downloadgentoo-6dd1b35805adbf29e6a95a5bbf548e70ff07960c.tar.gz
gentoo-6dd1b35805adbf29e6a95a5bbf548e70ff07960c.tar.bz2
gentoo-6dd1b35805adbf29e6a95a5bbf548e70ff07960c.zip
dev-qt/qt-docs: 5.11.3_p201811291914 version bump, EAPI-7 bump
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qt-docs/qt-docs-5.11.3_p201811291914.ebuild')
-rw-r--r--dev-qt/qt-docs/qt-docs-5.11.3_p201811291914.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-qt/qt-docs/qt-docs-5.11.3_p201811291914.ebuild b/dev-qt/qt-docs/qt-docs-5.11.3_p201811291914.ebuild
new file mode 100644
index 000000000000..d252c8f53b43
--- /dev/null
+++ b/dev-qt/qt-docs/qt-docs-5.11.3_p201811291914.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Qt5 documentation, for use with Qt Creator and other tools"
+HOMEPAGE="https://doc.qt.io/"
+
+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"
+SRC_URI="${BASE_URI}/${PV_FULL}qt-everywhere-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 )
+ virtualkeyboard? ( ${BASE_URI}.qtvirtualkeyboard/${PV_FULL}qtvirtualkeyboard-documentation.7z )
+ webengine? ( ${BASE_URI}.qtwebengine/${PV_FULL}qtwebengine-documentation.7z )
+"
+
+LICENSE="FDL-1.3"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+
+IUSE="3d bluetooth charts datavis declarative graphicaleffects +html location
+ multimedia networkauth +qch script sensors virtualkeyboard webengine"
+REQUIRED_USE="|| ( html qch )"
+
+BDEPEND="app-arch/p7zip"
+
+S=${WORKDIR}/Docs/Qt-${PV%_p*}
+
+src_prepare() {
+ default
+
+ # bug 597026
+ rm -r global || die
+
+ # bug 602750
+ rm Makefile || die
+
+ use 3d || rm -r qt3d* || die
+ use bluetooth || rm -r qtbluetooth* || die
+ use declarative || rm -r qtqml* qtquick* || die
+ use graphicaleffects || rm -r qtgraphicaleffects* || die
+ use location || rm -r qtlocation* || die
+ use multimedia || rm -r qtmultimedia* || die
+ use sensors || rm -r qtsensors* || die
+}
+
+src_install() {
+ # must be the same as QT_INSTALL_DOCS
+ local dest=/usr/share/doc/qt-${PV%_p*}
+ insinto "${dest}"
+ use html && doins -r */
+ use qch && doins *.qch
+ docompress -x "${dest}"
+}