From patchwork Wed Apr 27 10:18:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gwenhael Goavec-Merou X-Patchwork-Id: 615536 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3qvwzX2bK2z9t6S for ; Wed, 27 Apr 2016 20:23:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2082186C24; Wed, 27 Apr 2016 10:23:51 +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 NpRzmLJwRuoH; Wed, 27 Apr 2016 10:23:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1E581864D2; Wed, 27 Apr 2016 10:23:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AF5BA1C10FA for ; Wed, 27 Apr 2016 10:23:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AB11585CDB for ; Wed, 27 Apr 2016 10:23:47 +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 Yqgj8WbnJQYM for ; Wed, 27 Apr 2016 10:23:46 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by whitealder.osuosl.org (Postfix) with ESMTPS id 434C783EAE for ; Wed, 27 Apr 2016 10:23:46 +0000 (UTC) Received: from serveur.trabucayre.com (unknown [78.252.129.8]) by smtp3-g21.free.fr (Postfix) with ESMTP id 283C013F748; Wed, 27 Apr 2016 10:23:53 +0200 (CEST) From: Gwenhael Goavec-Merou To: buildroot@busybox.net Date: Wed, 27 Apr 2016 12:18:48 +0200 Message-Id: <1461752328-28760-1-git-send-email-gwenj@trabucayre.com> X-Mailer: git-send-email 2.1.4 Cc: Gwenhael Goavec-Merou Subject: [Buildroot] [PATCH 1/1] libusbgx: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" From: Gwenhael Goavec-Merou libusbgx is a C library encapsulating the kernel USB gadget-configfs userspace API functionality. Signed-off-by: Gwenhael Goavec-Merou --- package/Config.in | 1 + package/libusbgx/Config.in | 12 ++++++++++++ package/libusbgx/libusbgx.hash | 2 ++ package/libusbgx/libusbgx.mk | 15 +++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/libusbgx/Config.in create mode 100644 package/libusbgx/libusbgx.hash create mode 100644 package/libusbgx/libusbgx.mk diff --git a/package/Config.in b/package/Config.in index 64822bf..de23ad5 100644 --- a/package/Config.in +++ b/package/Config.in @@ -987,6 +987,7 @@ menu "Hardware handling" source "package/libsoc/Config.in" source "package/libusb/Config.in" source "package/libusb-compat/Config.in" + source "package/libusbgx/Config.in" source "package/libv4l/Config.in" source "package/libxkbcommon/Config.in" source "package/mraa/Config.in" diff --git a/package/libusbgx/Config.in b/package/libusbgx/Config.in new file mode 100644 index 0000000..fcebf3c --- /dev/null +++ b/package/libusbgx/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBUSBGX + bool "libusbgx" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBCONFIG + help + libusbgx is a C library encapsulating the kernel USB + gadget-configfs userspace API functionality. + + https://github.com/libusbgx/libusbgx + +comment "libusbgx needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/libusbgx/libusbgx.hash b/package/libusbgx/libusbgx.hash new file mode 100644 index 0000000..c185c58 --- /dev/null +++ b/package/libusbgx/libusbgx.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 1e258205dcde99d0eeb52404ee7ff1bc9a39eb3878e8455fb72bad7cf90c7357 libusbgx-2e3d43ee098ed928d1baa61ce791ce9ff4788c5a.tar.gz diff --git a/package/libusbgx/libusbgx.mk b/package/libusbgx/libusbgx.mk new file mode 100644 index 0000000..9d22e0b --- /dev/null +++ b/package/libusbgx/libusbgx.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libusbgx +# +################################################################################ + +LIBUSBGX_VERSION = 2e3d43ee098ed928d1baa61ce791ce9ff4788c5a +LIBUSBGX_SITE = $(call github,libusbgx,libusbgx,$(LIBUSBGX_VERSION)) +LIBUSBGX_LICENSE = LGPLv2.1+ +LIBUSBGX_LICENSE_FILES = COPYING COPYING.LGPL +LIBUSBGX_DEPENDENCIES = host-pkgconf libconfig +LIBUSBGX_AUTORECONF = YES +LIBUSBGX_INSTALL_STAGING = YES + +$(eval $(autotools-package))