From 77215a91f3c0a57e4b9a68d5d0f08f4a15d98ba8 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 25 Aug 2026 22:16:31 +0300 Subject: [PATCH] Update dependencies and switch to new download format --- info.yml | 11 +++++++++-- recipe.sh | 10 ---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/info.yml b/info.yml index 7b37ab2..dccd392 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: libfido2 description: Library functionality and command-line tools to communicate with a FIDO device over USB or NFC version: 1.17.0 -revision: 2 +revision: 3 url: https://developers.yubico.com/libfido2/ license: BSD-2-Clause maintainers: @@ -12,7 +12,14 @@ depends: - glibc - hidapi - libcbor - - udev + - libudev - openssl + - zlib make_depends: - cmake + - udev +downloads: + - url: https://github.com/Yubico/libfido2/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: ace062d14a482ff9325410ff63d06c8b5fe87e79ebc18dda07add2bc0188c77f diff --git a/recipe.sh b/recipe.sh index ba27412..dd3bd5d 100644 --- a/recipe.sh +++ b/recipe.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/Yubico/libfido2/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {