wok view qt5/receipt @ rev 24799

updated libical and libical-dev (3.0.8 -> 3.0.14)
author Hans-G?nter Theisgen
date Mon Mar 21 17:34:22 2022 +0100 (2022-03-21)
parents 7c0170dd3ecc
children bd7510903310
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%.*}/$VERSION/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 # What is the latest version available today?
29 current_version()
30 {
31 wget -O - https://download.qt.io/archive/qt/ 2>/dev/null | \
32 sed '/>5\./!d;s|.*/">|https://download.qt.io/archive/qt/|;s|/<.*||' | \
33 sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
34 sed '/>5\./!d;s|.*/">||;s|/<.*||' | sort -Vr | sed q
35 }
37 # Rules to configure and make the package.
38 compile_rules()
39 {
40 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib"
42 sed -i 's|gcc|gcc-83|; s|g++|g++-83|' qtbase/mkspecs/common/g++-base.conf
44 ./configure \
45 -prefix /usr \
46 -confirm-license -opensource \
47 -sysconfdir /etc/xdg \
48 -plugindir /usr/lib/qt5/plugins \
49 -headerdir /usr/include/qt5 \
50 -importdir /usr/lib/qt5/imports \
51 -archdatadir /usr/lib/qt5 \
52 -bindir /usr/bin \
53 -datadir /usr/share/qt5 \
54 -docdir /usr/share/doc/qt5 \
55 -examplesdir /usr/share/doc/qt5/examples \
56 -translationdir /usr/share/qt5/translations \
57 -release \
58 -nomake examples \
59 -system-harfbuzz \
60 -system-sqlite \
61 -glib \
62 -optimized-qmake \
63 -opengl \
64 -no-openvg \
65 -no-reduce-relocations \
66 -continue &&
67 make $MAKEFLAGS &&
68 make INSTALL_ROOT=$DESTDIR install
69 }
71 # Rules to gen a SliTaz package suitable for Tazpkg.
72 genpkg_rules()
73 {
74 # dummy tree to avoid 'tazwok cmp --cook' building loop
75 mkdir $fs/etc
76 }