cairo +cairo-xlib (#3494)

* some changes

* darwin
This commit is contained in:
Andrew 2023-10-02 19:24:29 +03:00 committed by GitHub
parent 255b28e6e2
commit 7a42577381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,11 @@ dependencies:
gnome.org/glib: 2
freedesktop.org/fontconfig: 2
sourceware.org/bzip2: 1
x.org/x11: '*'
x.org/xcb: '*'
x.org/exts: '*'
x.org/xrender: '*'
oberhumer.com/lzo: '*'
build:
dependencies:
@ -35,7 +40,7 @@ build:
if: <1.18.0
- run: |
meson setup build --prefix={{ prefix }} --buildtype=release
meson setup build --prefix={{ prefix }} --buildtype=release $ARGS
ninja -C build
ninja -C build install
if: '>=1.18.0'
@ -48,11 +53,28 @@ build:
ln -s . cairo
working-directory: ${{ prefix }}/include
- run: |
tmp_dir=$(ls)
mv $tmp_dir/* .
rmdir $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
- -Dpng=enabled
- -Dglib=enabled
- -Dxcb=enabled
- -Dxlib=enabled
- -Dzlib=enabled
- -Dglib=enabled
test:
script: