wok-6.x view qt4/receipt @ rev 17265

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