summaryrefslogtreecommitdiffstats
path: root/kde3/qt3/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde3/qt3/Pkgfile')
-rw-r--r--kde3/qt3/Pkgfile14
1 files changed, 6 insertions, 8 deletions
diff --git a/kde3/qt3/Pkgfile b/kde3/qt3/Pkgfile
index 1b6318307..14d54ad65 100644
--- a/kde3/qt3/Pkgfile
+++ b/kde3/qt3/Pkgfile
@@ -2,17 +2,15 @@
# URL: http://trolltech.com/products/qt/qt3
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: xorg, libjpeg, libmng, libcups
+# Depends on: xorg, libcups, qt3-devel
name=qt3
version=3.3.8b
release=2
-source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz \
- qt-3.3.8b-png14-1.patch )
+source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz )
build() {
cd qt-x11-free-$version
- patch -Np1 -i ../qt-3.3.8b-png14-1.patch
export QTDIR=$PWD
export PATH=$PWD/bin:$PATH
@@ -24,14 +22,14 @@ build() {
-qt-libpng \
-qt-libjpeg \
-qt-libmng \
- -plugin-imgfmt-png \
- -plugin-imgfmt-jpeg \
- -plugin-imgfmt-mng \
+ -qt-imgfmt-png \
+ -qt-imgfmt-jpeg \
+ -qt-imgfmt-mng \
-no-exceptions \
-thread \
-tablet
cd src && make
cd ..
mkdir -p $PKG/opt/qt/lib
- cp lib/libqt-mt.* $PKG/opt/qt/lib/
+ cp -a lib/libqt-mt.* $PKG/opt/qt/lib/
}