summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2015-07-10 18:26:08 +0000
committerDavide Pesavento <pesa@gentoo.org>2015-07-10 18:26:08 +0000
commitb1ccc4904a3a3f5094145db86a9175bcebaa36fa (patch)
tree565730665cd0a5aea410c64d6b2b8743ffedd6f4 /dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild
parentVersion bump. See bug #551680. (diff)
downloadgentoo-2-b1ccc4904a3a3f5094145db86a9175bcebaa36fa.tar.gz
gentoo-2-b1ccc4904a3a3f5094145db86a9175bcebaa36fa.tar.bz2
gentoo-2-b1ccc4904a3a3f5094145db86a9175bcebaa36fa.zip
Version bump wrt bug 554140.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
Diffstat (limited to 'dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild')
-rw-r--r--dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild b/dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild
new file mode 100644
index 000000000000..8f73cd2d2161
--- /dev/null
+++ b/dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-docs/qt-docs-5.5.0_p0.ebuild,v 1.1 2015/07/10 18:26:08 pesa Exp $
+
+EAPI=5
+
+inherit versionator
+
+MY_PV=$(get_version_component_range 1)$(get_version_component_range 2)
+
+DESCRIPTION="Documentation for Qt5, for use with Qt Creator and other tools"
+HOMEPAGE="https://www.qt.io/"
+SRC_URI="http://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt5_${MY_PV}_src_doc_examples/qt.${MY_PV}.doc/${PV/_p/-}qt5_docs.7z"
+
+LICENSE="FDL-1.3"
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/p7zip"
+
+S=${WORKDIR}/Docs/Qt-$(get_version_component_range 1-2)
+
+src_install() {
+ # remove global docs that conflict with qtcore
+ rm -rf global
+
+ # ${PV} instead of ${PF} is intentional
+ local dest=/usr/share/doc/qt-${PV%%_p*}
+ insinto "${dest}"
+ doins -r *
+ docompress -x "${dest}"
+}