summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2018-10-17 09:31:40 +0100
committerJames Cowgill <jcowgill@debian.org>2018-10-17 09:31:40 +0100
commit8f3f6064f8a63c458b8e70c68b70fdb2dea50758 (patch)
tree7f84835eb30a1a8cafe7ceb76dbefd8912d03379
parent3809be7de116324a7b14d4bf775ea2a13c16faa1 (diff)
Remove *.private fields from pkg-config filesarchive/debian/2.5.1+dfsg-1
This avoids unnecessary dependencies which are only needed when building static libraries. It also removes the unused dependency on glu. Forwarded: not-needed Gbp-Pq: Name 06_pkgconfig-libs-private.patch
-rw-r--r--tools/pkg-config/sfml-audio.pc.in3
-rw-r--r--tools/pkg-config/sfml-graphics.pc.in3
-rw-r--r--tools/pkg-config/sfml-window.pc.in2
3 files changed, 0 insertions, 8 deletions
diff --git a/tools/pkg-config/sfml-audio.pc.in b/tools/pkg-config/sfml-audio.pc.in
index 0d7a3ce..7456daa 100644
--- a/tools/pkg-config/sfml-audio.pc.in
+++ b/tools/pkg-config/sfml-audio.pc.in
@@ -8,8 +8,5 @@ Description: The Simple and Fast Multimedia Library, audio module.
URL: http://www.sfml-dev.org
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
Requires: sfml-system
-Requires.private: openal, vorbisenc, vorbisfile, vorbis, ogg, flac
Libs: -L${libdir} -lsfml-audio
-# openal may be a system framework
-Libs.private: @OPENAL_LIBRARY@
Cflags: -I${includedir}
diff --git a/tools/pkg-config/sfml-graphics.pc.in b/tools/pkg-config/sfml-graphics.pc.in
index b138160..d0a88a1 100644
--- 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 Multimedia Library, graphics module.
URL: http://www.sfml-dev.org
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
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}
diff --git a/tools/pkg-config/sfml-window.pc.in b/tools/pkg-config/sfml-window.pc.in
index 93bf344..b0266e6 100644
--- 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: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
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}