wok diff qt4/receipt @ rev 14275

Add: primateplunge
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 06 13:06:23 2013 +0000 (2013-04-06)
parents 9b04d0fc0a89
children 7bb096863642
line diff
     1.1 --- a/qt4/receipt	Sat Jan 26 12:25:05 2013 +0100
     1.2 +++ b/qt4/receipt	Sat Apr 06 13:06:23 2013 +0000
     1.3 @@ -2,13 +2,13 @@
     1.4  
     1.5  PACKAGE="qt4"
     1.6  SOURCE="qt-everywhere-opensource-src"
     1.7 -VERSION="4.7.3"
     1.8 +VERSION="4.8.4"
     1.9  CATEGORY="meta"
    1.10  SHORT_DESC="qt x11 toolkit"
    1.11  MAINTAINER="allan316@gmail.com"
    1.12  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://qt.nokia.com/"
    1.14 -WGET_URL="ftp://ftp.qt.nokia.com/qt/source/$TARBALL"
    1.15 +WEB_SITE="http://qt-project.org/"
    1.16 +WGET_URL="http://releases.qt-project.org/qt4/source/$TARBALL"
    1.17  PROVIDE="qt-x11-opensource-src"
    1.18  TAGS="qt"
    1.19  
    1.20 @@ -29,11 +29,29 @@
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	touch .qmake.vars
    1.25 -	./configure -v \
    1.26 +	
    1.27 +	#ugly fix for missing files, you probably could do better
    1.28 +	
    1.29 +	mkdir -p $src/src/3rdparty/webkit/Source/WebKit2/generated
    1.30 +
    1.31 +	for i in $(grep MessageReceiver.cpp $stuff/missinglist); do
    1.32 +	fileprefix=${i%MessageReceiver.cpp}
    1.33 +	cppfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2  -name $fileprefix.cpp)
    1.34 +	dname=$(dirname $cppfilename)
    1.35 +	/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.36 +	done
    1.37 +	
    1.38 +	for i in $(grep Messages.h $stuff/missinglist); do
    1.39 +	fileprefix=${i%Messages.h}
    1.40 +	hfilename=$(find $src/src/3rdparty/webkit/Source/WebKit2  -name $fileprefix.h)
    1.41 +	dname=$(dirname $hfilename)
    1.42 +	/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.43 +	done
    1.44 +	
    1.45 +		./configure\
    1.46 +		-silent \
    1.47  		-prefix /usr \
    1.48  		-confirm-license -opensource \
    1.49 -		-silent \
    1.50  		-sysconfdir /etc \
    1.51  		-plugindir /usr/lib/qt/plugins \
    1.52  		-importdir /usr/lib/qt/imports \
    1.53 @@ -42,7 +60,7 @@
    1.54  		-docdir /usr/share/doc/qt \
    1.55  		-examplesdir /usr/share/doc/qt/examples \
    1.56  		-demosdir /usr/share/doc/qt/demos \
    1.57 -		-no-separate-debug-info \
    1.58 +		-release \
    1.59  		-nomake demos \
    1.60  		-nomake examples \
    1.61  		-nomake docs \
    1.62 @@ -68,8 +86,4 @@
    1.63  {
    1.64  	# dummy tree to avoid 'tazwok cmp --cook' building loop
    1.65  	mkdir $fs/etc
    1.66 -	# pkgconfig path fixes
    1.67 -	sed -i -e "s|-L$src/_pkg/usr/lib||g" $install/usr/lib/pkgconfig/*.pc
    1.68 -	sed -i -e "s|$src/_pkg/usr/bin/moc|/usr/bin/moc|g" $install/usr/lib/pkgconfig/*.pc
    1.69 -	sed -i -e "s|$src/_pkg/usr/bin/uic|/usr/bin/uic|g" $install/usr/lib/pkgconfig/*.pc
    1.70  }