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