From cbe00d85638c36e3a3738643ee3626971f62e1bb Mon Sep 17 00:00:00 2001 From: hacknus Date: Wed, 11 Dec 2024 12:11:44 +0100 Subject: [PATCH] move requirements from conda-install to host --- recipes/serial-monitor-rust/recipe.yaml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/recipes/serial-monitor-rust/recipe.yaml b/recipes/serial-monitor-rust/recipe.yaml index 4befbad..b83da48 100644 --- a/recipes/serial-monitor-rust/recipe.yaml +++ b/recipes/serial-monitor-rust/recipe.yaml @@ -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 @@ -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: