[arch-commits] Commit in qt5/repos (9 files)
Date: Wednesday, August 21, 2013 @ 13:33:31 Author: andrea Revision: 193495 archrelease: copy trunk to staging-x86_64 Added: qt5/repos/staging-x86_64/ qt5/repos/staging-x86_64/PKGBUILD (from rev 193494, qt5/trunk/PKGBUILD) qt5/repos/staging-x86_64/assistant.desktop (from rev 193494, qt5/trunk/assistant.desktop) qt5/repos/staging-x86_64/bison3.patch (from rev 193494, qt5/trunk/bison3.patch) qt5/repos/staging-x86_64/designer.desktop (from rev 193494, qt5/trunk/designer.desktop) qt5/repos/staging-x86_64/linguist.desktop (from rev 193494, qt5/trunk/linguist.desktop) qt5/repos/staging-x86_64/qdbusviewer.desktop (from rev 193494, qt5/trunk/qdbusviewer.desktop) qt5/repos/staging-x86_64/qt5-tools.install (from rev 193494, qt5/trunk/qt5-tools.install) qt5/repos/staging-x86_64/use-python2.patch (from rev 193494, qt5/trunk/use-python2.patch) -+ PKGBUILD| 362 ++ assistant.desktop |8 + bison3.patch| 38 + designer.desktop| 10 + linguist.desktop|9 + qdbusviewer.desktop |9 + qt5-tools.install | 12 + use-python2.patch | 118 8 files changed, 566 insertions(+) Copied: qt5/repos/staging-x86_64/PKGBUILD (from rev 193494, qt5/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-08-21 11:33:31 UTC (rev 193495) @@ -0,0 +1,362 @@ +# $Id$ +# Maintainer: Andrea Scarpino and...@archlinux.org + +pkgbase=qt5 +pkgname=('qt5-base' + 'qt5-declarative' + 'qt5-graphicaleffects' + 'qt5-imageformats' + 'qt5-jsbackend' + 'qt5-multimedia' + 'qt5-quick1' + 'qt5-quickcontrols' + 'qt5-script' + 'qt5-sensors' + 'qt5-serialport' + 'qt5-svg' + 'qt5-tools' + 'qt5-translations' + 'qt5-webkit' + 'qt5-x11extras' + 'qt5-xmlpatterns') +pkgver=5.1.0 +pkgrel=2 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL' 'FDL' 'custom') +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' +'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils' +'postgresql-libs' 'libmariadbclient' 'sqlite' 'unixodbc' 'libfbclient' +'python2' 'ruby' 'gperf' 'libxslt' 'libxcomposite' 'fontconfig' +'libmng' 'openal' 'gtk2' 'libxkbcommon') +groups=('qt' 'qt5') +options=('!libtool') +_pkgfqn=qt-everywhere-opensource-src-${pkgver} +source=(http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz; +'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop' +'use-python2.patch' +'bison3.patch') +md5sums=('44a507beebef73eb364b5a2ec7bbe090' + 'b2897dd6a2967bccf8f10e397aafee55' + '9638a78e502719ef8fe5f8d10d0361a9' + '188da8f4c87316e730ebf1c6217bf5a0' + '322b419b16c75d4de0ee7ad0a246caa1' + '92831f79144d5cb8121915423ba47575' + '6b162cd2bc104f0ae83ca039401be7bf') + +prepare() { + cd ${_pkgfqn} + + sed -i s|-O2|${CXXFLAGS}| qtbase/mkspecs/common/{g++,gcc}-base.conf + sed -i /^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g qtbase/mkspecs/common/gcc-base-unix.conf + sed -i /^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g qtbase/mkspecs/common/gcc-base.conf + + # Use python2 for Python 2.x + patch -p1 -i ${srcdir}/use-python2.patch + sed -i -e s|#![ ]*/usr/bin/python$|#!/usr/bin/python2| \ +-e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') + + # Fix build with bison 3.x + cd qtwebkit + patch -p1 -i ${srcdir}/bison3.patch +} + +build() { + cd ${_pkgfqn} + + export QTDIR=${srcdir}/${_pkgfqn} + export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + + PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ +-prefix /usr \ +-bindir /usr/lib/qt/bin \ +-docdir /usr/share/doc/qt \ +-headerdir /usr/include/qt \ +-archdatadir /usr/lib/qt \ +-datadir /usr/share/qt \ +-sysconfdir /etc/xdg \ +-examplesdir /usr/share/doc/qt/examples \ +-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \ +-system-sqlite \ +-openssl-linked \ +-nomake docs \ +-nomake examples \ +-nomake tests \ +-no-rpath \ +-optimized-qmake \ +-dbus-linked \ +-reduce-relocations + + make +} + +package_qt5-base() { + pkgdesc='A cross-platform application and UI framework' + depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'dbus' 'fontconfig' 'systemd' + 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'libpng' 'xcb-util-image' + 'icu' 'qtchooser' 'libxkbcommon') + optdepends=('postgresql-libs: PostgreSQL
[arch-commits] Commit in qt5/repos (9 files)
Date: Wednesday, August 21, 2013 @ 14:19:54 Author: andrea Revision: 193502 archrelease: copy trunk to staging-i686 Added: qt5/repos/staging-i686/ qt5/repos/staging-i686/PKGBUILD (from rev 193501, qt5/trunk/PKGBUILD) qt5/repos/staging-i686/assistant.desktop (from rev 193501, qt5/trunk/assistant.desktop) qt5/repos/staging-i686/bison3.patch (from rev 193501, qt5/trunk/bison3.patch) qt5/repos/staging-i686/designer.desktop (from rev 193501, qt5/trunk/designer.desktop) qt5/repos/staging-i686/linguist.desktop (from rev 193501, qt5/trunk/linguist.desktop) qt5/repos/staging-i686/qdbusviewer.desktop (from rev 193501, qt5/trunk/qdbusviewer.desktop) qt5/repos/staging-i686/qt5-tools.install (from rev 193501, qt5/trunk/qt5-tools.install) qt5/repos/staging-i686/use-python2.patch (from rev 193501, qt5/trunk/use-python2.patch) -+ PKGBUILD| 362 ++ assistant.desktop |8 + bison3.patch| 38 + designer.desktop| 10 + linguist.desktop|9 + qdbusviewer.desktop |9 + qt5-tools.install | 12 + use-python2.patch | 118 8 files changed, 566 insertions(+) Copied: qt5/repos/staging-i686/PKGBUILD (from rev 193501, qt5/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-08-21 12:19:54 UTC (rev 193502) @@ -0,0 +1,362 @@ +# $Id$ +# Maintainer: Andrea Scarpino and...@archlinux.org + +pkgbase=qt5 +pkgname=('qt5-base' + 'qt5-declarative' + 'qt5-graphicaleffects' + 'qt5-imageformats' + 'qt5-jsbackend' + 'qt5-multimedia' + 'qt5-quick1' + 'qt5-quickcontrols' + 'qt5-script' + 'qt5-sensors' + 'qt5-serialport' + 'qt5-svg' + 'qt5-tools' + 'qt5-translations' + 'qt5-webkit' + 'qt5-x11extras' + 'qt5-xmlpatterns') +pkgver=5.1.0 +pkgrel=2 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL' 'FDL' 'custom') +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' +'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils' +'postgresql-libs' 'libmariadbclient' 'sqlite' 'unixodbc' 'libfbclient' +'python2' 'ruby' 'gperf' 'libxslt' 'libxcomposite' 'fontconfig' +'libmng' 'openal' 'gtk2' 'libxkbcommon') +groups=('qt' 'qt5') +options=('!libtool') +_pkgfqn=qt-everywhere-opensource-src-${pkgver} +source=(http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz; +'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop' +'use-python2.patch' +'bison3.patch') +md5sums=('44a507beebef73eb364b5a2ec7bbe090' + 'b2897dd6a2967bccf8f10e397aafee55' + '9638a78e502719ef8fe5f8d10d0361a9' + '188da8f4c87316e730ebf1c6217bf5a0' + '322b419b16c75d4de0ee7ad0a246caa1' + '92831f79144d5cb8121915423ba47575' + '6b162cd2bc104f0ae83ca039401be7bf') + +prepare() { + cd ${_pkgfqn} + + sed -i s|-O2|${CXXFLAGS}| qtbase/mkspecs/common/{g++,gcc}-base.conf + sed -i /^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g qtbase/mkspecs/common/gcc-base-unix.conf + sed -i /^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g qtbase/mkspecs/common/gcc-base.conf + + # Use python2 for Python 2.x + patch -p1 -i ${srcdir}/use-python2.patch + sed -i -e s|#![ ]*/usr/bin/python$|#!/usr/bin/python2| \ +-e s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2| \ +$(find . -name '*.py') + + # Fix build with bison 3.x + cd qtwebkit + patch -p1 -i ${srcdir}/bison3.patch +} + +build() { + cd ${_pkgfqn} + + export QTDIR=${srcdir}/${_pkgfqn} + export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + + PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \ +-prefix /usr \ +-bindir /usr/lib/qt/bin \ +-docdir /usr/share/doc/qt \ +-headerdir /usr/include/qt \ +-archdatadir /usr/lib/qt \ +-datadir /usr/share/qt \ +-sysconfdir /etc/xdg \ +-examplesdir /usr/share/doc/qt/examples \ +-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \ +-system-sqlite \ +-openssl-linked \ +-nomake docs \ +-nomake examples \ +-nomake tests \ +-no-rpath \ +-optimized-qmake \ +-dbus-linked \ +-reduce-relocations + + make +} + +package_qt5-base() { + pkgdesc='A cross-platform application and UI framework' + depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'dbus' 'fontconfig' 'systemd' + 'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'libpng' 'xcb-util-image' + 'icu' 'qtchooser' 'libxkbcommon') + optdepends=('postgresql-libs: PostgreSQL driver' +