extra/qt5: disable docs

This commit is contained in:
Kevin Mihelich 2013-06-11 19:09:48 +00:00
parent b87b7d9a22
commit f3f6661e21

View file

@ -7,6 +7,7 @@
# - disabled distcc, restricted makeflags to -j3
# - enabled opengl es2, mesa makedepend for headers
# - added Raspberry Pi patches for armv6h
# - disable docs
highmem=1
noautobuild=1
@ -14,6 +15,7 @@ noautobuild=1
pkgbase=qt5
pkgname=('qt5-base'
'qt5-declarative'
# 'qt5-doc'
'qt5-graphicaleffects'
'qt5-imageformats'
'qt5-jsbackend'
@ -120,7 +122,7 @@ build() {
make
# build docs
make docs
#make docs
# build examples
for m in qtbase qtdeclarative qtmultimedia qtquick1 qtscript qtsvg qttools \
@ -184,25 +186,25 @@ package_qt5-declarative() {
done
}
package_qt5-doc() {
pkgdesc='A cross-platform application and UI framework (Documentation and Examples)'
depends=('qt5-base')
conflicts=('qt-doc')
replaces=('qt-doc')
provides=('qt-doc')
options=('docs')
groups=()
cd ${_pkgfqn}
make INSTALL_ROOT="${pkgdir}" install_docs
for m in qtbase qtdeclarative qtmultimedia qtquick1 qtscript qtsvg qttools \
qtwebkit-examples-and-demos qtxmlpatterns; do
cd ${m}/examples
make INSTALL_ROOT="${pkgdir}" install
cd ../../
done
}
#package_qt5-doc() {
# pkgdesc='A cross-platform application and UI framework (Documentation and Examples)'
# depends=('qt5-base')
# conflicts=('qt-doc')
# replaces=('qt-doc')
# provides=('qt-doc')
# options=('docs')
# groups=()
#
# cd ${_pkgfqn}
# make INSTALL_ROOT="${pkgdir}" install_docs
#
# for m in qtbase qtdeclarative qtmultimedia qtquick1 qtscript qtsvg qttools \
# qtwebkit-examples-and-demos qtxmlpatterns; do
# cd ${m}/examples
# make INSTALL_ROOT="${pkgdir}" install
# cd ../../
# done
#}
package_qt5-jsbackend() {
pkgdesc='A cross-platform application and UI framework (QtV8)'
@ -316,7 +318,7 @@ package_qt5-svg() {
package_qt5-tools() {
pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
depends=('qt5-webkit' 'desktop-file-utils' 'qt5-translations')
optdepends=('qt5-doc: documentation')
# optdepends=('qt5-doc: documentation')
install='qt5-tools.install'
conflicts=('qt')