wok annotate qt4/receipt @ rev 21752
tazboot: shrink (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 15 22:12:18 2019 +0200 (2019-06-15) |
parents | 2b57d3be76e3 |
children | 52649f27a0da |
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" |
monghitri@13992 | 11 WEB_SITE="http://qt-project.org/" |
psychomaniak@19568 | 12 WGET_URL="http://download.qt.io/official_releases/qt/${VERSION%.*}/$VERSION/$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 |
jozee@5369 | 29 # Rules to configure and make the package. |
jozee@5369 | 30 compile_rules() |
jozee@5369 | 31 { |
psychomaniak@19574 | 32 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${src}/lib" |
psychomaniak@19570 | 33 ./configure\ |
monghitri@13992 | 34 -silent \ |
pankso@5509 | 35 -prefix /usr \ |
pankso@5509 | 36 -confirm-license -opensource \ |
psychomaniak@19568 | 37 -sysconfdir /etc/xdg \ |
pankso@5509 | 38 -plugindir /usr/lib/qt/plugins \ |
slaxemulator@10082 | 39 -importdir /usr/lib/qt/imports \ |
pankso@5509 | 40 -translationdir /usr/share/qt/translations \ |
pankso@5509 | 41 -datadir /usr/share/qt \ |
pankso@5509 | 42 -docdir /usr/share/doc/qt \ |
pankso@5509 | 43 -examplesdir /usr/share/doc/qt/examples \ |
pankso@5509 | 44 -demosdir /usr/share/doc/qt/demos \ |
monghitri@13992 | 45 -release \ |
pankso@5509 | 46 -nomake demos \ |
pankso@5509 | 47 -nomake examples \ |
pankso@5509 | 48 -nomake docs \ |
slaxemulator@6976 | 49 -system-zlib \ |
slaxemulator@6976 | 50 -system-libtiff \ |
slaxemulator@6976 | 51 -system-libpng \ |
slaxemulator@6976 | 52 -system-libmng \ |
slaxemulator@6976 | 53 -system-libjpeg \ |
slaxemulator@6976 | 54 -system-sqlite \ |
slaxemulator@9182 | 55 -scripttools \ |
slaxemulator@6976 | 56 -glib \ |
pankso@5509 | 57 -optimized-qmake \ |
pankso@5509 | 58 -opengl \ |
pascal@13931 | 59 -gtkstyle \ |
psychomaniak@19568 | 60 -no-openvg \ |
psychomaniak@19568 | 61 -no-reduce-relocations \ |
psychomaniak@19568 | 62 -no-phonon \ |
psychomaniak@19568 | 63 -no-phonon-backend \ |
psychomaniak@19568 | 64 -graphicssystem raster \ |
psychomaniak@19568 | 65 -continue \ |
psychomaniak@19570 | 66 2>&1 | grep -v 'wayland-client' | \ |
psychomaniak@19570 | 67 sed 's/such file or directory/file/' && |
gokhlayeh@11574 | 68 make $MAKEFLAGS && |
slaxemulator@10082 | 69 make INSTALL_ROOT=$DESTDIR install |
jozee@5369 | 70 } |
jozee@5369 | 71 |
jozee@5369 | 72 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5369 | 73 genpkg_rules() |
jozee@5369 | 74 { |
jozee@5369 | 75 # dummy tree to avoid 'tazwok cmp --cook' building loop |
jozee@5369 | 76 mkdir $fs/etc |
jozee@5369 | 77 } |