diff options
author | James Cowgill <jcowgill@debian.org> | 2018-05-16 11:30:29 +0100 |
---|---|---|
committer | James Cowgill <jcowgill@debian.org> | 2018-05-16 11:34:09 +0100 |
commit | f15c56ca20da2d9809c776a219396c70e84f9b10 (patch) | |
tree | 151920ed8d5cca2860652f424e1fef45737b1f9f /debian/patches/06_pkgconfig-libs-private.patch | |
parent | 53715dd9061df6012c84f44ce4058e84522e6c4f (diff) |
Add patch to remove unnecessary dependencies from pkg-config files
Diffstat (limited to 'debian/patches/06_pkgconfig-libs-private.patch')
-rw-r--r-- | debian/patches/06_pkgconfig-libs-private.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/06_pkgconfig-libs-private.patch b/debian/patches/06_pkgconfig-libs-private.patch new file mode 100644 index 0000000..050453b --- /dev/null +++ b/debian/patches/06_pkgconfig-libs-private.patch @@ -0,0 +1,38 @@ +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,8 +8,5 @@ Description: The Simple and Fast Multime + 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} +--- 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: @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} +--- 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} |