mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(cairo)
This commit is contained in:
parent
95cbd91a02
commit
218940a9b1
|
@ -54,21 +54,19 @@ build:
|
|||
working-directory: ${{ prefix }}/include
|
||||
|
||||
- run: |
|
||||
tmp_dir=$(ls)
|
||||
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