wok-current annotate qt4/receipt @ rev 19568

Up qt4 (4.8.7)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Dec 22 15:11:17 2016 +0100 (2016-12-22)
parents d3eb5f4b53ea
children 1e7cef522d76
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@19568 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 {
monghitri@13992 32 ./configure\
monghitri@13992 33 -silent \
pankso@5509 34 -prefix /usr \
pankso@5509 35 -confirm-license -opensource \
psychomaniak@19568 36 -sysconfdir /etc/xdg \
pankso@5509 37 -plugindir /usr/lib/qt/plugins \
slaxemulator@10082 38 -importdir /usr/lib/qt/imports \
pankso@5509 39 -translationdir /usr/share/qt/translations \
pankso@5509 40 -datadir /usr/share/qt \
pankso@5509 41 -docdir /usr/share/doc/qt \
pankso@5509 42 -examplesdir /usr/share/doc/qt/examples \
pankso@5509 43 -demosdir /usr/share/doc/qt/demos \
monghitri@13992 44 -release \
pankso@5509 45 -nomake demos \
pankso@5509 46 -nomake examples \
pankso@5509 47 -nomake docs \
slaxemulator@6976 48 -system-zlib \
slaxemulator@6976 49 -system-libtiff \
slaxemulator@6976 50 -system-libpng \
slaxemulator@6976 51 -system-libmng \
slaxemulator@6976 52 -system-libjpeg \
slaxemulator@6976 53 -system-sqlite \
slaxemulator@9182 54 -scripttools \
slaxemulator@6976 55 -glib \
pankso@5509 56 -optimized-qmake \
pankso@5509 57 -opengl \
pascal@13931 58 -gtkstyle \
psychomaniak@19568 59 -no-openvg \
psychomaniak@19568 60 -no-reduce-relocations \
psychomaniak@19568 61 -no-phonon \
psychomaniak@19568 62 -no-phonon-backend \
psychomaniak@19568 63 -graphicssystem raster \
psychomaniak@19568 64 -continue \
pascal@13934 65 2>&1 | sed 's/such file or directory/file/' &&
gokhlayeh@11574 66 make $MAKEFLAGS &&
slaxemulator@10082 67 make INSTALL_ROOT=$DESTDIR install
jozee@5369 68 }
jozee@5369 69
jozee@5369 70 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5369 71 genpkg_rules()
jozee@5369 72 {
jozee@5369 73 # dummy tree to avoid 'tazwok cmp --cook' building loop
jozee@5369 74 mkdir $fs/etc
jozee@5369 75 }