summaryrefslogtreecommitdiffstats
path: root/kde/qtscriptgenerator
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:12:43 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 21:12:43 +0200
commitd819b4da5cabf971e0d439973cd26f2fefbcea00 (patch)
tree758af9092a99a38ed75b876302acf1564f282b22 /kde/qtscriptgenerator
parent20bd16a152198d8637839124410925fd16b720c4 (diff)
downloadnutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.tar.gz
nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.tar.bz2
nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.tar.xz
nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.zip
Ajout de qtscriptgenerator#0.1.0-1
Diffstat (limited to 'kde/qtscriptgenerator')
-rw-r--r--kde/qtscriptgenerator/.md5sum2
-rw-r--r--kde/qtscriptgenerator/Pkgfile28
-rw-r--r--kde/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch11
3 files changed, 41 insertions, 0 deletions
diff --git a/kde/qtscriptgenerator/.md5sum b/kde/qtscriptgenerator/.md5sum
new file mode 100644
index 000000000..370b99a52
--- /dev/null
+++ b/kde/qtscriptgenerator/.md5sum
@@ -0,0 +1,2 @@
+ca4046ad4bda36cd4e21649d4b98886d qtscriptgenerator-src-0.1.0.tar.gz
+26abd805d7bb68b5613cc7fd26e8ad4c qtscriptgenerator.gcc-4.4.patch
diff --git a/kde/qtscriptgenerator/Pkgfile b/kde/qtscriptgenerator/Pkgfile
new file mode 100644
index 000000000..9f3158f2c
--- /dev/null
+++ b/kde/qtscriptgenerator/Pkgfile
@@ -0,0 +1,28 @@
+# 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
+name=qtscriptgenerator
+version=0.1.0
+release=1
+group=travail
+
+source=(http://$name.googlecode.com/files/$name-src-$version.tar.gz \
+ qtscriptgenerator.gcc-4.4.patch)
+
+build() {
+ cd $name-src-$version/generator
+ # prepare plugins
+ patch -Np1 -i $SRC/qtscriptgenerator.gcc-4.4.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/
+}
diff --git a/kde/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch b/kde/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch
new file mode 100644
index 000000000..01193d734
--- /dev/null
+++ b/kde/qtscriptgenerator/qtscriptgenerator.gcc-4.4.patch
@@ -0,0 +1,11 @@
+diff -uNr generator.orig/parser/rpp/pp.h generator/parser/rpp/pp.h
+--- generator.orig/parser/rpp/pp.h 2008-12-05 11:01:44.000000000 +0100
++++ generator/parser/rpp/pp.h 2008-12-13 10:42:22.000000000 +0100
+@@ -30,6 +30,7 @@
+ #include <cctype>
+
+ #include <fcntl.h>
++#include <cstdio>
+
+ #ifdef HAVE_MMAP
+ # include <sys/mman.h> \ No newline at end of file