fix(cairo)

This commit is contained in:
Jacob Heider 2024-04-17 16:00:36 -04:00 committed by Jacob Heider
parent 95cbd91a02
commit 218940a9b1

View file

@ -54,21 +54,19 @@ build:
working-directory: ${{ prefix }}/include working-directory: ${{ prefix }}/include
- run: | - run: |
if [ -d cairo ]; then
tmp_dir=cairo
else
tmp_dir=$(ls) tmp_dir=$(ls)
fi
mv $tmp_dir/* . mv $tmp_dir/* .
rmdir $tmp_dir rmdir $tmp_dir
ln -s . $tmp_dir
working-directory: ${{ prefix }}/lib working-directory: ${{ prefix }}/lib
if: linux
- run: |
mv cairo/* .
rmdir cairo
ln -s . cairo
working-directory: ${{ prefix }}/lib
if: darwin
env: env:
ARGS: ARGS:
- -Dfreetype=enabled - -Dfreetype=enabled
- -Dfontconfig=enabled
- -Dpng=enabled - -Dpng=enabled
- -Dglib=enabled - -Dglib=enabled
- -Dxcb=enabled - -Dxcb=enabled