1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description: Remove *.private fields from pkg-config files
This avoids unnecessary dependencies which are only needed when building static
libraries. It also removes the unused dependency on glu.
Author: James Cowgill <jcowgill@debian.org>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tools/pkg-config/sfml-audio.pc.in
+++ b/tools/pkg-config/sfml-audio.pc.in
@@ -8,6 +8,5 @@ Description: The Simple and Fast Multime
URL: http://www.sfml-dev.org
Version: @PROJECT_VERSION@
Requires: sfml-system
-Requires.private: vorbisenc, vorbisfile, vorbis, ogg, flac
Libs: -L${libdir} -lsfml-audio
Cflags: -I${includedir}
--- a/tools/pkg-config/sfml-graphics.pc.in
+++ b/tools/pkg-config/sfml-graphics.pc.in
@@ -8,8 +8,5 @@ Description: The Simple and Fast Multime
URL: http://www.sfml-dev.org
Version: @PROJECT_VERSION@
Requires: sfml-window
-Requires.private: sfml-system, freetype2
Libs: -L${libdir} -lsfml-graphics
-# gl may not be in pkg-config
-Libs.private: @OPENGL_gl_LIBRARY@ @OPENGL_glu_LIBRARY@
Cflags: -I${includedir}
--- a/tools/pkg-config/sfml-window.pc.in
+++ b/tools/pkg-config/sfml-window.pc.in
@@ -9,6 +9,4 @@ URL: http://www.sfml-dev.org
Version: @PROJECT_VERSION@
Requires: sfml-system
Libs: -L${libdir} -lsfml-window
-# gl may not be in pkg-config
-Libs.private: @OPENGL_gl_LIBRARY@ @OPENGL_glu_LIBRARY@
Cflags: -I${includedir}
|