wok view qt5/receipt @ rev 25726
renamed xfce4-ristretto to ristretto
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 17:30:48 2024 +0100 (2 months ago) |
parents | fb3f7dcfca43 |
children | 3bfddcf4d28c |
line source
1 # SliTaz package receipt.
3 PACKAGE="qt5"
4 VERSION="5.14.2"
5 CATEGORY="meta"
6 TAGS="qt"
7 SHORT_DESC="qt x11 toolkit"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL3 LGPL3"
10 WEB_SITE="https://www.qt.io/"
12 SOURCE="qt-everywhere-src"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 #WGET_URL="https://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL"
15 WGET_URL="https://web.archive.org/web/20211201212948/http://mirrors.ocf.berkeley.edu/qt/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL"
17 SUGGESTED="libQt5Plugins libQt5ScriptTools"
18 PROVIDE="qt-x11-opensource-src Qt5"
19 DEPENDS="gcc83-lib-base glibc-locale libQt5Core libQt5DBus
20 libQt5Designer libQt5Gui libQt5Help libQt5Network libQt5OpenGL
21 libQt5Script libQt5Sql libQt5Svg libQt5Xml"
22 BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev gcc83 glib-dev
23 gst-plugins-base-1.0-dev gtk+3-dev icu-dev fontconfig-dev
24 freetype-dev harfbuzz-dev libjpeg-turbo-dev libpng-dev
25 libxcb-dev libxkbcommon-dev mesa-dev openssl-dev pcre-dev
26 sqlite-dev tslib-dev xorg-libX11-dev xorg-libXcomposite-dev
27 xorg-libXrender-dev zlib-dev"
29 # What is the latest version available today?
30 current_version()
31 {
32 wget -O - https://code.qt.io/cgit/qt/qt5.git/refs/ 2>/dev/null | \
33 sed '/tag\/.h=v/!d;s|.*h=v||;s|.>v.*||' | sort -Vr | sed q
34 }
36 # Rules to configure and make the package.
37 compile_rules()
38 {
39 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib"
41 sed -i 's|gcc|gcc-83|; s|g++|g++-83|' qtbase/mkspecs/common/g++-base.conf
43 ./configure \
44 -prefix /usr \
45 -confirm-license \
46 -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 -opensource \
65 -no-openvg \
66 -no-reduce-relocations \
67 -continue &&
68 make $MAKEFLAGS &&
69 make install INSTALL_ROOT=$DESTDIR
70 }
72 # Rules to gen a SliTaz package suitable for Tazpkg.
73 genpkg_rules()
74 {
75 # dummy tree to avoid 'tazwok cmp --cook' building loop
76 mkdir $fs/etc
77 }