diff options
Diffstat (limited to 'media-libs/amanith/files/amanith-0.3-build.patch')
-rw-r--r-- | media-libs/amanith/files/amanith-0.3-build.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/amanith/files/amanith-0.3-build.patch b/media-libs/amanith/files/amanith-0.3-build.patch new file mode 100644 index 000000000000..27e6f3a45fec --- /dev/null +++ b/media-libs/amanith/files/amanith-0.3-build.patch @@ -0,0 +1,60 @@ +--- amanith/plugins/fonts/build.conf ++++ amanith/plugins/fonts/build.conf +@@ -38,9 +38,9 @@ + # take into account compilation mode (debug or release)
+ DEFINES -= FT_DEBUG_LEVEL_ERROR FT_DEBUG_LEVEL_TRACE
+
+-INCLUDEPATH += $$(AMANITHDIR)/3rdpart/freetype2/include
++QMAKE_CXXFLAGS += `pkg-config --cflags freetype2` +
+-unix: LIBS += $$(AMANITHDIR)/lib/libfreetype2.a $$(AMANITHDIR)/lib/libzlib.a
++unix: LIBS += `pkg-config --libs freetype2` -lz + win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+--- amanith/plugins/jpeg/build.conf ++++ amanith/plugins/jpeg/build.conf +@@ -25,7 +25,7 @@ + }
+ }
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libjpeg.a
++unix: LIBS += -ljpeg + win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+--- amanith/plugins/jpeg/gjpegimpexp.cpp ++++ amanith/plugins/jpeg/gjpegimpexp.cpp +@@ -36,7 +36,7 @@ + #include <csetjmp>
+
+ G_EXTERN_C { +- #include "../../3rdpart/libjpeg/jpeglib.h" ++ #include <jpeglib.h> + };
+
+ /**************************************************************************** +--- amanith/plugins/png/build.conf ++++ amanith/plugins/png/build.conf +@@ -25,9 +25,8 @@ + }
+ }
+
+-INCLUDEPATH += $$(AMANITHDIR)/3rdpart/zlib
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libpng.a $$(AMANITHDIR)/lib/libzlib.a
++unix: LIBS += -lpng -lz + win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+--- amanith/plugins/png/gpngimpexp.cpp ++++ amanith/plugins/png/gpngimpexp.cpp +@@ -35,7 +35,7 @@ + //#include <csetjmp>
+
+ G_EXTERN_C { +- #include "../../3rdpart/libpng/png.h" ++ #include <png.h> + };
+
+ /**************************************************************************** |