package/libb2: new package

Both the target and host variants of this package will be needed for
qt6base.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Peter Seiderer 2022-07-25 17:25:18 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 39c08b2aa1
commit 2156c6d216
5 changed files with 31 additions and 0 deletions

View File

@ -2335,6 +2335,7 @@ F: package/gstreamer1/gst1-devtools/
F: package/gstreamer1/gst1-interpipe/
F: package/gstreamer1/gstreamer1-editing-services/
F: package/iwd/
F: package/libb2/
F: package/libcamera-apps/
F: package/libevdev/
F: package/libuev/
@ -2851,6 +2852,7 @@ F: package/hiawatha/
F: package/igh-ethercat/
F: package/intltool/
F: package/jh71xx-tools/
F: package/libb2/
F: package/libcap/
F: package/libffi/
F: package/libsha1/

View File

@ -1416,6 +1416,7 @@ menu "Crypto"
source "package/gnutls/Config.in"
source "package/libargon2/Config.in"
source "package/libassuan/Config.in"
source "package/libb2/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libgpgme/Config.in"

6
package/libb2/Config.in Normal file
View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_LIBB2
bool "libb2"
help
C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp.
https://github.com/BLAKE2/libb2

3
package/libb2/libb2.hash Normal file
View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 10053dbc2fa342516b780a6bbf6e7b2a2360b8d49c5ac426936bf3df82526732 libb2-0.98.1.tar.gz
sha256 6a1ee543e5282cd9061881edf462e6fdab181f328da71fc2c9a6950a80e94d01 COPYING

19
package/libb2/libb2.mk Normal file
View File

@ -0,0 +1,19 @@
################################################################################
#
# libb2
#
################################################################################
LIBB2_VERSION = 0.98.1
LIBB2_SITE = $(call github,BLAKE2,libb2,v$(LIBB2_VERSION))
LIBB2_LICENSE = CC0-1.0
LIBB2_LICENSE_FILES = COPYING
LIBB2_INSTALL_STAGING = YES
LIBB2_AUTORECONF = YES
LIBB2_DEPENDENCIES = host-pkgconf
LIBB2_CONF_OPTS = --disable-fat --disable-native
HOST_LIBB2_DEPENDENCIES = host-pkgconf
HOST_LIBB2_CONF_OPTS = --disable-fat --enable-native
$(eval $(autotools-package))
$(eval $(host-autotools-package))