summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/qt/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-05-20 02:51:25 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-05-20 02:51:25 (GMT)
commitab2f6a2a66c7e2b47d03da81e72109aa96fd9c2c (patch)
tree7b5db6af9db2113343a65fbac37e4821d939ba3c /abs/core-testing/qt/PKGBUILD
parentc1fb5b95e554560a87424a6f3334abf049f999b8 (diff)
parente7cd231a27e5f65ed92b56c85e0e05aeb3645132 (diff)
downloadlinhes_pkgbuild-ab2f6a2a66c7e2b47d03da81e72109aa96fd9c2c.zip
linhes_pkgbuild-ab2f6a2a66c7e2b47d03da81e72109aa96fd9c2c.tar.gz
linhes_pkgbuild-ab2f6a2a66c7e2b47d03da81e72109aa96fd9c2c.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/qt/PKGBUILD')
-rw-r--r--abs/core-testing/qt/PKGBUILD88
1 files changed, 37 insertions, 51 deletions
diff --git a/abs/core-testing/qt/PKGBUILD b/abs/core-testing/qt/PKGBUILD
index a06b7e0..b581564 100644
--- a/abs/core-testing/qt/PKGBUILD
+++ b/abs/core-testing/qt/PKGBUILD
@@ -1,31 +1,34 @@
-# $Id: PKGBUILD 18501 2008-11-06 12:11:46Z pierre $
+# $Id$
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=qt
-pkgver=4.4.3
+pkgver=4.5.1
pkgrel=2
-_qtcopyver=880178
-pkgdesc="The QT gui toolkit."
+_qtcopyver=958581
+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' 'libxrandr' 'glib2' 'libxi' 'dbus' 'libxcursor' 'libxinerama' 'libxrender')
optdepends=('postgresql-libs' 'libmysqlclient' 'unixodbc')
makedepends=('inputproto' 'postgresql-libs' 'mysql' 'unixodbc' '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'
- 'd3a40d783528a86174b62ecfc136b031'
- 'c95e1697bf2b923199c3b8cd7d485a17'
- '00333dca87e24767383217ba378b5980'
- '71f7ac8206c19da7ecf71cdb391f0452')
+ 'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qtconfig.desktop'
+ 'qdoc3.patch')
+md5sums=('afc43e566341cf3e5ed0bcb974f0c3b2'
+ 'b57b08ac7f990f91b85a7b1b1106e36b'
+ 'b352b4b70faba2571af3fce5d119580a'
+ '491a96682faa03407f768a53cca71db5'
+ 'cda7ed7e132689991dc2968a0043b4b0'
+ '717669b728a0a795217d2f52969e454c'
+ '868056a3edab09fbac0f82ec8b4a4be3')
build() {
unset QMAKESPEC
@@ -39,58 +42,41 @@ build() {
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 ../../
+ patch -p1 -i $srcdir/qdoc3.patch
- 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 \
+ ./configure -confirm-license -opensource \
+ -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 \
+ -datadir /usr/share/qt \
+ -docdir /usr/share/doc/qt \
-examplesdir /usr/share/doc/qt/examples \
-demosdir /usr/share/doc/qt/demos \
- -no-exceptions \
+ -no-separate-debug-info \
-plugin-sql-{psql,mysql,sqlite,odbc} \
-system-sqlite \
- -no-phonon \
- -dbus-linked \
- -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 \
- -reduce-relocations \
- -xinerama \
- -xcursor \
- -xfixes \
- -optimized-qmake || return 1
+ -no-phonon \
+ -optimized-qmake \
+ -reduce-relocations
- make || return 1
- make INSTALL_ROOT=$pkgdir install || return 1
+ make
+ make INSTALL_ROOT=$pkgdir install
install -D -m644 tools/assistant/tools/assistant/images/assistant.png ${pkgdir}/usr/share/pixmaps/assistant.png
install -D -m644 tools/linguist/linguist/images/appicon.png ${pkgdir}/usr/share/pixmaps/linguist.png
install -D -m644 tools/designer/src/designer/images/designer.png ${pkgdir}/usr/share/pixmaps/designer.png
+ install -D -m644 src/gui/dialogs/images/qtlogo-64.png ${pkgdir}/usr/share/pixmaps/qtlogo.png
install -d ${pkgdir}/usr/share/applications
- install -m644 ${srcdir}/qt4-{linguist,designer,assistant}.desktop ${pkgdir}/usr/share/applications/
+ install -m644 ${srcdir}/{linguist,designer,assistant,qtconfig}.desktop ${pkgdir}/usr/share/applications/
+ install -D -m644 LGPL_EXCEPTION.txt ${pkgdir}/usr/share/licenses/qt/LGPL_EXCEPTION.txt
# cleanup and path fixes
find $pkgdir/usr/lib -type f -name '*prl' -print -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;