]> git.pld-linux.org Git - packages/gegl-qt.git/blob - gegl-qt-qmake.patch
- updated URLs
[packages/gegl-qt.git] / gegl-qt-qmake.patch
1 --- gegl-qt-0.0.7/pygegl-qt/pygegl-qt.pro.orig  2014-10-15 18:57:31.885719725 +0200
2 +++ gegl-qt-0.0.7/pygegl-qt/pygegl-qt.pro       2014-10-15 20:39:37.055462675 +0200
3 @@ -49,7 +49,8 @@
4  
5  # Generate
6  QMAKE_EXTRA_TARGETS += generate
7 -generate.target = generate
8 +generate.depends = global.h typesystem_gegl-qt.xml
9 +generate.target = geglqt
10  generate.commands += shiboken \
11                  global.h \
12                  --include-paths=$$GEN_INCLUDE_PATHS \
13 @@ -61,8 +62,9 @@
14  QMAKE_EXTRA_TARGETS += compile
15  compile.depends += generate
16  compile.target = compile
17 -compile.commands += g++ -DNO_IMPORT_PYGOBJECT geglqt/geglqt_*.cpp $$INCLUDES -Wall -fPIC -c;
18 -compile.commands += g++ geglqt/geglqt_module_wrapper.cpp $$INCLUDES -Wall -fPIC -c
19 +compile.commands += $$QMAKE_CXX $$QMAKE_CXXFLAGS_RELEASE -DNO_IMPORT_PYGOBJECT geglqt/geglqt_*.cpp $$INCLUDES -Wall -fPIC -c;
20 +compile.commands += $$QMAKE_CXX $$QMAKE_CXXFLAGS_RELEASE geglqt/geglqt_module_wrapper.cpp $$INCLUDES -Wall -fPIC -c;
21 +compile.commands += touch compile
22  
23  
24  LIBRARIES += -L../../gegl-qt -l$$GEGLQT_LIBNAME
25 @@ -74,7 +75,7 @@
26  link.target = $$GEGLQT_LIBNAME/geglqt.so
27  link.commands += mkdir -p $$GEGLQT_LIBNAME;
28  link.commands += cd $$GEGLQT_LIBNAME;
29 -link.commands += g++ ../geglqt*wrapper.o $$LIBRARIES -fPIC -shared -Wl,-soname,geglqt.so -o geglqt.so
30 +link.commands += $$QMAKE_CXX $$QMAKE_LFLAGS_RELEASE ../geglqt*wrapper.o $$LIBRARIES -fPIC -shared -Wl,-soname,geglqt.so -o geglqt.so
31  
32  # Install
33  PYTHON_SITE_PACKAGES = $$system(`echo $PYTHON` -c \"from distutils.sysconfig import get_python_lib; print get_python_lib(True)\")
34 @@ -83,7 +84,7 @@
35  
36  }
37  
38 -modules.files = $$GEGLQT_LIBNAME/geglqt.so
39 +modules.files = $$OUT_PWD/$$GEGLQT_LIBNAME/geglqt.so
40  modules.CONFIG += no_check_exist
41  modules.path = $$PYTHON_SITE_PACKAGES/$$GEGLQT_LIBNAME
42  
This page took 0.079345 seconds and 3 git commands to generate.