wok view qt4/receipt @ rev 14960
Up: firefox (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:19:37 2013 +0200 (2013-08-08) |
parents | 9b04d0fc0a89 |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.4"
6 CATEGORY="meta"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="allan316@gmail.com"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://qt-project.org/"
11 WGET_URL="http://releases.qt-project.org/qt4/source/$TARBALL"
12 PROVIDE="qt-x11-opensource-src"
13 TAGS="qt"
15 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
16 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
17 libQtOpenGL libQtSql libQtWebkit gstreamer"
18 BUILD_DEPENDS="xorg-libX11-dev dbus-dev gstreamer-dev gst-python-dev libmng-dev \
19 cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev libegl-mesa libglu-mesa \
20 libglw-mesa postgresql-dev gst-plugins-base-dev atk-dev autoconf automake bash \
21 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
22 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
23 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
24 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
25 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
26 sqlite-dev libglu-mesa-dev libglw-mesa-dev"
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
33 #ugly fix for missing files, you probably could do better
35 mkdir -p $src/src/3rdparty/webkit/Source/WebKit2/generated
37 for i in $(grep MessageReceiver.cpp $stuff/missinglist); do
38 fileprefix=${i%MessageReceiver.cpp}
39 cppfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2 -name $fileprefix.cpp)
40 dname=$(dirname $cppfilename)
41 /usr/bin/python $src/src/3rdparty/webkit/Source/WebKit2/Scripts/generate-message-receiver.py $dname/$fileprefix.messages.in > $src/src/3rdparty/webkit/Source/WebKit2/generated/$i
42 done
44 for i in $(grep Messages.h $stuff/missinglist); do
45 fileprefix=${i%Messages.h}
46 hfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2 -name $fileprefix.h)
47 dname=$(dirname $hfilename)
48 /usr/bin/python $src/src/3rdparty/webkit/Source/WebKit2/Scripts/generate-messages-header.py $dname/$fileprefix.messages.in > $src/src/3rdparty/webkit/Source/WebKit2/generated/$i
49 done
51 ./configure\
52 -silent \
53 -prefix /usr \
54 -confirm-license -opensource \
55 -sysconfdir /etc \
56 -plugindir /usr/lib/qt/plugins \
57 -importdir /usr/lib/qt/imports \
58 -translationdir /usr/share/qt/translations \
59 -datadir /usr/share/qt \
60 -docdir /usr/share/doc/qt \
61 -examplesdir /usr/share/doc/qt/examples \
62 -demosdir /usr/share/doc/qt/demos \
63 -release \
64 -nomake demos \
65 -nomake examples \
66 -nomake docs \
67 -system-zlib \
68 -system-libtiff \
69 -system-libpng \
70 -system-libmng \
71 -system-libjpeg \
72 -system-sqlite \
73 -scripttools \
74 -glib \
75 -phonon \
76 -optimized-qmake \
77 -opengl \
78 -gtkstyle \
79 2>&1 | sed 's/such file or directory/file/' &&
80 make $MAKEFLAGS &&
81 make INSTALL_ROOT=$DESTDIR install
82 }
84 # Rules to gen a SliTaz package suitable for Tazpkg.
85 genpkg_rules()
86 {
87 # dummy tree to avoid 'tazwok cmp --cook' building loop
88 mkdir $fs/etc
89 }