[arch-commits] Commit in qt/repos (extra-i686 extra-i686/PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sun Aug 31 07:35:38 EDT 2008


    Date: Sunday, August 31, 2008 @ 07:35:37
  Author: pierre
Revision: 10746

Merged revisions 10470-10745 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/qt/trunk

........
  r10744 | pierre | 2008-08-31 10:55:52 +0000 (So, 31 Aug 2008) | 2 lines
  
  upgpkg: qt 4.4.1-4
      added postgresql support; updated qt-copy-patches
........

Modified:
  qt/repos/extra-i686/	(properties)
  qt/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)


Property changes on: qt/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /qt/trunk:1-10469
   + /qt/trunk:1-10745

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-08-31 10:56:21 UTC (rev 10745)
+++ extra-i686/PKGBUILD	2008-08-31 11:35:37 UTC (rev 10746)
@@ -2,16 +2,16 @@
 
 pkgname=qt
 pkgver=4.4.1
-pkgrel=3
-_qtcopyver=853144
+pkgrel=4
+_qtcopyver=854850
 pkgdesc="The QT gui toolkit."
 arch=('i686' 'x86_64')
 url="http://www.trolltech.com/products/qt"
 license=('GPL3')
 options=('!libtool')
 depends=('libpng' 'libxi' 'mesa' 'fontconfig' 'libxrandr' 'glib2' 'libtiff' 'libmng' 'sqlite3')
-optdepends=('libmysqlclient' 'unixodbc')
-makedepends=('mysql' 'unixodbc')
+optdepends=('postgresql-libs' 'libmysqlclient' 'unixodbc')
+makedepends=('postgresql-libs' 'mysql' 'unixodbc')
 provides=("qt4=${pkgver}")
 replaces=('qt4')
 conflicts=('qt4')
@@ -20,7 +20,7 @@
 source=("ftp://ftp.trolltech.com/qt/source/${_pkgfqn}.tar.gz"
         "ftp://ftp.archlinux.org/other/qt/qt-copy-patches-${_qtcopyver}.tar.bz2")
 md5sums=('b09decad252b5181f300135e3122481d'
-         '11b20ea698c30c52b94d83b927ac6099')
+         'ed5ad227bc0148ce7646d74bd8a44dbb')
 
 build() {
 	unset QMAKESPEC
@@ -43,6 +43,8 @@
 
 	sed -i 's|-cp -P -f|-cp -L -f|' qmake/Makefile.unix
 	sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf
+	# fix postgres build
+	sed -e '/pg_config --libs/d' -i configure
 	# do not compile demos, examples and docs
 	sed -i 's|CFG_NOBUILD_PARTS=""|CFG_NOBUILD_PARTS="demos examples docs"|' configure
 
@@ -56,7 +58,7 @@
 		-examplesdir /usr/share/doc/qt/examples \
 		-demosdir /usr/share/doc/qt/demos \
 		-no-exceptions \
-		-plugin-sql-{mysql,sqlite,odbc} \
+		-plugin-sql-{psql,mysql,sqlite,odbc} \
 		-system-sqlite \
 		-no-phonon \
 		-no-separate-debug-info \




More information about the arch-commits mailing list