wok-current view qt4/receipt @ rev 19227
pinentry, pinentry-gtk: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 23 02:28:12 2016 +0300 (2016-06-23) |
parents | 25fecdba9983 |
children | 9cb6a23202c2 |
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/${VERSION%.*}/$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 }