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 1/2] libcec: add libcec for HDMI device Control
Date: Tue, 7 May 2013 22:59:14 +0200	[thread overview]
Message-ID: <20130507205914.GC22338@free.fr> (raw)
In-Reply-To: <1367959620-17176-1-git-send-email-spenser@gillilanding.com>

Spenser, All,

On Tue, May 07, 2013 at 03:46:59PM -0500, Spenser Gilliland wrote:
> This patch adds libcec for HDMI device control.  It enables Raspberry Pi
> support if the rpi-userland package is installed.
> 
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
[--SNIP--]
> diff --git a/package/libcec/libcec.mk b/package/libcec/libcec.mk
> new file mode 100644
> index 0000000..cc2fbed
> --- /dev/null
> +++ b/package/libcec/libcec.mk
> @@ -0,0 +1,30 @@
> +#############################################################
> +#
> +# libcec
> +#
> +#############################################################
> +
> +LIBCEC_VERSION = libcec-2.1.1
> +LIBCEC_SITE = http://github.com/Pulse-Eight/libcec/tarball/$(LIBCEC_VERSION)
> +LIBCEC_LICENSE = GPLv2+
> +LIBCEC_LICENSE_FILE = COPYING
> +
> +LIBCEC_AUTORECONF = YES

I guess we need autoreconf because we get an extract of the repository,
right? Please add a little note about it, it is not obvious at first
sight.

> +LIBCEC_INSTALL_STAGING = YES
> +LIBCEC_DEPENDENCIES = host-pkgconf
> +
> +ifeq ($(BR2_PACKAGE_LOCKDEV),y)

lockdev is introduced only in a subsequent patch. This should have been
reversed: lockdev first, then libcec.

> +LIBCEC_DEPENDENCIES += lockdev
> +endif
> +
> +ifeq ($(BR2_PACKAGE_UDEV),y)
> +LIBCEC_DEPENDENCIES += udev
> +endif
> +
> +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
> +LIBCEC_CONF_OPT = --enable-rpi \
> +   --with-rpi-include-path=$(STAGING_DIR)/usr/include
> +LIBCEC_DEPENDENCIES += rpi-userland
> +endif

Although not strictly required, I'd like an explicit --disable-rpi in
the case rpi-userland is not available.

(In my twisted mind, I was imediately thinking of using Buildroot on an
RPi that does have rpi-userland, but would not want it in my generated
image, so would not like to pick the system one. Yes, I'm weird.:-] )

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2013-05-07 20:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03 22:08 [Buildroot] [PATCH 1/1] libcec: add the libcec for HDMI device Control Spenser Gilliland
2013-05-06 21:15 ` Thomas Petazzoni
2013-05-06 22:19   ` Peter Korsgaard
2013-05-06 22:51     ` Spenser Gilliland
2013-05-07 20:46 ` [Buildroot] [PATCH v2 1/2] libcec: add " Spenser Gilliland
2013-05-07 20:47   ` [Buildroot] [PATCH v2 2/2] lockdev: add lockdev Spenser Gilliland
2013-05-07 21:05     ` Yann E. MORIN
2013-05-07 21:43       ` Spenser Gilliland
2013-05-08  6:01       ` Arnout Vandecappelle
2013-05-07 20:59   ` Yann E. MORIN [this message]
2013-05-07 21:49     ` [Buildroot] [PATCH v2 1/2] libcec: add libcec for HDMI device Control Spenser Gilliland
2013-05-07 22:02   ` [Buildroot] [PATCH v3 1/2] lockdev: add lockdev Spenser Gilliland
2013-05-07 22:02     ` [Buildroot] [PATCH v3 2/2] libcec: add libcec for HDMI device Control Spenser Gilliland
2013-05-07 22:55       ` Spenser Gilliland
2013-05-08 14:41     ` [Buildroot] [PATCH v3 1/2] lockdev: add lockdev Thomas Petazzoni
2013-05-08 18:55     ` [Buildroot] [PATCH v4 " Spenser Gilliland
2013-05-08 18:55       ` [Buildroot] [PATCH v4 2/2] libcec: add libcec for HDMI device Control Spenser Gilliland
2013-07-29 19:31         ` Thomas Petazzoni
2013-07-29 19:24       ` [Buildroot] [PATCH v4 1/2] lockdev: add lockdev 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=20130507205914.GC22338@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