wok-6.x annotate qt4/receipt @ rev 24762

avfs: copy mountavfs and umountavfs with proper permissions
author Hans-G?nter Theisgen
date Fri Mar 18 15:07:58 2022 +0100 (2022-03-18)
parents 52649f27a0da
children bd7510903310
rev   line source
jozee@5369 1 # SliTaz package receipt.
jozee@5369 2
jozee@5369 3 PACKAGE="qt4"
jozee@5369 4 SOURCE="qt-everywhere-opensource-src"
psychomaniak@19568 5 VERSION="4.8.7"
jozee@5369 6 CATEGORY="meta"
jozee@5369 7 SHORT_DESC="qt x11 toolkit"
jozee@5369 8 MAINTAINER="allan316@gmail.com"
pascal@15215 9 LICENSE="GPL3 LGPL2.1"
jozee@5369 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24746 11 WEB_SITE="https://qt-project.org/"
pascal@24694 12 WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL"
pascal@16678 13 PROVIDE="qt-x11-opensource-src Qt4"
jozee@5369 14 TAGS="qt"
jozee@5369 15
pankso@10647 16 DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
pankso@10647 17 libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
psychomaniak@19568 18 libQtOpenGL libQtSql libQtWebkit qtconfig"
psychomaniak@19568 19 SUGGESTED="libQtPlugins libQtScriptTools libQtDeclarative"
psychomaniak@19568 20 BUILD_DEPENDS="xorg-libX11-dev dbus-dev mesa-dev libmng-dev cups-dev mysql-dev \
psychomaniak@19568 21 unixODBC-dev fontconfig-dev postgresql-dev atk-dev autoconf automake bash \
pankso@10647 22 binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
pankso@10647 23 freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
pankso@10647 24 libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
pankso@10647 25 pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
pascal@12453 26 pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
psychomaniak@19572 27 xorg-libXv-dev sqlite-dev"
pankso@10647 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 '/>4\./!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 '/>4\./!d;s|.*/">||;s|/<.*||' | sort -Vr | sed q
pascal@24694 36 }
pascal@24694 37
jozee@5369 38 # Rules to configure and make the package.
jozee@5369 39 compile_rules()
jozee@5369 40 {
psychomaniak@19574 41 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib"
psychomaniak@19570 42 ./configure\
monghitri@13992 43 -silent \
pankso@5509 44 -prefix /usr \
pankso@5509 45 -confirm-license -opensource \
psychomaniak@19568 46 -sysconfdir /etc/xdg \
pankso@5509 47 -plugindir /usr/lib/qt/plugins \
slaxemulator@10082 48 -importdir /usr/lib/qt/imports \
pankso@5509 49 -translationdir /usr/share/qt/translations \
pankso@5509 50 -datadir /usr/share/qt \
pankso@5509 51 -docdir /usr/share/doc/qt \
pankso@5509 52 -examplesdir /usr/share/doc/qt/examples \
pankso@5509 53 -demosdir /usr/share/doc/qt/demos \
monghitri@13992 54 -release \
pankso@5509 55 -nomake demos \
pankso@5509 56 -nomake examples \
pankso@5509 57 -nomake docs \
slaxemulator@6976 58 -system-zlib \
slaxemulator@6976 59 -system-libtiff \
slaxemulator@6976 60 -system-libpng \
slaxemulator@6976 61 -system-libmng \
slaxemulator@6976 62 -system-libjpeg \
slaxemulator@6976 63 -system-sqlite \
slaxemulator@9182 64 -scripttools \
slaxemulator@6976 65 -glib \
pankso@5509 66 -optimized-qmake \
pankso@5509 67 -opengl \
pascal@13931 68 -gtkstyle \
psychomaniak@19568 69 -no-openvg \
psychomaniak@19568 70 -no-reduce-relocations \
psychomaniak@19568 71 -no-phonon \
psychomaniak@19568 72 -no-phonon-backend \
psychomaniak@19568 73 -graphicssystem raster \
psychomaniak@19568 74 -continue \
psychomaniak@19570 75 2>&1 | grep -v 'wayland-client' | \
psychomaniak@19570 76 sed 's/such file or directory/file/' &&
gokhlayeh@11574 77 make $MAKEFLAGS &&
slaxemulator@10082 78 make INSTALL_ROOT=$DESTDIR install
jozee@5369 79 }
jozee@5369 80
jozee@5369 81 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5369 82 genpkg_rules()
jozee@5369 83 {
jozee@5369 84 # dummy tree to avoid 'tazwok cmp --cook' building loop
jozee@5369 85 mkdir $fs/etc
jozee@5369 86 }