Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib
Date: Sun, 12 Jun 2016 22:16:50 +0200	[thread overview]
Message-ID: <20160612201650.GF3711@free.fr> (raw)
In-Reply-To: <1465762042-18942-3-git-send-email-bernd.kuhls@t-online.de>

Bernd, All,

On 2016-06-12 22:07 +0200, Bernd Kuhls spake thusly:
> Add alsa-lib as optional dependency to get a reproducable build.
> Without this patch configure logs:
> 
> checking for ALSA... no
> configure: WARNING: ALSA library not available
> 
> After this patch alsa-lib was built before libv4l:
> checking for ALSA... yes
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

I've had a cursory look at their configure.ac, and it seems there is no
way to explicitly disable support for alsa. Hopefully, it will not pick
up host libs when the target is the same as the host and alsa-libs is
disabled...

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
> v2: no changes
> 
>  package/libv4l/libv4l.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
> index d0a0369..e7a57f0 100644
> --- a/package/libv4l/libv4l.mk
> +++ b/package/libv4l/libv4l.mk
> @@ -18,6 +18,10 @@ LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
>  LIBV4L_LICENSE = GPLv2+ (utilities), LGPLv2.1+ (libraries)
>  LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt
>  
> +ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
> +LIBV4L_DEPENDENCIES += alsa-lib
> +endif
> +
>  ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
>  LIBV4L_DEPENDENCIES += argp-standalone
>  LIBV4L_LIBS += -largp
> -- 
> 2.8.1
> 
> _______________________________________________
> 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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2016-06-12 20:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 20:07 [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Bernd Kuhls
2016-06-12 20:07 ` [Buildroot] [PATCH v2 2/5] package/libv4l: qt4 support depends on OpenGL Bernd Kuhls
2016-06-12 20:15   ` Yann E. MORIN
2016-06-12 20:07 ` [Buildroot] [PATCH v2 3/5] package/libv4l: add optional support for alsa-lib Bernd Kuhls
2016-06-12 20:16   ` Yann E. MORIN [this message]
2016-06-12 20:07 ` [Buildroot] [PATCH v2 4/5] package/libv4l: add optional support for libgl Bernd Kuhls
2016-06-12 20:19   ` Yann E. MORIN
2016-06-12 20:07 ` [Buildroot] [PATCH v2 5/5] package/libv4l: add optional support for libglu Bernd Kuhls
2016-06-12 20:20   ` Yann E. MORIN
2016-06-12 20:14 ` [Buildroot] [PATCH v2 1/5] package/qt: Add optional support for OpenGL Yann E. MORIN
2016-06-13  7:26 ` Thomas Petazzoni

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=20160612201650.GF3711@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox