wok annotate qt4/receipt @ rev 19572
qt4: race condition in $src/tools
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Dec 22 23:49:47 2016 +0100 (2016-12-22) |
parents | bb506432c82c |
children | 2b57d3be76e3 |
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@19570 | 32 # sed -i "s|-O2|${CXXFLAGS}|" mkspecs/common/{g++,gcc}-base.conf |
psychomaniak@19570 | 33 sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" mkspecs/common/gcc-base-unix.conf |
psychomaniak@19570 | 34 sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" mkspecs/common/gcc-base.conf |
psychomaniak@19570 | 35 ./configure\ |
monghitri@13992 | 36 -silent \ |
pankso@5509 | 37 -prefix /usr \ |
pankso@5509 | 38 -confirm-license -opensource \ |
psychomaniak@19568 | 39 -sysconfdir /etc/xdg \ |
pankso@5509 | 40 -plugindir /usr/lib/qt/plugins \ |
slaxemulator@10082 | 41 -importdir /usr/lib/qt/imports \ |
pankso@5509 | 42 -translationdir /usr/share/qt/translations \ |
pankso@5509 | 43 -datadir /usr/share/qt \ |
pankso@5509 | 44 -docdir /usr/share/doc/qt \ |
pankso@5509 | 45 -examplesdir /usr/share/doc/qt/examples \ |
pankso@5509 | 46 -demosdir /usr/share/doc/qt/demos \ |
monghitri@13992 | 47 -release \ |
pankso@5509 | 48 -nomake demos \ |
pankso@5509 | 49 -nomake examples \ |
pankso@5509 | 50 -nomake docs \ |
slaxemulator@6976 | 51 -system-zlib \ |
slaxemulator@6976 | 52 -system-libtiff \ |
slaxemulator@6976 | 53 -system-libpng \ |
slaxemulator@6976 | 54 -system-libmng \ |
slaxemulator@6976 | 55 -system-libjpeg \ |
slaxemulator@6976 | 56 -system-sqlite \ |
slaxemulator@9182 | 57 -scripttools \ |
slaxemulator@6976 | 58 -glib \ |
pankso@5509 | 59 -optimized-qmake \ |
pankso@5509 | 60 -opengl \ |
pascal@13931 | 61 -gtkstyle \ |
psychomaniak@19568 | 62 -no-openvg \ |
psychomaniak@19568 | 63 -no-reduce-relocations \ |
psychomaniak@19568 | 64 -no-phonon \ |
psychomaniak@19568 | 65 -no-phonon-backend \ |
psychomaniak@19570 | 66 -no-rpath \ |
psychomaniak@19568 | 67 -graphicssystem raster \ |
psychomaniak@19568 | 68 -continue \ |
psychomaniak@19570 | 69 2>&1 | grep -v 'wayland-client' | \ |
psychomaniak@19570 | 70 sed 's/such file or directory/file/' && |
psychomaniak@19572 | 71 find $src/tools -name Makefile | xargs sed -i 's|(MAKE)|& -j1|' ;cd $src |
gokhlayeh@11574 | 72 make $MAKEFLAGS && |
slaxemulator@10082 | 73 make INSTALL_ROOT=$DESTDIR install |
jozee@5369 | 74 } |
jozee@5369 | 75 |
jozee@5369 | 76 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@5369 | 77 genpkg_rules() |
jozee@5369 | 78 { |
jozee@5369 | 79 # dummy tree to avoid 'tazwok cmp --cook' building loop |
jozee@5369 | 80 mkdir $fs/etc |
jozee@5369 | 81 } |