[arch-commits] Commit in qt/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Wed Mar 4 13:22:30 UTC 2009
Date: Wednesday, March 4, 2009 @ 08:22:30
Author: pierre
Revision: 28997
upgpkg: qt 4.5.0-1
Modified:
qt/trunk/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++------------------------------------------
1 file changed, 22 insertions(+), 47 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-03-04 12:17:33 UTC (rev 28996)
+++ PKGBUILD 2009-03-04 13:22:30 UTC (rev 28997)
@@ -2,27 +2,27 @@
# Maintainer: Pierre Schmitz <pierre at archlinux.de>
pkgname=qt
-pkgver=4.4.3
-pkgrel=5
-_qtcopyver=914452
-pkgdesc="The QT gui toolkit."
+pkgver=4.5.0
+pkgrel=1
+_qtcopyver=934513
+pkgdesc='A cross-platform application and UI framework'
arch=('i686' 'x86_64')
-url="http://www.trolltech.com/products/qt"
-license=('GPL3')
-options=('!libtool' '!docs')
-depends=('libpng' 'libxi' 'mesa' 'fontconfig' 'libxrandr' 'glib2' 'libtiff' 'libmng' 'sqlite3' 'dbus' 'libxcursor' 'libxinerama')
+url='http://www.qtsoftware.com/'
+license=('GPL3' 'LGPL')
+depends=('libpng' 'mesa' 'fontconfig' 'libtiff' 'libmng' 'sqlite3' 'libxrender' 'glib2')
optdepends=('postgresql-libs' 'libmysqlclient' 'unixodbc')
makedepends=('inputproto' 'postgresql-libs' 'mysql' 'unixodbc' 'cups' 'libxfixes')
provides=("qt4=${pkgver}")
replaces=('qt4')
conflicts=('qt4')
-_pkgfqn=qt-x11-opensource-src-$pkgver
-# svn export -r -${_qtcopyver} svn://anonsvn.kde.org/home/kde/trunk/qt-copy/patches/ qt-copy-patches-${_qtcopyver}
-source=("ftp://ftp.trolltech.com/qt/source/${_pkgfqn}.tar.bz2"
+options=('!libtool')
+_pkgfqn="qt-x11-opensource-src-${pkgver}"
+# svn export -r${_qtcopyver} svn://anonsvn.kde.org/home/kde/trunk/qt-copy/patches/ qt-copy-patches-${_qtcopyver}
+source=("ftp://ftp.qtsoftware.com/qt/source/${_pkgfqn}.tar.bz2"
"ftp://ftp.archlinux.org/other/qt/qt-copy-patches-${_qtcopyver}.tar.bz2"
'qt4-assistant.desktop' 'qt4-designer.desktop' 'qt4-linguist.desktop')
-md5sums=('00e00c6324d342a7b0d8653112b4f08c'
- '7f4bbde73d9a457b45796c1947aa6e88'
+md5sums=('55e8c74a89e1bc128a5a6f1ff6b8b5ba'
+ 'fa08fc4d226e71f125b771e7aeedd190'
'c95e1697bf2b923199c3b8cd7d485a17'
'00333dca87e24767383217ba378b5980'
'71f7ac8206c19da7ecf71cdb391f0452')
@@ -39,49 +39,24 @@
patch -p0 -i $i || return 1
done
- # remove unwanted mkspecs
- cd mkspecs/
- find . -maxdepth 1 -regextype posix-egrep -type d ! -regex "./linux.*|./common|./features|./qws" -exec rm -rf "{}" \;
- cd qws
- find . -maxdepth 1 -regextype posix-egrep -type d ! -regex "./linux.*" -exec rm -rf "{}" \;
- cd ../../
-
- 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
-
./configure -confirm-license \
+ -silent \
-prefix /usr \
- -docdir /usr/share/doc/qt \
+ -sysconfdir /etc \
-plugindir /usr/lib/qt/plugins \
- -datadir /usr/share/qt \
-translationdir /usr/share/qt/translations \
- -sysconfdir /etc \
- -examplesdir /usr/share/doc/qt/examples \
- -demosdir /usr/share/doc/qt/demos \
- -no-exceptions \
+ -datadir /usr/share/qt \
+ -no-separate-debug-info \
+ -no-phonon \
-plugin-sql-{psql,mysql,sqlite,odbc} \
-system-sqlite \
- -no-phonon \
- -webkit \
- -no-separate-debug-info \
+ -openssl-linked \
+ -nomake demos \
-nomake examples \
-nomake docs \
- -nomake demos \
- -assistant-webkit \
- -system-libpng \
- -system-libjpeg \
- -system-zlib \
- -openssl-linked \
- -cups \
+ -optimized-qmake \
-reduce-relocations \
- -xinerama \
- -xcursor \
- -xfixes \
- -optimized-qmake || return 1
+ -no-exceptions || return 1
make || return 1
make INSTALL_ROOT=$pkgdir install || return 1
More information about the arch-commits
mailing list