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