[PATCH] pkgconfig support for libdvdnav
Hi. This is a similar patch for libdvdnav. The only difference is that pkg-config doesn't support --prefix, so I made configure2 check for $dvdreadconfig --cflags output instead. Patch attached. OK to apply? Dan, could you add the corresponding autotools part? Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Sunday, 13 July 2008 at 17:03, Dominik 'Rathann' Mierzejewski wrote:
Hi.
This is a similar patch for libdvdnav. The only difference is that pkg-config doesn't support --prefix, so I made configure2 check for $dvdreadconfig --cflags output instead.
Patch attached. OK to apply? Dan, could you add the corresponding autotools part?
This one is actually incomplete (doesn't provide an equivalent of --minilibs). I'll send an updated one shortly. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Sunday, 13 July 2008 at 17:24, Dominik 'Rathann' Mierzejewski wrote:
On Sunday, 13 July 2008 at 17:03, Dominik 'Rathann' Mierzejewski wrote:
Hi.
This is a similar patch for libdvdnav. The only difference is that pkg-config doesn't support --prefix, so I made configure2 check for $dvdreadconfig --cflags output instead.
Patch attached. OK to apply? Dan, could you add the corresponding autotools part?
This one is actually incomplete (doesn't provide an equivalent of --minilibs). I'll send an updated one shortly.
Updated patch attached. With the patch applied, pkg-config dvdnav --variable=minilibs is the equivalent of dvdnav-config --minilibs Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Il giorno dom, 13/07/2008 alle 17.03 +0200, Dominik 'Rathann' Mierzejewski ha scritto:
Hi.
This is a similar patch for libdvdnav. The only difference is that pkg-config doesn't support --prefix, so I made configure2 check for $dvdreadconfig --cflags output instead.
Patch attached. OK to apply? Dan, could you add the corresponding autotools part?
Regards, R.
ok
On Sunday, 13 July 2008 at 18:15, Nico Sabbi wrote:
Il giorno dom, 13/07/2008 alle 17.03 +0200, Dominik 'Rathann' Mierzejewski ha scritto:
Hi.
This is a similar patch for libdvdnav. The only difference is that pkg-config doesn't support --prefix, so I made configure2 check for $dvdreadconfig --cflags output instead.
Patch attached. OK to apply? Dan, could you add the corresponding autotools part?
ok
Applied with fixes for problems noticed by Uoti. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
participants (2)
-
Dominik 'Rathann' Mierzejewski -
Nico Sabbi