wok view qt4/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents cac0ec153b6d
children cb67b4f8be05
line source
1 # SliTaz package receipt.
3 PACKAGE="qt4"
4 SOURCE="qt-everywhere-opensource-src"
5 VERSION="4.8.7"
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.io/archive/qt/${VERSION%.*}/$VERSION/single/$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 qtconfig"
19 SUGGESTED="libQtPlugins libQtScriptTools libQtDeclarative"
20 BUILD_DEPENDS="xorg-libX11-dev dbus-dev mesa-dev libmng-dev cups-dev mysql-dev \
21 unixODBC-dev fontconfig-dev postgresql-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 xorg-libXv-dev sqlite-dev"
29 # What is the latest version available today?
30 current_version()
31 {
32 wget -O - https://download.qt.io/archive/qt/ 2>/dev/null | \
33 sed '/>4\./!d;s|.*/">|https://download.qt.io/archive/qt/|;s|/<.*||' | \
34 sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
35 sed '/>4\./!d;s|.*/">||;s|/<.*||' | sort -Vr | sed q
36 }
38 # Rules to configure and make the package.
39 compile_rules()
40 {
41 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib"
42 ./configure\
43 -silent \
44 -prefix /usr \
45 -confirm-license -opensource \
46 -sysconfdir /etc/xdg \
47 -plugindir /usr/lib/qt/plugins \
48 -importdir /usr/lib/qt/imports \
49 -translationdir /usr/share/qt/translations \
50 -datadir /usr/share/qt \
51 -docdir /usr/share/doc/qt \
52 -examplesdir /usr/share/doc/qt/examples \
53 -demosdir /usr/share/doc/qt/demos \
54 -release \
55 -nomake demos \
56 -nomake examples \
57 -nomake docs \
58 -system-zlib \
59 -system-libtiff \
60 -system-libpng \
61 -system-libmng \
62 -system-libjpeg \
63 -system-sqlite \
64 -scripttools \
65 -glib \
66 -optimized-qmake \
67 -opengl \
68 -gtkstyle \
69 -no-openvg \
70 -no-reduce-relocations \
71 -no-phonon \
72 -no-phonon-backend \
73 -graphicssystem raster \
74 -continue \
75 2>&1 | grep -v 'wayland-client' | \
76 sed 's/such file or directory/file/' &&
77 make $MAKEFLAGS &&
78 make INSTALL_ROOT=$DESTDIR install
79 }
81 # Rules to gen a SliTaz package suitable for Tazpkg.
82 genpkg_rules()
83 {
84 # dummy tree to avoid 'tazwok cmp --cook' building loop
85 mkdir $fs/etc
86 }