Package: libg3d / 0.0.8-20

pc-glib2-private.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Only require glib2.0 for header files
 Programs linked against libg3d doesn't need to link to glib2.0 when they don't
 use it directly. Pkg-config allows us to use Require.private in such
 situations.
Author: Sven Eckelmann <sven@narfation.org>

---
diff --git a/libg3d.pc.in b/libg3d.pc.in
index 5c0205b41afc5ef5bf6276d35ddd0b4d02f66163..41849fa26880c0c27c36eb3cf0d30c7fc22bad16 100644
--- a/libg3d.pc.in
+++ b/libg3d.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
 Name: libg3d
 Version: @VERSION@
 Description: 3D object loading library
-Requires: glib-2.0
+Requires.private: glib-2.0
 Libs: -L${libdir} -lg3d
 Libs.private: -lm @MAGIC_LIBS@ @LIBGSF_LIBS@
 Cflags: -I${includedir}