summaryrefslogtreecommitdiffstats
path: root/kde3/qt3/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-02 17:17:02 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-02 17:17:02 +0200
commit62839f1551ac504e187e1a3e5e59fd51095cf908 (patch)
tree15594013e48f76b2c5ef1a39697fcf393178952f /kde3/qt3/Pkgfile
parentfd561a0f955a0d9845d4fda0ffecd1a1ceb9d59a (diff)
downloadnutyx-extra-62839f1551ac504e187e1a3e5e59fd51095cf908.tar.gz
nutyx-extra-62839f1551ac504e187e1a3e5e59fd51095cf908.tar.bz2
nutyx-extra-62839f1551ac504e187e1a3e5e59fd51095cf908.tar.xz
nutyx-extra-62839f1551ac504e187e1a3e5e59fd51095cf908.zip
maj qt3#3.3.8b-3
Diffstat (limited to 'kde3/qt3/Pkgfile')
-rw-r--r--kde3/qt3/Pkgfile39
1 files changed, 28 insertions, 11 deletions
diff --git a/kde3/qt3/Pkgfile b/kde3/qt3/Pkgfile
index 14d54ad65..e2718806c 100644
--- a/kde3/qt3/Pkgfile
+++ b/kde3/qt3/Pkgfile
@@ -6,30 +6,47 @@
name=qt3
version=3.3.8b
-release=2
-source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz )
+release=3
+source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz \
+ http://nutyx.meticul.eu/files/patchs/qt3/qt-3.3.8b-png14-1.patch \
+ http://nutyx.meticul.eu/files/patchs/qt3/qt-patches.tar.bz2 \
+ http://nutyx.meticul.eu/files/patchs/qt3/qt-copy-kde-patches.tar.bz2\
+ http://nutyx.meticul.eu/files/patchs/qt3/utf8-bug-qt3.diff)
build() {
cd qt-x11-free-$version
- export QTDIR=$PWD
+ for i in ../qt-copy-kde-patches/*
+ do patch -Np0 -i $i
+ done
+ for i in ../qt-patches/*
+ do patch -Np1 -i $i
+ done
+ patch -Np1 -i ../qt-3.3.8b-png14-1.patch
+# patch -Np0 -i ../utf8-bug-qt3.diff
+ export QTDIR=$PWD
export PATH=$PWD/bin:$PATH
echo "yes"|./configure -prefix /opt/qt \
-docdir /opt/qt/share/doc/qt \
-sysconfdir /etc/qt3 \
-qt-gif \
- -qt-zlib \
- -qt-libpng \
- -qt-libjpeg \
- -qt-libmng \
- -qt-imgfmt-png \
- -qt-imgfmt-jpeg \
- -qt-imgfmt-mng \
+ -system-zlib \
+ -system-libpng \
+ -system-libjpeg \
+ -system-libmng \
+ -plugin-imgfmt-png \
+ -plugin-imgfmt-jpeg \
+ -plugin-imgfmt-mng \
-no-exceptions \
-thread \
-tablet
cd src && make
cd ..
- mkdir -p $PKG/opt/qt/lib
+ cd plugins/src
+ make sub-imageformats
+ cd ../..
+ mkdir -p $PKG/opt/qt/{lib,plugins/imageformats}
cp -a lib/libqt-mt.* $PKG/opt/qt/lib/
+ cp -a plugins/imageformats/* \
+ $PKG/opt/qt/plugins/imageformats/
}