[arch-commits] Commit in qt5/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Tue Feb 26 11:16:10 UTC 2013
Date: Tuesday, February 26, 2013 @ 12:16:10
Author: andrea
Revision: 178706
Rename the qt5 group as qt; Ship qt5-doc in this PKGBUILD as it needs the built libs to generate the docs
Modified:
qt5/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-26 11:10:05 UTC (rev 178705)
+++ PKGBUILD 2013-02-26 11:16:10 UTC (rev 178706)
@@ -4,6 +4,7 @@
pkgbase=qt5
pkgname=('qt5-base'
'qt5-declarative'
+ 'qt5-doc'
'qt5-graphicaleffects'
'qt5-imageformats'
'qt5-jsbackend'
@@ -16,16 +17,16 @@
'qt5-webkit'
'qt5-xmlpatterns')
pkgver=5.0.1
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL')
makedepends=('libxcb' 'xcb-proto' 'xcb-util' 'xcb-util-image' 'xcb-util-wm' 'xcb-util-keysyms'
- 'mesa' 'libgl' 'at-spi2-core' 'alsa-lib' 'gstreamer0.10-base-plugins'
+ 'mesa-libgl' 'at-spi2-core' 'alsa-lib' 'gstreamer0.10-base-plugins'
'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils'
'postgresql-libs' 'libmysqlclient' 'sqlite' 'unixodbc' 'libfbclient'
'python2' 'ruby' 'gperf')
-groups=('qt5')
+groups=('qt')
options=('!libtool')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("http://releases.qt-project.org/${pkgbase}/${pkgver}/single/${_pkgfqn}.tar.xz"
@@ -72,6 +73,10 @@
-reduce-relocations
make
+
+ # Build docs
+ make qmake_all
+ make docs
}
package_qt5-base() {
@@ -115,6 +120,19 @@
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
}
+package_qt5-doc() {
+ pkgdesc=('A cross-platform application and UI framework (Documentation)')
+ depends=('qt5-base')
+ conflicts=('qt-doc')
+ replaces=('qt-doc')
+ provides=('qt-doc')
+ options=('docs')
+ groups=()
+
+ cd ${_pkgfqn}
+ make INSTALL_ROOT="${pkgdir}" install_docs
+}
+
package_qt5-jsbackend() {
pkgdesc=('A cross-platform application and UI framework (QtV8)')
depends=('qt5-base')
More information about the arch-commits
mailing list