wok-6.x view qt5/receipt @ rev 25338

updated svkbd packages ( -> 0.4.1)
author Hans-G?nter Theisgen
date Sun Jul 24 10:22:05 2022 +0100 (2022-07-24)
parents 1527d33cb460
children 4be73f2da5c0
line source
1 # SliTaz package receipt.
3 PACKAGE="qt5"
4 VERSION="5.14.2"
5 CATEGORY="meta"
6 TAGS="qt"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL3 LGPL3"
10 WEB_SITE="https://www.qt.io/"
12 SOURCE="qt-everywhere-src"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 #WGET_URL="https://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL"
15 WGET_URL="https://web.archive.org/web/20211201212948if_/http://mirrors.ocf.berkeley.edu/qt/${VERSION%.*}/$VERSION/single/$TARBALL"
17 SUGGESTED="libQt5Plugins libQt5ScriptTools"
18 PROVIDE="qt-x11-opensource-src Qt5"
19 DEPENDS="gcc83-lib-base glibc-locale libQt5Core libQt5DBus
20 libQt5Designer libQt5Gui libQt5Help libQt5Network libQt5OpenGL
21 libQt5Script libQt5Sql libQt5Svg libQt5Xml"
22 BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev gcc83 glib-dev
23 gst-plugins-base-1.0-dev gtk+3-dev icu-dev fontconfig-dev
24 freetype-dev harfbuzz-dev libjpeg-turbo-dev libpng-dev
25 libxcb-dev libxkbcommon-dev mesa-dev openssl-dev pcre-dev
26 sqlite-dev tslib-dev xorg-libX11-dev xorg-libXcomposite-dev
27 xorg-libXrender-dev zlib-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 '/>5\./!d;s|.*/">|https://download.qt.io/archive/qt/|;s|/<.*||' | \
34 sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
35 sed '/>5\./!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"
43 sed -i 's|gcc|gcc-83|; s|g++|g++-83|' qtbase/mkspecs/common/g++-base.conf
45 ./configure \
46 -prefix /usr \
47 -confirm-license \
48 -opensource \
49 -sysconfdir /etc/xdg \
50 -plugindir /usr/lib/qt5/plugins \
51 -headerdir /usr/include/qt5 \
52 -importdir /usr/lib/qt5/imports \
53 -archdatadir /usr/lib/qt5 \
54 -bindir /usr/bin \
55 -datadir /usr/share/qt5 \
56 -docdir /usr/share/doc/qt5 \
57 -examplesdir /usr/share/doc/qt5/examples \
58 -translationdir /usr/share/qt5/translations \
59 -release \
60 -nomake examples \
61 -system-harfbuzz \
62 -system-sqlite \
63 -glib \
64 -optimized-qmake \
65 -opengl \
66 -opensource \
67 -no-openvg \
68 -no-reduce-relocations \
69 -continue &&
70 make $MAKEFLAGS &&
71 make install INSTALL_ROOT=$DESTDIR
72 }
74 # Rules to gen a SliTaz package suitable for Tazpkg.
75 genpkg_rules()
76 {
77 # dummy tree to avoid 'tazwok cmp --cook' building loop
78 mkdir $fs/etc
79 }