summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cowgill <jcowgill@debian.org>2024-05-12 22:56:18 +0100
committerJames Cowgill <jcowgill@debian.org>2024-05-12 22:56:18 +0100
commita6d355c8a4836e11ca8b034e9f97242141ed6e1f (patch)
tree977f7993aa0265ad54274c541a28a7a52b397c0d
parent103ac63472a6275e44a4cda39d2f4be1a976a612 (diff)
Remove *.private fields from pkg-config files
Forwarded: not-needed 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 ad7fad7..5440543 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 46f5387..49326c4 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 e216473..34311da 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}