wok-6.x diff qt5/receipt @ rev 23822
created recipes for qt5 packages
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 28 10:55:44 2020 +0100 (2020-05-28) |
parents | |
children | 2c466aa0cddc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qt5/receipt Thu May 28 10:55:44 2020 +0100 1.3 @@ -0,0 +1,67 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qt5" 1.7 +SOURCE="qt-everywhere-src" 1.8 +VERSION="5.14.2" 1.9 +CATEGORY="meta" 1.10 +TAGS="qt" 1.11 +SHORT_DESC="qt x11 toolkit" 1.12 +MAINTAINER="maintainer@slitaz.org" 1.13 +LICENSE="GPL3 LGPL3" 1.14 +WEB_SITE="https://www.qt.io/" 1.15 + 1.16 +TARBALL="$SOURCE-$VERSION.tar.xz" 1.17 +WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERS[BION/single/$TARBALL" 1.18 +PROVIDE="qt-x11-opensource-src Qt5" 1.19 + 1.20 +DEPENDS="gcc83-lib-base glibc-locale libQt3Support libQt5Core libQt5DBus 1.21 + libQt5Designer libQt5Gui libQt5Help libQt5Network libQt5OpenGL 1.22 + libQt5Script libQt5Sql libQt5Svg libQt5Xml" 1.23 +SUGGESTED="libQt5Plugins libQt5ScriptTools" 1.24 +BUILD_DEPENDS="alsa-lib-dev cups-dev dbus-dev eudev-dev gcc83 glib-dev 1.25 + gst-plugins-base-1.0-dev gtk3-dev icu-dev fontconfig-dev 1.26 + freetype-dev harfbuzz-dev libjpeg-turbo-dev libpng-dev 1.27 + libxcb-dev libxkbcommon-dev mesa-dev openssl-dev pcre-dev 1.28 + sqlite-dev tslib-dev xorg-libX11-dev xorg-libXcomposite-dev 1.29 + xorg-libXrender-dev zlib-dev" 1.30 + 1.31 +# Rules to configure and make the package. 1.32 +compile_rules() 1.33 +{ 1.34 + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib" 1.35 + 1.36 + sed -i 's|gcc|gcc-83|; s|g++|g++-83|' qtbase/mkspecs/common/g++-base.conf 1.37 + 1.38 + ./configure \ 1.39 + -prefix /usr \ 1.40 + -confirm-license -opensource \ 1.41 + -sysconfdir /etc/xdg \ 1.42 + -plugindir /usr/lib/qt5/plugins \ 1.43 + -headerdir /usr/include/qt5 \ 1.44 + -importdir /usr/lib/qt5/imports \ 1.45 + -archdatadir /usr/lib/qt5 \ 1.46 + -bindir /usr/bin \ 1.47 + -datadir /usr/share/qt5 \ 1.48 + -docdir /usr/share/doc/qt5 \ 1.49 + -examplesdir /usr/share/doc/qt5/examples \ 1.50 + -translationdir /usr/share/qt5/translations \ 1.51 + -release \ 1.52 + -nomake examples \ 1.53 + -system-harfbuzz \ 1.54 + -system-sqlite \ 1.55 + -glib \ 1.56 + -optimized-qmake \ 1.57 + -opengl \ 1.58 + -no-openvg \ 1.59 + -no-reduce-relocations \ 1.60 + -continue && 1.61 + make $MAKEFLAGS && 1.62 + make INSTALL_ROOT=$DESTDIR install 1.63 +} 1.64 + 1.65 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.66 +genpkg_rules() 1.67 +{ 1.68 + # dummy tree to avoid 'tazwok cmp --cook' building loop 1.69 + mkdir $fs/etc 1.70 +}