Skip to content

Commit

Permalink
fix display export for test
Browse files Browse the repository at this point in the history
  • Loading branch information
pbordron committed Dec 12, 2024
1 parent 456a6bc commit caaa93d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
9 changes: 4 additions & 5 deletions recipes/gfaviz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
ln -s $CXX $BUILD_PREFIX/bin/g++
export PATH=$BUILD_PREFIX/bin/:$PATH

# Build part
qmake
make
mkdir -p "${PREFIX}/bin"

#if [ -z ${MACOSX_DEPLOYMENT_TARGET+x} ]; then

# Install part
mkdir -p "${PREFIX}/bin"
if [ "$(uname)" = "Darwin" ]; then
cp "${SRC_DIR}/gfaviz.app/Contents/MacOS/gfaviz" "${PREFIX}/bin/" # [ osx ]
cp "${SRC_DIR}/gfaviz.app/Contents/MacOS/gfaviz" "${PREFIX}/bin/"
else
cp "${SRC_DIR}/gfaviz" "${PREFIX}/bin/" # [ linux ]
cp "${SRC_DIR}/gfaviz" "${PREFIX}/bin/"
fi
5 changes: 0 additions & 5 deletions recipes/gfaviz/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ requirements:
run:
- {{ pin_compatible('qt-main', max_pin='x.x.x') }}

test:
commands:
- which gfaviz
# - gfaviz --help

about:
home: https://github.com/ggonnella/gfaviz
license: ISC
Expand Down
3 changes: 3 additions & 0 deletions recipes/gfaviz/run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

DISPLAY=:0.0 gfaviz --help

0 comments on commit caaa93d

Please sign in to comment.