diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-qt/qthelp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-qt/qthelp')
-rw-r--r-- | dev-qt/qthelp/Manifest | 6 | ||||
-rw-r--r-- | dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch | 21 | ||||
-rw-r--r-- | dev-qt/qthelp/files/qthelp-4.8.6-compat-install.patch | 35 | ||||
-rw-r--r-- | dev-qt/qthelp/files/qthelp-4.8.6-compat-syncqt.patch | 25 | ||||
-rw-r--r-- | dev-qt/qthelp/metadata.xml | 15 | ||||
-rw-r--r-- | dev-qt/qthelp/qthelp-4.8.5-r2.ebuild | 127 | ||||
-rw-r--r-- | dev-qt/qthelp/qthelp-4.8.6-r3.ebuild | 115 | ||||
-rw-r--r-- | dev-qt/qthelp/qthelp-4.8.7.ebuild | 112 | ||||
-rw-r--r-- | dev-qt/qthelp/qthelp-5.4.2.ebuild | 32 |
9 files changed, 488 insertions, 0 deletions
diff --git a/dev-qt/qthelp/Manifest b/dev-qt/qthelp/Manifest new file mode 100644 index 000000000000..7fd640873742 --- /dev/null +++ b/dev-qt/qthelp/Manifest @@ -0,0 +1,6 @@ +DIST qt-assistant-compat-headers-4.7.tar.gz 448 SHA256 73ae604834cc89d6c67bafc65bb5d3cadaec23076d02711fc0c30a85df3d8580 SHA512 da14cb9904591f4389862cf1e1c96f923e72b7b904d57787d68feae2c90d52bf713e930442aa3abd4b457c3cc66c88b94e23df5fc25e33e01f1ed4d3093460bb WHIRLPOOL 26c42c101aab36a8d0355f1243226f6b8bd5a477c5aafece7e036f18a9fcfe98ae016042befe494fca0c42b825e29539825466c1ddb720102fa6c65e9cbaec61 +DIST qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz 329896 SHA256 e698be8fc0d32c5f0b5b46cafcb8f615accaed524b864e58b99b64b7b5549c2d SHA512 a4050d93e448d29004d71d5ea670e60242f1272399f65db084dd928150f26404d37544d011d75bbb1c62f227752f92b86a4f4382dc54f0681a3df6da738af106 WHIRLPOOL 9c2822ae2f1ee7c4f63236cc95eb0cb025f088e1f13e0a154fabdad5af6209b0e4cdda86d23061bf35fe5919a1909ed162bbc4835da79fdf1b187461aa948a1b +DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357 +DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84 +DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2 +DIST qttools-opensource-src-5.4.2.tar.xz 9333100 SHA256 edf3d7e00227f9989101da84b2fdf8eaf1a5b7863dc5e0d26bb0f39303e8b6b4 SHA512 55aa04eae16b71e78d4432e7d59b2052392d13652a3e9beff15a6503f2e88e77a9b48279121d8eee943a898799155c05b167d986bf01fae84b5db0a9a1759148 WHIRLPOOL 9123ff33a35c03adaa6d3374e86b539e9481ec78467bd72ad6f2d832e76e7aafd9b2f2da0420111e1aa8a66c4950b0478d8a6ae4c0f0e05a20c8334196b077e8 diff --git a/dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch b/dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch new file mode 100644 index 000000000000..cc7621969991 --- /dev/null +++ b/dev-qt/qthelp/files/qthelp-4.8.5-fix-compat.patch @@ -0,0 +1,21 @@ +--- tools/assistant/compat/compat.pro 2010-10-08 16:54:09.804000000 +0300 ++++ tools/assistant/compat/compat.pro 2010-10-08 16:54:37.884000000 +0300 +@@ -14,6 +14,8 @@ + + PROJECTNAME = Assistant + ++DESTDIR = ../../../bin ++ + FORMS += helpdialog.ui \ + mainwindow.ui \ + tabbedbrowser.ui \ +@@ -59,6 +61,9 @@ + TARGET = Assistant_adp + } + ++target.path=$$[QT_INSTALL_BINS] ++INSTALLS += target ++ + TRANSLATIONS = translations/assistant_adp_de.ts \ + translations/assistant_adp_ja.ts \ + translations/assistant_adp_pl.ts \ diff --git a/dev-qt/qthelp/files/qthelp-4.8.6-compat-install.patch b/dev-qt/qthelp/files/qthelp-4.8.6-compat-install.patch new file mode 100644 index 000000000000..e157381c8f05 --- /dev/null +++ b/dev-qt/qthelp/files/qthelp-4.8.6-compat-install.patch @@ -0,0 +1,35 @@ +From 89f99089abe0c1369a78a3bb8e2a576c513ec809 Mon Sep 17 00:00:00 2001 +From: Davide Pesavento <pesa@gentoo.org> +Date: Wed, 6 May 2015 23:21:54 +0200 +Subject: [PATCH] Install assistant_adp binary. + +--- + tools/assistant/compat/compat.pro | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/tools/assistant/compat/compat.pro b/tools/assistant/compat/compat.pro +index 171106a..a14e3f8 100755 +--- a/tools/assistant/compat/compat.pro ++++ b/tools/assistant/compat/compat.pro +@@ -14,6 +14,8 @@ QT += xml network + + PROJECTNAME = Assistant + ++DESTDIR = ../../../bin ++ + FORMS += helpdialog.ui \ + mainwindow.ui \ + tabbedbrowser.ui \ +@@ -59,6 +61,9 @@ mac { + TARGET = Assistant_adp + } + ++target.path = $$[QT_INSTALL_BINS] ++INSTALLS += target ++ + TRANSLATIONS = translations/assistant_adp_de.ts \ + translations/assistant_adp_ja.ts \ + translations/assistant_adp_pl.ts \ +-- +2.4.0 + diff --git a/dev-qt/qthelp/files/qthelp-4.8.6-compat-syncqt.patch b/dev-qt/qthelp/files/qthelp-4.8.6-compat-syncqt.patch new file mode 100644 index 000000000000..4ba6b6ff7417 --- /dev/null +++ b/dev-qt/qthelp/files/qthelp-4.8.6-compat-syncqt.patch @@ -0,0 +1,25 @@ +From 37725ccec4d26148dde377d78c71046e8b6a6de9 Mon Sep 17 00:00:00 2001 +From: Davide Pesavento <pesa@gentoo.org> +Date: Wed, 6 May 2015 22:44:57 +0200 +Subject: [PATCH] Teach syncqt how to handle the QtAssistant compat headers. + +See https://bugs.gentoo.org/show_bug.cgi?id=529398#c47 +--- + bin/syncqt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/bin/syncqt b/bin/syncqt +index dd94d4d..cc5a7bf 100755 +--- a/bin/syncqt ++++ b/bin/syncqt +@@ -81,6 +81,7 @@ my %modules = ( # path to module name map + "ActiveQt" => "$basedir/src/activeqt", + "QtTest" => "$basedir/src/testlib", + "QtHelp" => "$basedir/tools/assistant/lib", ++ "QtAssistant" => "$basedir/tools/assistant/compat/lib", + "QtDesigner" => "$basedir/tools/designer/src/lib", + "QtUiTools" => "$basedir/tools/designer/src/uitools", + "QtDBus" => "$basedir/src/dbus", +-- +2.4.0 + diff --git a/dev-qt/qthelp/metadata.xml b/dev-qt/qthelp/metadata.xml new file mode 100644 index 000000000000..3c78bba70f89 --- /dev/null +++ b/dev-qt/qthelp/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>qt</herd> + <use> + <flag name="compat">Build the extra compatibility layer required by a few packages, see + http://blog.qt.digia.com/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/</flag> + <flag name="exceptions">Add support for exceptions - like catching them + inside the event loop (recommended by upstream)</flag> + </use> + <upstream> + <bugs-to>https://bugreports.qt.io/</bugs-to> + <doc>http://doc.qt.io/</doc> + </upstream> +</pkgmetadata> diff --git a/dev-qt/qthelp/qthelp-4.8.5-r2.ebuild b/dev-qt/qthelp/qthelp-4.8.5-r2.ebuild new file mode 100644 index 000000000000..630ade335152 --- /dev/null +++ b/dev-qt/qthelp/qthelp-4.8.5-r2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils qt4-build + +DESCRIPTION="The Help module for the Qt toolkit" +SRC_URI+=" + compat? ( + http://download.qt.io/archive/qt/4.6/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz + http://dev.gentoo.org/~pesa/distfiles/qt-assistant-compat-headers-4.7.tar.gz + )" + +SLOT="4" +if [[ ${QT4_BUILD_TYPE} == live ]]; then + KEYWORDS="" +else + KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi + +IUSE="compat doc" + +DEPEND=" + ~dev-qt/qtcore-${PV}[aqua=,debug=] + ~dev-qt/qtgui-${PV}[aqua=,debug=] + ~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite] + compat? ( + ~dev-qt/qtdbus-${PV}[aqua=,debug=] + sys-libs/zlib + ) +" +RDEPEND="${DEPEND}" + +pkg_setup() { + QT4_TARGET_DIRECTORIES=" + tools/assistant/lib/fulltextsearch + tools/assistant/lib + tools/assistant/tools/qhelpgenerator + tools/assistant/tools/qcollectiongenerator + tools/assistant/tools/qhelpconverter + tools/qdoc3" + QT4_EXTRACT_DIRECTORIES=" + demos + doc + examples + include + src + tools" + + use compat && QT4_TARGET_DIRECTORIES+=" + tools/assistant/compat + tools/assistant/compat/lib" + + qt4-build_pkg_setup +} + +src_unpack() { + qt4-build_src_unpack + + # compat version + # http://blog.qt.digia.com/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ + if use compat; then + unpack qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz \ + qt-assistant-compat-headers-4.7.tar.gz + mv "${WORKDIR}"/qt-assistant-qassistantclient-library-compat-version-4.6.3 \ + "${S}"/tools/assistant/compat || die + mv "${WORKDIR}"/QtAssistant "${S}"/include/ || die + fi +} + +src_prepare() { + qt4-build_src_prepare + + use compat && epatch "${FILESDIR}"/${PN}-4.8.5-fix-compat.patch + + # bug 348034 + sed -i -e '/^sub-qdoc3\.depends/d' doc/doc.pri || die +} + +src_configure() { + myconf+=" + -system-libpng -system-libjpeg -system-zlib + -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc + -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb + -no-multimedia -no-opengl -no-phonon -no-qt3support -no-svg -no-webkit -no-xmlpatterns + -no-nas-sound -no-cups -no-nis -fontconfig" + + qt4-build_src_configure +} + +src_compile() { + # help libQtHelp find freshly built libQtCLucene (bug #289811) + export LD_LIBRARY_PATH="${S}/lib:${QTLIBDIR}" + export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework" + + qt4-build_src_compile + + # ugly hack to build docs + "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die + + if use doc; then + emake docs + elif [[ ${QT4_BUILD_TYPE} == release ]]; then + # live ebuild cannot build qch_docs, it will build them through emake docs + emake qch_docs + fi +} + +src_install() { + qt4-build_src_install + + emake INSTALL_ROOT="${D}" install_qchdocs + + # do not compress .qch files + docompress -x "${QTDOCDIR}"/qch + + if use doc; then + emake INSTALL_ROOT="${D}" install_htmldocs + fi + + if use compat; then + insinto "${QTDATADIR#${EPREFIX}}"/mkspecs/features + doins tools/assistant/compat/features/assistant.prf + fi +} diff --git a/dev-qt/qthelp/qthelp-4.8.6-r3.ebuild b/dev-qt/qthelp/qthelp-4.8.6-r3.ebuild new file mode 100644 index 000000000000..c74d57733ebe --- /dev/null +++ b/dev-qt/qthelp/qthelp-4.8.6-r3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qt4-build-multilib + +DESCRIPTION="The Help module for the Qt toolkit" +SRC_URI+=" + compat? ( + http://download.qt.io/archive/qt/4.6/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz + http://dev.gentoo.org/~pesa/distfiles/qt-assistant-compat-headers-4.7.tar.gz + )" + +if [[ ${QT4_BUILD_TYPE} == live ]]; then + KEYWORDS="alpha arm ia64 ppc ppc64" +else + KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi + +IUSE="compat doc" + +DEPEND=" + ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtgui-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite,${MULTILIB_USEDEP}] + compat? ( + ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + ) +" +RDEPEND="${DEPEND}" + +QT4_TARGET_DIRECTORIES=" + tools/assistant/lib/fulltextsearch + tools/assistant/lib + tools/assistant/tools/qhelpgenerator + tools/assistant/tools/qcollectiongenerator + tools/assistant/tools/qhelpconverter + tools/qdoc3" + +pkg_setup() { + use compat && QT4_TARGET_DIRECTORIES+=" + tools/assistant/compat + tools/assistant/compat/lib" +} + +src_unpack() { + qt4-build-multilib_src_unpack + + # compat version + # http://blog.qt.io/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ + if use compat; then + mv "${WORKDIR}"/qt-assistant-qassistantclient-library-compat-version-4.6.3 "${S}"/tools/assistant/compat || die + mv "${WORKDIR}"/QtAssistant "${S}"/include || die + find "${S}"/tools/assistant/compat -type f -execdir chmod a-x '{}' + || die + fi +} + +src_prepare() { + use compat && PATCHES+=( + "${FILESDIR}/${PN}-4.8.6-compat-install.patch" + "${FILESDIR}/${PN}-4.8.6-compat-syncqt.patch" + ) + + qt4-build-multilib_src_prepare + + # prevent rebuild of QtCore and QtXml (bug 348034) + sed -i -e '/^sub-qdoc3\.depends/d' doc/doc.pri || die +} + +multilib_src_configure() { + local myconf=( + -system-libpng -system-libjpeg -system-zlib + -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc + -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb + -no-multimedia -no-opengl -no-phonon -no-qt3support -no-svg -no-webkit -no-xmlpatterns + -no-nas-sound -no-cups -no-nis -fontconfig + ) + qt4_multilib_src_configure +} + +multilib_src_compile() { + qt4_multilib_src_compile + + # release tarballs are shipped with prebuilt docs + if [[ ${QT4_BUILD_TYPE} == live ]] && multilib_is_native_abi; then + # qhelpgenerator needs libQtHelp.so.4 + export LD_LIBRARY_PATH=${BUILD_DIR}/lib + export DYLD_LIBRARY_PATH=${BUILD_DIR}/lib:${BUILD_DIR}/lib/QtHelp.framework + emake docs + fi +} + +multilib_src_install() { + qt4_multilib_src_install + + if multilib_is_native_abi; then + emake INSTALL_ROOT="${D}" install_qchdocs + use doc && emake INSTALL_ROOT="${D}" install_htmldocs + + # do not compress .qch files + docompress -x "${QT4_DOCDIR#${EPREFIX}}"/qch + fi +} + +multilib_src_install_all() { + qt4_multilib_src_install_all + + if use compat; then + insinto "${QT4_DATADIR#${EPREFIX}}"/mkspecs/features + doins tools/assistant/compat/features/assistant.prf + fi +} diff --git a/dev-qt/qthelp/qthelp-4.8.7.ebuild b/dev-qt/qthelp/qthelp-4.8.7.ebuild new file mode 100644 index 000000000000..2be3f5537adc --- /dev/null +++ b/dev-qt/qthelp/qthelp-4.8.7.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit qt4-build-multilib + +DESCRIPTION="The Help module for the Qt toolkit" +SRC_URI+=" + compat? ( + http://download.qt.io/archive/qt/4.6/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz + http://dev.gentoo.org/~pesa/distfiles/qt-assistant-compat-headers-4.7.tar.gz + )" + +if [[ ${QT4_BUILD_TYPE} == release ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +fi + +IUSE="compat doc" + +DEPEND=" + ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtgui-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite,${MULTILIB_USEDEP}] + compat? ( + ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + ) +" +RDEPEND="${DEPEND}" + +QT4_TARGET_DIRECTORIES=" + tools/assistant/lib/fulltextsearch + tools/assistant/lib + tools/assistant/tools/qhelpgenerator + tools/assistant/tools/qcollectiongenerator + tools/assistant/tools/qhelpconverter + tools/qdoc3" + +pkg_setup() { + use compat && QT4_TARGET_DIRECTORIES+=" + tools/assistant/compat + tools/assistant/compat/lib" +} + +src_unpack() { + qt4-build-multilib_src_unpack + + # compat version + # http://blog.qt.io/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ + if use compat; then + mv "${WORKDIR}"/qt-assistant-qassistantclient-library-compat-version-4.6.3 "${S}"/tools/assistant/compat || die + mv "${WORKDIR}"/QtAssistant "${S}"/include || die + find "${S}"/tools/assistant/compat -type f -execdir chmod a-x '{}' + || die + fi +} + +src_prepare() { + use compat && PATCHES+=( + "${FILESDIR}/${PN}-4.8.6-compat-install.patch" + "${FILESDIR}/${PN}-4.8.6-compat-syncqt.patch" + ) + + qt4-build-multilib_src_prepare + + # prevent rebuild of QtCore and QtXml (bug 348034) + sed -i -e '/^sub-qdoc3\.depends/d' doc/doc.pri || die +} + +multilib_src_configure() { + local myconf=( + -system-libpng -system-libjpeg -system-zlib + -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc + -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb + -no-multimedia -no-opengl -no-phonon -no-qt3support -no-svg -no-webkit -no-xmlpatterns + -no-nas-sound -no-cups -no-nis -fontconfig + ) + qt4_multilib_src_configure +} + +multilib_src_compile() { + qt4_multilib_src_compile + + # release tarballs are shipped with prebuilt docs + if [[ ${QT4_BUILD_TYPE} == live ]] && multilib_is_native_abi; then + # qhelpgenerator needs libQtHelp.so.4 + export LD_LIBRARY_PATH=${BUILD_DIR}/lib + export DYLD_LIBRARY_PATH=${BUILD_DIR}/lib:${BUILD_DIR}/lib/QtHelp.framework + emake docs + fi +} + +multilib_src_install() { + qt4_multilib_src_install + + if multilib_is_native_abi; then + emake INSTALL_ROOT="${D}" install_qchdocs + use doc && emake INSTALL_ROOT="${D}" install_htmldocs + + # do not compress .qch files + docompress -x "${QT4_DOCDIR#${EPREFIX}}"/qch + fi +} + +multilib_src_install_all() { + qt4_multilib_src_install_all + + if use compat; then + insinto "${QT4_DATADIR#${EPREFIX}}"/mkspecs/features + doins tools/assistant/compat/features/assistant.prf + fi +} diff --git a/dev-qt/qthelp/qthelp-5.4.2.ebuild b/dev-qt/qthelp/qthelp-5.4.2.ebuild new file mode 100644 index 000000000000..03559acb3c0a --- /dev/null +++ b/dev-qt/qthelp/qthelp-5.4.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +QT5_MODULE="qttools" +inherit qt5-build + +DESCRIPTION="The Help module for the Qt5 framework" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86" +fi + +IUSE="" + +DEPEND=" + >=dev-qt/qtcore-${PV}:5 + >=dev-qt/qtgui-${PV}:5 + >=dev-qt/qtnetwork-${PV}:5 + >=dev-qt/qtsql-${PV}:5[sqlite] + >=dev-qt/qtwidgets-${PV}:5 +" +RDEPEND="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/assistant/clucene + src/assistant/help + src/assistant/qcollectiongenerator + src/assistant/qhelpconverter + src/assistant/qhelpgenerator +) |