wok diff 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
line diff
     1.1 --- a/qt4/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/qt4/receipt	Thu Dec 22 15:11:17 2016 +0100
     1.3 @@ -2,58 +2,38 @@
     1.4  
     1.5  PACKAGE="qt4"
     1.6  SOURCE="qt-everywhere-opensource-src"
     1.7 -VERSION="4.8.6"
     1.8 +VERSION="4.8.7"
     1.9  CATEGORY="meta"
    1.10  SHORT_DESC="qt x11 toolkit"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12  LICENSE="GPL3 LGPL2.1"
    1.13  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://qt-project.org/"
    1.15 -WGET_URL="http://download.qt-project.org/archive/qt/${VERSION%.*}/$VERSION/$TARBALL"
    1.16 +WGET_URL="http://download.qt.io/official_releases/qt/${VERSION%.*}/$VERSION/$TARBALL"
    1.17  PROVIDE="qt-x11-opensource-src Qt4"
    1.18  TAGS="qt"
    1.19  
    1.20  DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
    1.21  libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
    1.22 -libQtOpenGL libQtSql libQtWebkit gstreamer"
    1.23 -BUILD_DEPENDS="xorg-libX11-dev dbus-dev gstreamer-dev gst-python-dev libmng-dev \
    1.24 -cups-dev mysql-dev unixODBC-dev mesa-dev fontconfig-dev libegl-mesa libglu-mesa \
    1.25 -libglw-mesa postgresql-dev gst-plugins-base-dev atk-dev autoconf automake bash \
    1.26 +libQtOpenGL libQtSql libQtWebkit qtconfig"
    1.27 +SUGGESTED="libQtPlugins libQtScriptTools libQtDeclarative"
    1.28 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev mesa-dev libmng-dev cups-dev mysql-dev \
    1.29 +unixODBC-dev fontconfig-dev postgresql-dev atk-dev autoconf automake bash \
    1.30  binutils bison bzip2-dev cairo-dev coreutils expat-dev flex fontconfig-dev \
    1.31  freetype-dev gettext glib-dev jpeg-dev libIDL libcap-dev libpng-dev libtool \
    1.32  libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
    1.33  pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
    1.34  pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
    1.35 -sqlite-dev libglu-mesa-dev libglw-mesa-dev libQtClucene wayland-dev"
    1.36 +xorg-libXv-dev sqlite-dev "
    1.37  
    1.38  # Rules to configure and make the package.
    1.39  compile_rules()
    1.40  {
    1.41 -	cd $src
    1.42 -	
    1.43 -	#ugly fix for missing files, you probably could do better
    1.44 -	
    1.45 -	mkdir -p $src/src/3rdparty/webkit/Source/WebKit2/generated
    1.46 -
    1.47 -	for i in $(grep MessageReceiver.cpp $stuff/missinglist); do
    1.48 -	fileprefix=${i%MessageReceiver.cpp}
    1.49 -	cppfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2  -name $fileprefix.cpp)
    1.50 -	dname=$(dirname $cppfilename)
    1.51 -	/usr/bin/python $src/src/3rdparty/webkit/Source/WebKit2/Scripts/generate-message-receiver.py $dname/$fileprefix.messages.in > $src/src/3rdparty/webkit/Source/WebKit2/generated/$i
    1.52 -	done
    1.53 -	
    1.54 -	for i in $(grep Messages.h $stuff/missinglist); do
    1.55 -	fileprefix=${i%Messages.h}
    1.56 -	hfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2  -name $fileprefix.h)
    1.57 -	dname=$(dirname $hfilename)
    1.58 -	/usr/bin/python $src/src/3rdparty/webkit/Source/WebKit2/Scripts/generate-messages-header.py $dname/$fileprefix.messages.in > $src/src/3rdparty/webkit/Source/WebKit2/generated/$i
    1.59 -	done
    1.60 -	
    1.61  		./configure\
    1.62  		-silent \
    1.63  		-prefix /usr \
    1.64  		-confirm-license -opensource \
    1.65 -		-sysconfdir /etc \
    1.66 +		-sysconfdir /etc/xdg \
    1.67  		-plugindir /usr/lib/qt/plugins \
    1.68  		-importdir /usr/lib/qt/imports \
    1.69  		-translationdir /usr/share/qt/translations \
    1.70 @@ -73,10 +53,15 @@
    1.71  		-system-sqlite \
    1.72  		-scripttools \
    1.73  		-glib \
    1.74 -		-phonon \
    1.75  		-optimized-qmake \
    1.76  		-opengl \
    1.77  		-gtkstyle \
    1.78 +		-no-openvg \
    1.79 +		-no-reduce-relocations \
    1.80 +		-no-phonon \
    1.81 +		-no-phonon-backend \
    1.82 +		-graphicssystem raster \
    1.83 +		-continue \
    1.84  		2>&1 | sed 's/such file or directory/file/' &&
    1.85  	make $MAKEFLAGS &&
    1.86  	make INSTALL_ROOT=$DESTDIR install