From 69ac7510d6a33286ffaac3ef5be47c07218a428b Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 15 Oct 2011 17:39:51 +0200 Subject: qtscriptgenerator dans extra --- extra/qtscriptgenerator/Pkgfile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 extra/qtscriptgenerator/Pkgfile (limited to 'extra/qtscriptgenerator/Pkgfile') diff --git a/extra/qtscriptgenerator/Pkgfile b/extra/qtscriptgenerator/Pkgfile new file mode 100644 index 000000000..bfc4fbd11 --- /dev/null +++ b/extra/qtscriptgenerator/Pkgfile @@ -0,0 +1,37 @@ +# Description:Outil pour générer Qt binding pour Qt script +# URL:http://code.google.com/p/qtscriptgenerator/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: qt, phonon +# Run on: qt,phonon + +name=qtscriptgenerator +version=0.1.0 +release=1 + +source=(http://$name.googlecode.com/files/$name-src-$version.tar.gz \ + http://nutyx.meticul.eu/files/patchs/$name/{qtscriptgenerator-gcc44.patch,phonon.patch} ) + +build() { + unset MAKEFLAGS + + cd $name-src-$version + + sed -i "/typesystem_phonon.xml/d" generator/generator.qrc + sed -i "/qtscript_phonon/d" qtbindings/qtbindings.pro + + cd $SRC/$name-src-$version/generator + patch -p1 -i $SRC/qtscriptgenerator-gcc44.patch + # prepare plugins + patch -Np2 -i $SRC/phonon.patch + qmake + make + ./generator --include-paths=/usr/include + # build plugins + cd ../qtbindings + qmake + make + # move plugins to correct directory + mkdir -p $PKG/usr/lib/qt/plugins/script + mv $SRC/$name-src-$version/plugins/script/* $PKG/usr/lib/qt/plugins/script/ +} -- cgit v1.2.3-70-g09d2