summaryrefslogtreecommitdiffstats
path: root/kde/qtscriptgenerator/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-08 23:12:40 +0100
committersibel <lesibel@free.fr>2011-01-08 23:12:40 +0100
commit1519a8195afcff6d2124b1efcbc06cc46407b43e (patch)
treeabf91642204af7f589e530329b81ef14a85dc14a /kde/qtscriptgenerator/Pkgfile
parent01557bc3de752aa1dbb4686eef7ffdb67aa1fa1a (diff)
downloadnutyx-extra-1519a8195afcff6d2124b1efcbc06cc46407b43e.tar.gz
nutyx-extra-1519a8195afcff6d2124b1efcbc06cc46407b43e.tar.bz2
nutyx-extra-1519a8195afcff6d2124b1efcbc06cc46407b43e.tar.xz
nutyx-extra-1519a8195afcff6d2124b1efcbc06cc46407b43e.zip
qtscriptgenerator, correction port
Diffstat (limited to 'kde/qtscriptgenerator/Pkgfile')
-rw-r--r--kde/qtscriptgenerator/Pkgfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/kde/qtscriptgenerator/Pkgfile b/kde/qtscriptgenerator/Pkgfile
index 29ee55fa9..25d92b76e 100644
--- a/kde/qtscriptgenerator/Pkgfile
+++ b/kde/qtscriptgenerator/Pkgfile
@@ -3,6 +3,7 @@
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: qt, phonon
+
name=qtscriptgenerator
version=0.1.0
release=2
@@ -11,8 +12,15 @@ source=(http://$name.googlecode.com/files/$name-src-$version.tar.gz \
http://nutyx.meticul.eu/files/patchs/$name/{qtscriptgenerator-gcc44.patch,phonon.patch} )
build() {
- cd $name-src-$version/generator
- patch -Np1 -i $SRC/qtscriptgenerator-gcc44.patch
+ 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