mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
parent
255b28e6e2
commit
7a42577381
1 changed files with 23 additions and 1 deletions
|
@ -16,6 +16,11 @@ dependencies:
|
||||||
gnome.org/glib: 2
|
gnome.org/glib: 2
|
||||||
freedesktop.org/fontconfig: 2
|
freedesktop.org/fontconfig: 2
|
||||||
sourceware.org/bzip2: 1
|
sourceware.org/bzip2: 1
|
||||||
|
x.org/x11: '*'
|
||||||
|
x.org/xcb: '*'
|
||||||
|
x.org/exts: '*'
|
||||||
|
x.org/xrender: '*'
|
||||||
|
oberhumer.com/lzo: '*'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -35,7 +40,7 @@ build:
|
||||||
if: <1.18.0
|
if: <1.18.0
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
meson setup build --prefix={{ prefix }} --buildtype=release
|
meson setup build --prefix={{ prefix }} --buildtype=release $ARGS
|
||||||
ninja -C build
|
ninja -C build
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
if: '>=1.18.0'
|
if: '>=1.18.0'
|
||||||
|
@ -48,11 +53,28 @@ build:
|
||||||
ln -s . cairo
|
ln -s . cairo
|
||||||
working-directory: ${{ prefix }}/include
|
working-directory: ${{ prefix }}/include
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
tmp_dir=$(ls)
|
||||||
|
mv $tmp_dir/* .
|
||||||
|
rmdir $tmp_dir
|
||||||
|
working-directory: ${{ prefix }}/lib
|
||||||
|
if: linux
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
mv cairo/* .
|
mv cairo/* .
|
||||||
rmdir cairo
|
rmdir cairo
|
||||||
ln -s . cairo
|
ln -s . cairo
|
||||||
working-directory: ${{ prefix }}/lib
|
working-directory: ${{ prefix }}/lib
|
||||||
|
if: darwin
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -Dfreetype=enabled
|
||||||
|
- -Dpng=enabled
|
||||||
|
- -Dglib=enabled
|
||||||
|
- -Dxcb=enabled
|
||||||
|
- -Dxlib=enabled
|
||||||
|
- -Dzlib=enabled
|
||||||
|
- -Dglib=enabled
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue