mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(libsoup)
This commit is contained in:
parent
9fc97a5a1b
commit
127b9aff58
1 changed files with 7 additions and 4 deletions
|
@ -32,9 +32,12 @@ build:
|
||||||
- meson compile -C build --verbose
|
- meson compile -C build --verbose
|
||||||
- meson install -C build
|
- meson install -C build
|
||||||
- run: |
|
- run: |
|
||||||
d=$(ls)
|
DIRS=$(find . -mindepth 1 -maxdepth 1 -type d -name libsoup\*)
|
||||||
ln -s $d/libsoup libsoup
|
for d in $DIRS; do
|
||||||
working-directory: "{{prefix}}/include"
|
d2=$(echo $d | sed -r 's/\.\/(libsoup.*)-[0-9]+\.[0-9]+$/\1/')
|
||||||
|
ln -s $d $d2
|
||||||
|
done
|
||||||
|
working-directory: '{{prefix}}/include'
|
||||||
env:
|
env:
|
||||||
MESON_ARGS:
|
MESON_ARGS:
|
||||||
- --prefix="{{prefix}}"
|
- --prefix="{{prefix}}"
|
||||||
|
@ -46,4 +49,4 @@ test:
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
script:
|
script:
|
||||||
- cc test.c $(pkg-config --libs --cflags libsoup-3.0) -o test
|
- cc test.c $(pkg-config --libs --cflags libsoup-3.0) -o test
|
||||||
- ./test
|
- ./test
|
||||||
|
|
Loading…
Reference in a new issue