From patchwork Wed May 8 18:55:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spenser Gilliland X-Patchwork-Id: 242635 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 259B72C00F2 for ; Thu, 9 May 2013 05:03:35 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F031A8C9DE; Wed, 8 May 2013 19:03:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z73RIHLrEVgc; Wed, 8 May 2013 19:03:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 50B998C975; Wed, 8 May 2013 19:03:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A4A438F7AC for ; Wed, 8 May 2013 19:03:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2DB318C9BD for ; Wed, 8 May 2013 19:03:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a41NO76-kydM for ; Wed, 8 May 2013 19:03:23 +0000 (UTC) X-Greylist: delayed 00:07:47 by SQLgrey-1.7.6 Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by whitealder.osuosl.org (Postfix) with ESMTPS id CD6A88C90F for ; Wed, 8 May 2013 19:03:22 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id l10so2465420oag.37 for ; Wed, 08 May 2013 12:03:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=U8rT5SjI682yqeOW468kNBokpQ966symn3tLIk9bo+o=; b=F0WTyhdIcoKEjNCckLxVssBguEN7ZEi1ayEh6PJ6KyZMjnWYq5hDPjHv9IHg97sWmi EuNs6myVYBDGlwt2fZ01a84O4hGx/NzyzqGGQnupxd+olLi8OvHldoEv5Dz8rzHDq/fN 2VQ5iESxWygOPwRwr9ky3sNohxt+zfdSZRruowzUJcTA+G5z/inZnlsMcnkRM6uFPGH7 11odFXvzjGI4B6GPUMpTZwAWyhk6E0swpXKZJ+ICa3f0sGepQ0jwNEEo1wC9XGlzXHbd 1Bs+KshPshZAeYXbJv33cLRx3VIYsARzpQZeWJmuZG9OyiOcqPIrmmmIJTwZcPbykVUd /4+Q== X-Received: by 10.60.83.103 with SMTP id p7mr2491501oey.130.1368039336605; Wed, 08 May 2013 11:55:36 -0700 (PDT) Received: from bourban.iit.edu (dhcp33.hum.iit.edu. [216.47.158.33]) by mx.google.com with ESMTPSA id xz9sm8610186oeb.5.2013.05.08.11.55.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 May 2013 11:55:36 -0700 (PDT) From: Spenser Gilliland To: buildroot@busybox.net Date: Wed, 8 May 2013 13:55:27 -0500 Message-Id: <1368039327-10007-2-git-send-email-spenser@gillilanding.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1368039327-10007-1-git-send-email-spenser@gillilanding.com> References: <1367964142-23036-1-git-send-email-spenser@gillilanding.com> <1368039327-10007-1-git-send-email-spenser@gillilanding.com> X-Gm-Message-State: ALoCoQmXFjPxDDmqd5mIGkbbUZystPtYbUJUoQKS/maOkwMdpqItHViH5E7DO4zt0V8VwY6o91G9 Subject: [Buildroot] [PATCH v4 2/2] libcec: add libcec for HDMI device Control X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- package/Config.in | 1 + package/libcec/Config.in | 8 ++++++++ package/libcec/libcec.mk | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 package/libcec/Config.in create mode 100644 package/libcec/libcec.mk diff --git a/package/Config.in b/package/Config.in index 05e2d45..df1e88e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -464,6 +464,7 @@ source "package/imx-lib/Config.in" source "package/lcdapi/Config.in" source "package/libaio/Config.in" source "package/libatasmart/Config.in" +source "package/libcec/Config.in" source "package/libraw1394/Config.in" source "package/tslib/Config.in" source "package/libfreefare/Config.in" diff --git a/package/libcec/Config.in b/package/libcec/Config.in new file mode 100644 index 0000000..1cacd4a --- /dev/null +++ b/package/libcec/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LIBCEC + bool "libcec" + help + libcec allows you in combination with the right hardware to control your + home theater devices with your TV remote control utilizing existing HDMI + cabling. + + http://libcec.pulse-eight.com diff --git a/package/libcec/libcec.mk b/package/libcec/libcec.mk new file mode 100644 index 0000000..e3a69c6 --- /dev/null +++ b/package/libcec/libcec.mk @@ -0,0 +1,33 @@ +############################################################# +# +# 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 + +# Autoreconf required due to being a dev tarball and not a release tarball. +LIBCEC_AUTORECONF = YES +LIBCEC_INSTALL_STAGING = YES +LIBCEC_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_PACKAGE_LOCKDEV),y) +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 +else +LIBCEC_CONF_OPT = --disable-rpi +endif + +$(eval $(autotools-package))