From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by mail.openembedded.org (Postfix) with ESMTP id 8CEC972F94 for ; Thu, 11 May 2017 18:19:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id DFAA020B84; Thu, 11 May 2017 18:19:36 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B8PRSTj1emTS; Thu, 11 May 2017 18:19:36 +0000 (UTC) Received: from mail.denix.org (pool-100-15-85-143.washdc.fios.verizon.net [100.15.85.143]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id B4BED20187; Thu, 11 May 2017 18:19:34 +0000 (UTC) Received: by mail.denix.org (Postfix, from userid 1000) id 3C7391624B3; Thu, 11 May 2017 14:19:34 -0400 (EDT) Date: Thu, 11 May 2017 14:19:34 -0400 From: Denys Dmytriyenko To: Marek Belisko Message-ID: <20170511181928.GB28053@denix.org> References: <1494524580-21718-1-git-send-email-marek.belisko@open-nandra.com> MIME-Version: 1.0 In-Reply-To: <1494524580-21718-1-git-send-email-marek.belisko@open-nandra.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] recipes-support: Add recipe for libgpiod X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2017 18:19:39 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Not to derail your enthusiasm, but since this is being proposed for OE-Core, how is it better than libsoc by Jack Mitchell? On Thu, May 11, 2017 at 07:43:00PM +0200, Marek Belisko wrote: > libgpiod - C library and tools for interacting with the linux GPIO > character device > > Since linux 4.8 the GPIO sysfs interface is deprecated. > User space should use the character device instead. > This library encapsulates the ioctl calls and data structures behind a > straightforward API. > > Signed-off-by: Marek Belisko > --- > meta/recipes-support/libgpiod/libgpiod_0.2.bb | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 meta/recipes-support/libgpiod/libgpiod_0.2.bb > > diff --git a/meta/recipes-support/libgpiod/libgpiod_0.2.bb b/meta/recipes-support/libgpiod/libgpiod_0.2.bb > new file mode 100644 > index 0000000..fe2cd80 > --- /dev/null > +++ b/meta/recipes-support/libgpiod/libgpiod_0.2.bb > @@ -0,0 +1,25 @@ > +SUMMARY = "C library and tools for interacting with the linux GPIO character device" > +HOMEPAGE = "https://github.com/brgl/libgpiod" > + > +LICENSE = "LGPLv2.1+" > +LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" > + > +UPSTREAM_CHECK_URI = "https://github.com/brgl/libgpiod/releases" > + > +SRC_URI = "https://github.com/brgl/libgpiod/archive/v${PV}.tar.gz" > + > +SRC_URI[md5sum] = "e3430f35b6efa842693d659c0bfb7ad5" > +SRC_URI[sha256sum] = "de1947f3cb2cc4174364af430309fe6238976658575655bdbd76c60cffa7df92" > + > +inherit autotools pkgconfig > + > +# enable tools > +PACKAGECONFIG ?= "tools" > + > +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" > +PACKAGECONFIG[tools] = "--enable-tools,--disable-tools," > + > +PACKAGES += " ${PN}-tools" > + > +FILES_${PN} = "${libdir}/*" > +FILES_${PN}-tools = "${bindir}/*" > -- > 2.7.4 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core