mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05: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 install -C build
|
||||
- run: |
|
||||
d=$(ls)
|
||||
ln -s $d/libsoup libsoup
|
||||
working-directory: "{{prefix}}/include"
|
||||
DIRS=$(find . -mindepth 1 -maxdepth 1 -type d -name libsoup\*)
|
||||
for d in $DIRS; do
|
||||
d2=$(echo $d | sed -r 's/\.\/(libsoup.*)-[0-9]+\.[0-9]+$/\1/')
|
||||
ln -s $d $d2
|
||||
done
|
||||
working-directory: '{{prefix}}/include'
|
||||
env:
|
||||
MESON_ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
@ -46,4 +49,4 @@ test:
|
|||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
- cc test.c $(pkg-config --libs --cflags libsoup-3.0) -o test
|
||||
- ./test
|
||||
- ./test
|
||||
|
|
Loading…
Reference in a new issue