diff --git a/recipes/display3d/build.bat b/recipes/display3d/build.bat new file mode 100644 index 0000000000000..6a7373dc5577c --- /dev/null +++ b/recipes/display3d/build.bat @@ -0,0 +1,5 @@ +set CARGO_PROFILE_RELEASE_STRIP=symbols +set CARGO_PROFILE_RELEASE_LTO=fat + +cargo-bundle-licenses --format yaml --output THIRDPARTY.yml || exit 1 +cargo install --no-track --locked --root "%LIBRARY_PREFIX%" --path . || exit 1 diff --git a/recipes/display3d/build.sh b/recipes/display3d/build.sh new file mode 100644 index 0000000000000..40adee19f6953 --- /dev/null +++ b/recipes/display3d/build.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -euo pipefail + +export OPENSSL_DIR=$PREFIX +export CARGO_PROFILE_RELEASE_STRIP=symbols +export CARGO_PROFILE_RELEASE_LTO=fat + +cargo-bundle-licenses --format yaml --output THIRDPARTY.yml +cargo install --no-track --locked --root "$PREFIX" --path . diff --git a/recipes/display3d/recipe.yaml b/recipes/display3d/recipe.yaml new file mode 100644 index 0000000000000..eba170b19a87b --- /dev/null +++ b/recipes/display3d/recipe.yaml @@ -0,0 +1,38 @@ +context: + name: display3d + version: '0.2.1' + +package: + name: ${{ name|lower }} + version: ${{ version }} + +source: + url: https://github.com/renpenguin/display3d/archive/v${{ version }}.tar.gz + sha256: 9eb86c960cffaf1a49c727bf18969624d29e2b84b6fccf60d97bff5dc1282429 + +build: + number: 0 + +requirements: + build: + - ${{ compiler('rust') }} + - ${{ stdlib('c') }} + - cargo-bundle-licenses + +tests: + - script: + - display3d --version + +about: + homepage: https://github.com/renpenguin/display3d + summary: A command line interface for rendering and animating 3D objects + description: display3d is a command line interface for rendering and animating 3D objects using ANSI escape codes, written using gemini-engine in the Rust programming language. + license: MIT + license_file: + - LICENSE + - THIRDPARTY.yml + repository: https://github.com/renpenguin/display3d + +extra: + recipe-maintainers: + - pavelzw