[arch-commits] Commit in qt/repos (16 files)
Date: Monday, February 18, 2013 @ 21:52:29 Author: andrea Revision: 178240 archrelease: copy kde-unstable to staging-i686, staging-x86_64 Added: qt/repos/staging-i686/ qt/repos/staging-i686/PKGBUILD (from rev 178239, qt/kde-unstable/PKGBUILD) qt/repos/staging-i686/assistant.desktop (from rev 178239, qt/kde-unstable/assistant.desktop) qt/repos/staging-i686/designer.desktop (from rev 178239, qt/kde-unstable/designer.desktop) qt/repos/staging-i686/linguist.desktop (from rev 178239, qt/kde-unstable/linguist.desktop) qt/repos/staging-i686/qtbase.install (from rev 178239, qt/kde-unstable/qtbase.install) qt/repos/staging-i686/qttools.install (from rev 178239, qt/kde-unstable/qttools.install) qt/repos/staging-i686/use-python2.patch (from rev 178239, qt/kde-unstable/use-python2.patch) qt/repos/staging-x86_64/ qt/repos/staging-x86_64/PKGBUILD (from rev 178239, qt/kde-unstable/PKGBUILD) qt/repos/staging-x86_64/assistant.desktop (from rev 178239, qt/kde-unstable/assistant.desktop) qt/repos/staging-x86_64/designer.desktop (from rev 178239, qt/kde-unstable/designer.desktop) qt/repos/staging-x86_64/linguist.desktop (from rev 178239, qt/kde-unstable/linguist.desktop) qt/repos/staging-x86_64/qtbase.install (from rev 178239, qt/kde-unstable/qtbase.install) qt/repos/staging-x86_64/qttools.install (from rev 178239, qt/kde-unstable/qttools.install) qt/repos/staging-x86_64/use-python2.patch (from rev 178239, qt/kde-unstable/use-python2.patch) --+ staging-i686/PKGBUILD| 195 + staging-i686/assistant.desktop |8 + staging-i686/designer.desktop| 10 + staging-i686/linguist.desktop|9 + staging-i686/qtbase.install | 11 ++ staging-i686/qttools.install | 12 ++ staging-i686/use-python2.patch | 96 ++ staging-x86_64/PKGBUILD | 195 + staging-x86_64/assistant.desktop |8 + staging-x86_64/designer.desktop | 10 + staging-x86_64/linguist.desktop |9 + staging-x86_64/qtbase.install| 11 ++ staging-x86_64/qttools.install | 12 ++ staging-x86_64/use-python2.patch | 96 ++ 14 files changed, 682 insertions(+) Copied: qt/repos/staging-i686/PKGBUILD (from rev 178239, qt/kde-unstable/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-02-18 20:52:29 UTC (rev 178240) @@ -0,0 +1,195 @@ +# $Id: PKGBUILD 172119 2012-11-29 17:17:54Z andrea $ +# Maintainer: Andrea Scarpino and...@archlinux.org + +pkgbase=qt +pkgname=('qtbase' + 'qtdeclarative' + 'qtmultimedia' + 'qt-addons' + 'qttools' + 'qtwebkit') +pkgver=5.0.1 +pkgrel=1 +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' +'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils' +'postgresql-libs' 'libmysqlclient' 'sqlite' 'unixodbc' 'libfbclient' +'python2' 'ruby' 'gperf') +groups=('qt5') +options=('!libtool') +_pkgfqn=${pkgbase}-everywhere-opensource-src-${pkgver} +source=(http://releases.qt-project.org/qt5/${pkgver}/single/${_pkgfqn}.tar.xz; +'assistant.desktop' 'designer.desktop' 'linguist.desktop' +'use-python2.patch') +md5sums=('00a577bd88e682d1b4d01d41d1d699cf' + 'f1837a03fd0ebbd2da58975845f278e3' + '480fea1ed076992b688373c8db274be0' + '5595c24d5bb942c21e3a4d299e6d0bf1' + 'ec3133b093550f16a21bb91e5f0f2943') + +build() { + cd ${_pkgfqn} + + export QTDIR=${srcdir}/${_pkgfqn} + export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + + 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') + + ./configure -confirm-license -opensource \ +-prefix /usr \ +-docdir /usr/share/doc/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 +} +
[arch-commits] Commit in qt/repos (16 files)
Date: Thursday, September 13, 2012 @ 11:17:13 Author: andrea Revision: 166631 archrelease: copy trunk to testing-i686, testing-x86_64 Added: qt/repos/testing-i686/ qt/repos/testing-i686/PKGBUILD (from rev 166630, qt/trunk/PKGBUILD) qt/repos/testing-i686/assistant.desktop (from rev 166630, qt/trunk/assistant.desktop) qt/repos/testing-i686/designer.desktop (from rev 166630, qt/trunk/designer.desktop) qt/repos/testing-i686/improve-cups-support.patch (from rev 166630, qt/trunk/improve-cups-support.patch) qt/repos/testing-i686/linguist.desktop (from rev 166630, qt/trunk/linguist.desktop) qt/repos/testing-i686/qt.install (from rev 166630, qt/trunk/qt.install) qt/repos/testing-i686/qtconfig.desktop (from rev 166630, qt/trunk/qtconfig.desktop) qt/repos/testing-x86_64/ qt/repos/testing-x86_64/PKGBUILD (from rev 166630, qt/trunk/PKGBUILD) qt/repos/testing-x86_64/assistant.desktop (from rev 166630, qt/trunk/assistant.desktop) qt/repos/testing-x86_64/designer.desktop (from rev 166630, qt/trunk/designer.desktop) qt/repos/testing-x86_64/improve-cups-support.patch (from rev 166630, qt/trunk/improve-cups-support.patch) qt/repos/testing-x86_64/linguist.desktop (from rev 166630, qt/trunk/linguist.desktop) qt/repos/testing-x86_64/qt.install (from rev 166630, qt/trunk/qt.install) qt/repos/testing-x86_64/qtconfig.desktop (from rev 166630, qt/trunk/qtconfig.desktop) ---+ testing-i686/PKGBUILD | 132 testing-i686/assistant.desktop|9 + testing-i686/designer.desktop | 11 ++ testing-i686/improve-cups-support.patch | 84 + testing-i686/linguist.desktop | 10 ++ testing-i686/qt.install | 12 ++ testing-i686/qtconfig.desktop | 10 ++ testing-x86_64/PKGBUILD | 132 testing-x86_64/assistant.desktop |9 + testing-x86_64/designer.desktop | 11 ++ testing-x86_64/improve-cups-support.patch | 84 + testing-x86_64/linguist.desktop | 10 ++ testing-x86_64/qt.install | 12 ++ testing-x86_64/qtconfig.desktop | 10 ++ 14 files changed, 536 insertions(+) Copied: qt/repos/testing-i686/PKGBUILD (from rev 166630, qt/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-09-13 15:17:13 UTC (rev 166631) @@ -0,0 +1,132 @@ +# $Id$ +# Maintainer: Andrea Scarpino and...@archlinux.org +# Contributor: Pierre Schmitz pie...@archlinux.de + +pkgbase=qt +pkgname=('qt' 'qt-private-headers') +pkgver=4.8.3 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL') +makedepends=('libtiff' 'libpng' 'libmng' 'sqlite' 'ca-certificates' 'glib2' 'dbus' +'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib' +'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'mesa' 'postgresql-libs' +'mysql' 'unixodbc' 'cups' 'gtk2' 'libfbclient') +options=('!libtool') +_pkgfqn=${pkgbase}-everywhere-opensource-src-${pkgver} +source=(http://releases.qt-project.org/qt4/source/${_pkgfqn}.tar.gz; +'assistant.desktop' 'designer.desktop' 'linguist.desktop' +'qtconfig.desktop' +'improve-cups-support.patch') +md5sums=('a663b6c875f8d7caa8ac9c30e4a4ec3b' + 'fc211414130ab2764132e7370f8e5caa' + '85179f5e0437514f8639957e1d8baf62' + 'f11852b97583610f3dbb669ebc3e21bc' + '6b771c8a81dd90b45e8a79afa0e5bbfd' + 'c439c7731c25387352d8453ca7574971') + +build() { + cd ${srcdir}/${_pkgfqn} + + # (FS#28381) (KDEBUG#180051) + patch -p1 -i ${srcdir}/improve-cups-support.patch + + export QT4DIR=${srcdir}/${_pkgfqn} + export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH} + + sed -i s|-O2|${CXXFLAGS}| mkspecs/common/{g++,gcc}-base.conf + sed -i /^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g mkspecs/common/gcc-base-unix.conf + sed -i /^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g mkspecs/common/gcc-base.conf + + ./configure -confirm-license -opensource \ +-prefix /usr \ +-docdir /usr/share/doc/qt \ +-plugindir /usr/lib/qt/plugins \ +-importdir /usr/lib/qt/imports \ +-datadir /usr/share/qt \ +-translationdir /usr/share/qt/translations \ +-sysconfdir /etc/xdg \ +-examplesdir /usr/share/doc/qt/examples \ +-demosdir /usr/share/doc/qt/demos \ +-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \ +-system-sqlite \ +-no-phonon \ +-no-phonon-backend \ +-no-webkit \ +-graphicssystem raster \ +-openssl-linked \ +-nomake demos \ +-nomake examples \ +-nomake docs \ +-silent \ +-no-rpath \ +-optimized-qmake \ +-reduce-relocations \ +-dbus-linked \ +-no-openvg + make +} +