Package: libg3d / 0.0.8-26

Only-require-glib2.0-for-header-files.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sven Eckelmann <sven@narfation.org>
Date: Mon, 24 May 2010 10:16:21 +0200
Subject: 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.
---
 libg3d.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libg3d.pc.in b/libg3d.pc.in
index 5c0205b..41849fa 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}