diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 17:39:51 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 17:39:51 +0200 |
commit | 69ac7510d6a33286ffaac3ef5be47c07218a428b (patch) | |
tree | ff9a5b2a72f490bfd32636b46ca265fc3a161f58 /extra/qtscriptgenerator/Pkgfile | |
parent | d02b5c472c86a6ad0e3a78ee67e93a92e9a4b61f (diff) | |
download | nutyx-pakxe-69ac7510d6a33286ffaac3ef5be47c07218a428b.tar.gz nutyx-pakxe-69ac7510d6a33286ffaac3ef5be47c07218a428b.tar.bz2 nutyx-pakxe-69ac7510d6a33286ffaac3ef5be47c07218a428b.tar.xz nutyx-pakxe-69ac7510d6a33286ffaac3ef5be47c07218a428b.zip |
qtscriptgenerator dans extra
Diffstat (limited to 'extra/qtscriptgenerator/Pkgfile')
-rw-r--r-- | extra/qtscriptgenerator/Pkgfile | 37 |
1 files changed, 37 insertions, 0 deletions
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/ +} |