From patchwork Thu Feb 21 14:58:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 222315 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 667352C0085 for ; Fri, 22 Feb 2013 02:00:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 07A7E313E2; Thu, 21 Feb 2013 15:00:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RZw00vZn1TKN; Thu, 21 Feb 2013 15:00:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D816F314A3; Thu, 21 Feb 2013 14:59:43 +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 70FD88F75B for ; Thu, 21 Feb 2013 14:59:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E9C76856A8 for ; Thu, 21 Feb 2013 14:59:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5xfwbrnxbckp for ; Thu, 21 Feb 2013 14:59:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id AF075849AF for ; Thu, 21 Feb 2013 14:59:25 +0000 (UTC) Received: by mail-ee0-f44.google.com with SMTP id l10so4769747eei.3 for ; Thu, 21 Feb 2013 06:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references; bh=yfCpVXSHrXzuJlyMSKAzGo0yOI1sYkOTvGlMPvJJ8iY=; b=EBMgCRXqOs4wKebabu4DbjUkpIf8WVEoh39Aqe6DO41IkYPwEmSFvmwJjNjD65oArl BZIEdaNzqQtISn/DhfZ7lHPMcBybAhoQTtY5WJa3X84NYl40OGlFRSSAhSmMF13+loKY Pe4P4akCN9zQQuh3R4e7LUBQ5HLVwLQeSAgrJYN4kZ9ZvF30w6zu5RO24eGajwP8yoGR jtRQML/PloW8Ki6ASN22qRrw4fUml16W7hSfRdUokL4mKRGlaQHQWIZmg6dXYWgWiJXl BjwHcNV2F8agBSlIYRFz0ebrmR1WckhO8yN3vuu0EfwOWuh9Uhlci9MpS+hRKjEQfLeZ 53VA== X-Received: by 10.14.205.68 with SMTP id i44mr81374931eeo.25.1361458763938; Thu, 21 Feb 2013 06:59:23 -0800 (PST) Received: from localhost (193.5-14-84.ripe.coltfrance.com. [84.14.5.193]) by mx.google.com with ESMTPS id 44sm115453360eek.5.2013.02.21.06.59.22 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 21 Feb 2013 06:59:23 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Thu, 21 Feb 2013 15:58:36 +0100 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 06/13] libcec: new package 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 libCEC allows you in combination with the right hardware to control your device with your TV remote control. Utilising your existing HDMI cabling This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli Signed-off-by: Maxime Hadjinlian --- package/Config.in | 1 + package/libcec/Config.in | 30 ++++++++++++++++++++++++++++++ package/libcec/libcec.mk | 22 ++++++++++++++++++++++ 3 files changed, 53 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 2106391..c6e1fd4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -448,6 +448,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..5051b94 --- /dev/null +++ b/package/libcec/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBCEC + bool "libcec" + select BR2_PACKAGE_LOCKDEV + depends on BR2_USE_WCHAR + depends on BR2_INSTALL_LIBSTDCPP + help + libCEC allows you in combination with the right hardware to + control your device with your TV remote control. Utilising your + existing HDMI cabling. + + https://github.com/Pulse-Eight/libcec + +if BR2_PACKAGE_LIBCEC && BR2_arm + +config BR2_PACKAGE_LIBCEC_RBP + bool "rpi support" + depends on BR2_LARGEFILE + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_RPI_USERLAND + help + Enable RasberryPi support + +comment "rpi support requires a toolchain with LARGEFILE and C++ support" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_LARGEFILE) + +endif + +comment "libcec requires a toolchain with WCHAR and C++ support" + depends on !(BR2_USE_WCHAR && BR2_INSTALL_LIBSTDCPP) + diff --git a/package/libcec/libcec.mk b/package/libcec/libcec.mk new file mode 100644 index 0000000..2974cbf --- /dev/null +++ b/package/libcec/libcec.mk @@ -0,0 +1,22 @@ +############################################################# +# +# libcec +# +############################################################# + +LIBCEC_VERSION = 89ea1724e7a4bde3f7a4f958b414889cefddb841 +LIBCEC_SITE = http://github.com/Pulse-Eight/libcec/tarball/master +LIBCEC_INSTALL_STAGING = YES +LIBCEC_AUTORECONF = YES +LIBCEC_LICENSE = GPLv2 +LIBCEC_LICENSE_FILES = COPYING +LIBCEC_DEPENDENCIES = lockdev host-pkgconf + +ifeq ($(BR2_PACKAGE_LIBCEC_RBP),y) +LIBCEC_DEPENDENCIES += rpi-userland +LIBCEC_CONF_OPT += --enable-rpi \ + --with-rpi-lib-path=$(STAGING_DIR)/usr/lib \ + --with-rpi-include-path=$(STAGING_DIR)/usr/include +endif + +$(eval $(autotools-package))