wok annotate qt5/receipt @ rev 25618
Update get-pcem-roms
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 28 14:28:52 2023 +0000 (16 months ago) |
parents | fb3f7dcfca43 |
children | 3bfddcf4d28c |
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@25431 | 15 WGET_URL="https://web.archive.org/web/20211201212948/http://mirrors.ocf.berkeley.edu/qt/archive/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@25604 | 32 wget -O - https://code.qt.io/cgit/qt/qt5.git/refs/ 2>/dev/null | \ |
pascal@25604 | 33 sed '/tag\/.h=v/!d;s|.*h=v||;s|.>v.*||' | sort -Vr | sed q |
pascal@24694 | 34 } |
pascal@24694 | 35 |
Hans-G?nter@23822 | 36 # Rules to configure and make the package. |
Hans-G?nter@23822 | 37 compile_rules() |
Hans-G?nter@23822 | 38 { |
Hans-G?nter@23822 | 39 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib" |
Hans-G?nter@23822 | 40 |
Hans-G?nter@23822 | 41 sed -i 's|gcc|gcc-83|; s|g++|g++-83|' qtbase/mkspecs/common/g++-base.conf |
Hans-G?nter@23822 | 42 |
Hans-G?nter@23822 | 43 ./configure \ |
Hans-G?nter@25257 | 44 -prefix /usr \ |
Hans-G?nter@25257 | 45 -confirm-license \ |
Hans-G?nter@25261 | 46 -opensource \ |
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 } |