summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/amanith/files/0.3-plugins_dep.patch')
-rw-r--r--media-libs/amanith/files/0.3-plugins_dep.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/amanith/files/0.3-plugins_dep.patch b/media-libs/amanith/files/0.3-plugins_dep.patch
new file mode 100644
index 000000000..4e751e960
--- /dev/null
+++ b/media-libs/amanith/files/0.3-plugins_dep.patch
@@ -0,0 +1,66 @@
+diff -Naurb amanith/plugins/fonts/build.conf amanith.new/plugins/fonts/build.conf
+--- amanith/plugins/fonts/build.conf 2005-09-26 10:18:52.000000000 +0200
++++ amanith.new/plugins/fonts/build.conf 2006-07-03 23:23:23.000000000 +0200
+@@ -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
++INCLUDEPATH += /usr/include/freetype2
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libfreetype2.a $$(AMANITHDIR)/lib/libzlib.a
++unix: LIBS += -L/usr/lib -lfreetype -lz
+ win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+diff -Naurb amanith/plugins/jpeg/build.conf amanith.new/plugins/jpeg/build.conf
+--- amanith/plugins/jpeg/build.conf 2005-09-26 10:19:04.000000000 +0200
++++ amanith.new/plugins/jpeg/build.conf 2006-07-03 23:20:10.000000000 +0200
+@@ -25,7 +25,7 @@
+ }
+ }
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libjpeg.a
++unix: LIBS += -L/usr/lib -ljpeg
+ win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+diff -Naurb amanith/plugins/jpeg/gjpegimpexp.cpp amanith.new/plugins/jpeg/gjpegimpexp.cpp
+--- amanith/plugins/jpeg/gjpegimpexp.cpp 2006-01-26 10:18:45.000000000 +0100
++++ amanith.new/plugins/jpeg/gjpegimpexp.cpp 2006-07-03 23:11:25.000000000 +0200
+@@ -36,7 +36,7 @@
+ #include <csetjmp>
+
+ G_EXTERN_C {
+- #include "../../3rdpart/libjpeg/jpeglib.h"
++ #include <jpeglib.h>
+ };
+
+ /****************************************************************************
+diff -Naurb amanith/plugins/png/build.conf amanith.new/plugins/png/build.conf
+--- amanith/plugins/png/build.conf 2005-09-26 10:19:14.000000000 +0200
++++ amanith.new/plugins/png/build.conf 2006-07-03 23:21:49.000000000 +0200
+@@ -25,9 +25,9 @@
+ }
+ }
+
+-INCLUDEPATH += $$(AMANITHDIR)/3rdpart/zlib
++INCLUDEPATH +=
+
+-unix: LIBS += $$(AMANITHDIR)/lib/libpng.a $$(AMANITHDIR)/lib/libzlib.a
++unix: LIBS += -L/usr/lib -lpng -lz
+ win32: {
+
+ !contains(DEFINES, WIN32_MINGW) {
+diff -Naurb amanith/plugins/png/gpngimpexp.cpp amanith.new/plugins/png/gpngimpexp.cpp
+--- amanith/plugins/png/gpngimpexp.cpp 2006-01-26 10:18:45.000000000 +0100
++++ amanith.new/plugins/png/gpngimpexp.cpp 2006-07-03 23:12:32.000000000 +0200
+@@ -35,7 +35,7 @@
+ //#include <csetjmp>
+
+ G_EXTERN_C {
+- #include "../../3rdpart/libpng/png.h"
++ #include <libpng12/png.h>
+ };
+
+ /****************************************************************************