mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
fix(cairo)
This commit is contained in:
parent
95cbd91a02
commit
218940a9b1
1 changed files with 7 additions and 9 deletions
|
@ -54,21 +54,19 @@ build:
|
|||
working-directory: ${{ prefix }}/include
|
||||
|
||||
- run: |
|
||||
if [ -d cairo ]; then
|
||||
tmp_dir=cairo
|
||||
else
|
||||
tmp_dir=$(ls)
|
||||
fi
|
||||
mv $tmp_dir/* .
|
||||
rmdir $tmp_dir
|
||||
ln -s . $tmp_dir
|
||||
working-directory: ${{ prefix }}/lib
|
||||
if: linux
|
||||
|
||||
- run: |
|
||||
mv cairo/* .
|
||||
rmdir cairo
|
||||
ln -s . cairo
|
||||
working-directory: ${{ prefix }}/lib
|
||||
if: darwin
|
||||
env:
|
||||
ARGS:
|
||||
- -Dfreetype=enabled
|
||||
- -Dfontconfig=enabled
|
||||
- -Dpng=enabled
|
||||
- -Dglib=enabled
|
||||
- -Dxcb=enabled
|
||||
|
|
Loading…
Reference in a new issue