mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
b6ba7c0970
commit
77d7388773
1 changed files with 30 additions and 9 deletions
|
@ -18,6 +18,8 @@ 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
|
||||||
|
mesonbuild.com: ^1
|
||||||
|
ninja-build.org: ^1
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -27,20 +29,39 @@ build:
|
||||||
libexpat.github.io: =2.4.9
|
libexpat.github.io: =2.4.9
|
||||||
gnome.org/gobject-introspection: 1
|
gnome.org/gobject-introspection: 1
|
||||||
gnu.org/libtool: ^2
|
gnu.org/libtool: ^2
|
||||||
script: |
|
script:
|
||||||
./configure --prefix={{ prefix }} --disable-dependency-tracking
|
- run: |
|
||||||
make --jobs {{ hw.concurrency }}
|
./configure --prefix={{ prefix }} --disable-dependency-tracking
|
||||||
make install
|
make --jobs {{ hw.concurrency }}
|
||||||
|
make install
|
||||||
|
if: <1.18.0
|
||||||
|
|
||||||
rm -rf {{prefix}}/share # docs are online
|
- run: |
|
||||||
|
meson setup build --prefix={{ prefix }} --buildtype=release
|
||||||
|
ninja -C build
|
||||||
|
ninja -C build install
|
||||||
|
if: '>=1.18.0'
|
||||||
|
|
||||||
|
- rm -rf {{prefix}}/share # docs are online
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
mv cairo/* .
|
||||||
|
rmdir cairo
|
||||||
|
ln -s . cairo
|
||||||
|
working-directory: ${{ prefix }}/include
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
mv cairo/* .
|
||||||
|
rmdir cairo
|
||||||
|
ln -s . cairo
|
||||||
|
working-directory: ${{ prefix }}/lib
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
script: |
|
script:
|
||||||
cc test.c -I{{prefix}}/include/cairo -lcairo
|
- cc test.c -lcairo
|
||||||
./a.out
|
- ./a.out
|
||||||
#FIXME env should add that include path via pkg-config look up
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/cairo-trace
|
- bin/cairo-trace
|
||||||
|
|
Loading…
Reference in a new issue