wok-6.x annotate qt5/receipt @ rev 25405

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