fixed packaging
[platform/upstream/libvorbis.git] / packaging / libvorbis-pkgconfig.patch
1 Index: vorbis.pc.in
2 ================================================================================
3 --- vorbis.pc.in
4 +++ vorbis.pc.in
5 @@ -8,7 +8,8 @@
6  Name: vorbis
7  Description: vorbis is the primary Ogg Vorbis library
8  Version: @VERSION@
9 -Requires: ogg
10 +Requires.private: ogg
11  Conflicts:
12 -Libs: -L${libdir} -lvorbis -lm
13 +Libs: -L${libdir} -lvorbis 
14 +Libs.private: -lm
15  Cflags: -I${includedir}
16 --- vorbisenc.pc.in
17 +++ vorbisenc.pc.in
18 @@ -8,7 +8,7 @@
19  Name: vorbisenc
20  Description: vorbisenc is a library that provides a convenient API for setting up an encoding environment using libvorbis
21  Version: @VERSION@
22 -Requires: vorbis
23 +Requires.private: vorbis
24  Conflicts:
25  Libs: -L${libdir} -lvorbisenc
26  Cflags: -I${includedir}
27 --- vorbisfile.pc.in
28 +++ vorbisfile.pc.in
29 @@ -8,7 +8,7 @@
30  Name: vorbisfile
31  Description: vorbisfile is a library that provides a convenient high-level API for decoding and basic manipulation of all Vorbis I audio streams
32  Version: @VERSION@
33 -Requires: vorbis
34 +Requires.private: vorbis
35  Conflicts:
36  Libs: -L${libdir} -lvorbisfile
37  Cflags: -I${includedir}