summaryrefslogtreecommitdiffstats
path: root/kde/qtscriptgenerator/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/qtscriptgenerator/Pkgfile')
-rw-r--r--kde/qtscriptgenerator/Pkgfile37
1 files changed, 0 insertions, 37 deletions
diff --git a/kde/qtscriptgenerator/Pkgfile b/kde/qtscriptgenerator/Pkgfile
deleted file mode 100644
index bfc4fbd11..000000000
--- a/kde/qtscriptgenerator/Pkgfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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/
-}