[Buildroot] [PATCH 03/11] opencv: add jasper support

Samuel Martin s.martin49 at gmail.com
Wed Mar 5 23:08:47 UTC 2014


Yann, all,

On Wed, Mar 5, 2014 at 11:59 PM, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> Samuel, All,
>
> On 2014-02-16 22:59 +0100, Samuel Martin spake thusly:
>> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
>> ---
>>  package/opencv/Config.in | 6 ++++++
>>  package/opencv/opencv.mk | 8 +++++++-
>>  2 files changed, 13 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/opencv/Config.in b/package/opencv/Config.in
>> index 2acbe19..73f03e1 100644
>> --- a/package/opencv/Config.in
>> +++ b/package/opencv/Config.in
>> @@ -158,6 +158,12 @@ config BR2_PACKAGE_OPENCV_WITH_GTK
>>       depends on BR2_INSTALL_LIBSTDCPP
>>       select BR2_PACKAGE_LIBGTK2
>>
>> +config BR2_PACKAGE_OPENCV_WITH_JASPER
>> +     bool "jasper (jpeg 2000) support"
>> +     select BR2_PACKAGE_JASPER
>> +     help
>> +       Use shared libjasper from the target system.
>
> What do you mean by "from the target system?"

OpenCV comes with many libs in its 3rdparty directory (ffmpeg, jinja2,
libjasper, libjpeg, libpng, libtiff, libwebp, openexr, tbb, zlib), and
can build these, or use those provided by the system or disabling
their support.

When I integrated opencv in BR for the first, it was requested to me
to only use the libs provided by the system. I stick to this ;-)

>
> I would expect to read something like:
>
>     config BR2_PACKAGE_OPENCV_WITH_JASPER
>         bool "jpeg2000 support"
>         select BR2_PACKAGE_JASPER
>         help
>           Use libjasper to provide support for jpeg2000.
>

Regards,

-- 
Samuel


More information about the buildroot mailing list