[vlc-commits] contrib: SDL_image: add missing dependencies to .pc file

Rafaël Carré git at videolan.org
Tue Nov 15 16:46:49 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Nov 15 10:45:18 2011 -0500| [59b38619a3a28925e95c11de8ab1b453eb2bfb65] | committer: Rafaël Carré

contrib: SDL_image: add missing dependencies to .pc file

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=59b38619a3a28925e95c11de8ab1b453eb2bfb65
---

 contrib/src/SDL_image/pkg-config.patch |    9 +++++++++
 contrib/src/SDL_image/rules.mak        |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/contrib/src/SDL_image/pkg-config.patch b/contrib/src/SDL_image/pkg-config.patch
new file mode 100644
index 0000000..8cbb35b
--- /dev/null
+++ b/contrib/src/SDL_image/pkg-config.patch
@@ -0,0 +1,9 @@
+--- SDL_image/SDL_image.pc.in.orig	2011-11-15 10:34:23.504770604 -0500
++++ SDL_image/SDL_image.pc.in	2011-11-15 10:34:39.924852030 -0500
+@@ -8,5 +8,6 @@
+ Version: @VERSION@
+ Requires: sdl >= @SDL_VERSION@
+ Libs: -L${libdir} -lSDL_image
++Libs.private:  -ljpeg -ltiff -lpng -lz
+ Cflags: -I${includedir}/SDL
+ 
diff --git a/contrib/src/SDL_image/rules.mak b/contrib/src/SDL_image/rules.mak
index 1df59a0..dae8ab3 100644
--- a/contrib/src/SDL_image/rules.mak
+++ b/contrib/src/SDL_image/rules.mak
@@ -16,6 +16,7 @@ $(TARBALLS)/SDL_image-$(SDL_IMAGE_VERSION).tar.gz:
 SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image
 	$(UNPACK)
 	$(APPLY) $(SRC)/SDL_image/SDL_image.patch
+	$(APPLY) $(SRC)/SDL_image/pkg-config.patch
 	$(MOVE)
 
 DEPS_SDL_image = png $(DEPS_png) jpeg $(DEPS_jpeg) tiff $(DEPS_tiff) \



More information about the vlc-commits mailing list