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