From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v7 7/7] package/vlc: add opencv support
Date: Sun, 5 Jul 2015 11:39:14 +0200 [thread overview]
Message-ID: <20150705093914.GG3647@free.fr> (raw)
In-Reply-To: <1436036821-10073-8-git-send-email-s.martin49@gmail.com>
Samuel, all,
On 2015-07-04 21:07 +0200, Samuel Martin spake thusly:
> This change adds 2 patches (backported from upstream) to vlc fixing the
> build against opencv2 APIs.
> This allows to select the minimal set of opencv modules when opencv
> support is enabled.
>
> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This reviewd tag stands, still I have a question:
> diff --git a/package/vlc/Config.in b/package/vlc/Config.in
> index b030a56..471f4a7 100644
> --- a/package/vlc/Config.in
> +++ b/package/vlc/Config.in
> @@ -11,6 +11,8 @@ config BR2_PACKAGE_VLC
> depends on BR2_TOOLCHAIN_HAS_THREADS
> depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
> select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS
> + select BR2_PACKAGE_OPENCV_LIB_IMGPROC if BR2_PACKAGE_OPENCV
> + select BR2_PACKAGE_OPENCV_LIB_OBJDETECT if BR2_PACKAGE_OPENCV
objdetect already selects imgproc. So, does vlc w/ opencv really need
imgproc by itself? If so, the select is OK, otherwise, it is
superfluous.
Regards,
Yann E. MORIN.
> help
> VLC is a free and open source cross-platform multimedia player
> and framework that plays most multimedia files as well as DVD,
> diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
> index 4ef69aa..a553648 100644
> --- a/package/vlc/vlc.mk
> +++ b/package/vlc/vlc.mk
> @@ -44,7 +44,6 @@ VLC_CONF_OPTS += \
> --disable-projectm \
> --disable-vsxu \
> --disable-mtp \
> - --disable-opencv \
> --disable-mmal-codec \
> --disable-mmal-vout \
> --disable-dvdnav \
> @@ -148,6 +147,13 @@ else
> VLC_CONF_OPTS += --disable-gles2
> endif
>
> +ifeq ($(BR2_PACKAGE_OPENCV),y)
> +VLC_CONF_OPTS += --enable-opencv
> +VLC_DEPENDENCIES += opencv
> +else
> +VLC_CONF_OPTS += --disable-opencv
> +endif
> +
> ifeq ($(BR2_PACKAGE_OPUS),y)
> VLC_CONF_OPTS += --enable-opus
> VLC_DEPENDENCIES += libvorbis opus
> --
> 2.4.5
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-07-05 9:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-04 19:06 [Buildroot] [PATCH v7 0/7] OpenCV bump Samuel Martin
2015-07-04 19:06 ` [Buildroot] [PATCH v7 1/7] package/opencv: add a choice for selecting gstreamer support Samuel Martin
2015-07-05 8:35 ` Yann E. MORIN
2015-07-04 19:06 ` [Buildroot] [PATCH v7 2/7] package/opencv: add gstreamer-1.x support Samuel Martin
2015-07-05 8:45 ` Yann E. MORIN
2015-07-05 9:10 ` Samuel Martin
2015-07-04 19:06 ` [Buildroot] [PATCH v7 3/7] package/opencv: add a choice for selecting the gui toolkit Samuel Martin
2015-07-05 8:49 ` Yann E. MORIN
2015-07-04 19:06 ` [Buildroot] [PATCH v7 4/7] package/opencv: add qt5 support Samuel Martin
2015-07-05 9:11 ` Yann E. MORIN
2015-07-04 19:06 ` [Buildroot] [PATCH v7 5/7] package/opencv: add gtk3 support Samuel Martin
2015-07-05 9:21 ` Yann E. MORIN
2015-07-05 9:31 ` Samuel Martin
2015-07-04 19:07 ` [Buildroot] [PATCH v7 6/7] package/opencv: add opengl support Samuel Martin
2015-07-05 9:27 ` Yann E. MORIN
2015-07-04 19:07 ` [Buildroot] [PATCH v7 7/7] package/vlc: add opencv support Samuel Martin
2015-07-05 9:39 ` Yann E. MORIN [this message]
2015-07-05 9:49 ` Samuel Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150705093914.GG3647@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.