wok-undigest annotate qt4/receipt @ rev 948

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