[FFmpeg-devel] [PATCH] create all pkg-config files in their own subdirectory
Aurelien Jacobs
aurel
Tue Jun 17 01:01:15 CEST 2008
Diego Biurrun wrote:
> On Mon, Jun 16, 2008 at 10:13:55AM +0100, M?ns Rullg?rd wrote:
> >
> > Diego Biurrun wrote:
> > > On Mon, Jun 16, 2008 at 09:05:46AM +0100, M?ns Rullg?rd wrote:
> > >> Diego Biurrun <diego at biurrun.de> writes:
> > >>
> > >> > Here is a patch to move .pc files into their own directory instead of
> > >> > having them clutter up the root. I will commit on Wednesday unless
> > >> > somebody objects.
> > >> >
> > >> > --- configure (revision 13775)
> > >> > +++ configure (working copy)
> > >> > @@ -2185,6 +2185,8 @@
> > >> >
> > >> > # build pkg-config files
> > >> >
> > >> > +mkdir pkgconfig
> > >>
> > >> This should use mkdir -p to avoid an error message if the directory
> > >> already exists.
> > >
> > > You are right, I changed this locally. OK otherwise?
> >
> > On second thoughts, why do you put the .pc files in a directory of
> > their own? Why not in libav*? I don't really care that much though,
> > and I wouldn't miss those files if you removed them completely.
>
> Indeed, this sounds like a good idea. I will implement it.
AFAIR, people who tried to link uninstalled ffmpeg with their apps
just had to export PKG_CONFIG_PATH=path/to/ffmpeg.
Now they have to
export PKG_CONFIG_PATH=path/to/ffmpeg/libavutil:path/to/ffmpeg/libavcodec:...
which seems a bit more painful.
So putting all the *.pc files in the same directory may be better.
That said, I'm not part of those people, so I can't really tell.
Aurel
More information about the ffmpeg-devel
mailing list