mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35: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
|
working-directory: ${{ prefix }}/include
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
tmp_dir=$(ls)
|
if [ -d cairo ]; then
|
||||||
|
tmp_dir=cairo
|
||||||
|
else
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue