Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add display3d #29157

Merged
merged 2 commits into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions recipes/display3d/build.bat
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions recipes/display3d/build.sh
Original file line number Diff line number Diff line change
@@ -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 .
38 changes: 38 additions & 0 deletions recipes/display3d/recipe.yaml
Original file line number Diff line number Diff line change
@@ -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