mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
255b28e6e2
commit
7a42577381
1 changed files with 23 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue