Fwd: Re: Update FindFFmpeg to find/search for libswscale
Alexander Neundorf
neundorf at kde.org
Wed May 26 21:12:21 CEST 2010
On Wednesday 26 May 2010, Andreas Scherf wrote:
> Am Mittwoch, 26. Mai 2010 schrieb Alexander Neundorf:
> > On Wednesday 26 May 2010, Andreas Scherf wrote:
> > > Hi Alexander,
> > > i want the best solution! A private copy is hard to maintain. I think a
> > > single solution for finding ffmpeg is the best solution.
> >
> > Please keep kde-buildsystem on CC.
>
> Ok, but i am not subscibed to this list ..
That's no problem, other people responding can also keep you on CC.
> > A private copy is to maintain, but it is a magnitude easier to maintain
> > than a shared, installed file.
> > An installed file needs to keep source compatibility for all of KDE 4.x.
> > A private copy doesn't have to care about source compatibility as long as
> > the project where it is used works.
>
> You are the expert for this. If you think, it is better to have a local
> copy inside kdemultimedia the it should be so. If not we should have one
> for kde. I'll accept your or any other decision.
If you use the attached file as a private, not-installed copy inside
kdemultimedia this is fine with me.
But I would also be happy if we try to improve the FindFFmpeg.cmake in kdelibs
so it does what you need. This file is quite straightforward and easy to
understand.
Adding support for finding libswscale to it doesn't look to hard.
If you have a look at the file, you'll see what to do.
Basically add find_path() and find_library() calls for the respective files.
Alex
More information about the Kde-buildsystem
mailing list