wok view qt5/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents 7f4f0b699c28
children 7c0170dd3ecc
line source
1 # SliTaz package receipt.
3 PACKAGE="qt5"
4 SOURCE="qt-everywhere-src"
5 VERSION="5.14.2"
6 CATEGORY="meta"
7 TAGS="qt"
8 SHORT_DESC="qt x11 toolkit"
9 MAINTAINER="maintainer@slitaz.org"
10 LICENSE="GPL3 LGPL3"
11 WEB_SITE="https://www.qt.io/"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERS[BION/single/$TARBALL"
15 PROVIDE="qt-x11-opensource-src Qt5"
17 DEPENDS="gcc83-lib-base glibc-locale libQt3Support libQt5Core libQt5DBus
18 libQt5Designer libQt5Gui libQt5Help libQt5Network libQt5OpenGL
19 libQt5Script libQt5Sql libQt5Svg libQt5Xml"
20 SUGGESTED="libQt5Plugins libQt5ScriptTools"
21 BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev gcc83 glib-dev
22 gst-plugins-base-1.0-dev gtk+3-dev icu-dev fontconfig-dev
23 freetype-dev harfbuzz-dev libjpeg-turbo-dev libpng-dev
24 libxcb-dev libxkbcommon-dev mesa-dev openssl-dev pcre-dev
25 sqlite-dev tslib-dev xorg-libX11-dev xorg-libXcomposite-dev
26 xorg-libXrender-dev zlib-dev"
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib"
33 sed -i 's|gcc|gcc-83|; s|g++|g++-83|' qtbase/mkspecs/common/g++-base.conf
35 ./configure \
36 -prefix /usr \
37 -confirm-license -opensource \
38 -sysconfdir /etc/xdg \
39 -plugindir /usr/lib/qt5/plugins \
40 -headerdir /usr/include/qt5 \
41 -importdir /usr/lib/qt5/imports \
42 -archdatadir /usr/lib/qt5 \
43 -bindir /usr/bin \
44 -datadir /usr/share/qt5 \
45 -docdir /usr/share/doc/qt5 \
46 -examplesdir /usr/share/doc/qt5/examples \
47 -translationdir /usr/share/qt5/translations \
48 -release \
49 -nomake examples \
50 -system-harfbuzz \
51 -system-sqlite \
52 -glib \
53 -optimized-qmake \
54 -opengl \
55 -no-openvg \
56 -no-reduce-relocations \
57 -continue &&
58 make $MAKEFLAGS &&
59 make INSTALL_ROOT=$DESTDIR install
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 # dummy tree to avoid 'tazwok cmp --cook' building loop
66 mkdir $fs/etc
67 }