Skip to content

Commit

Permalink
move requirements from conda-install to host
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Dec 11, 2024
1 parent 28b9889 commit cbe00d8
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions recipes/serial-monitor-rust/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ build:
- cargo install --locked --bins --root ${PREFIX} --path .
- if: linux
then:
- conda install conda-forge::libclang conda-forge::gtk3 conda-forge::libxcb conda-forge::libxkbcommon conda-forge::openssl conda-forge::libudev -y
- conda list libudev
- conda install -c conda-forge pkg-config
- export PKG_CONFIG_PATH=$BUILD_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
- ls $BUILD_PREFIX/lib/pkgconfig/libudev.pc
- pkg-config --cflags --libs libudev
Expand All @@ -47,9 +44,26 @@ requirements:
- ${{ compiler('cxx') }}
- cargo-bundle-licenses
- pkg-config
- if: linux
then:
libclang
gtk3
libxcb
libxkbcommon
openssl
libudev
- if: win
then:
rust

run:
- if: linux
then:
libclang
gtk3
libxcb
libxkbcommon
openssl
libudev

about:
Expand Down

0 comments on commit cbe00d8

Please sign in to comment.