mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
ba54f0718a
* new file: projects/gnome.org/libsoup/package.yml new file: projects/gnome.org/libsoup/test.c * maybe gcc * test flags * modified: projects/gnome.org/libsoup/test.c * let's print error msg * openssl * SOUP_SSL_STRICT * . * +curl.se/ca-certs * deps * . * modified: projects/gnome.org/libsoup/package.yml * rename & test --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
49 lines
No EOL
1.2 KiB
YAML
49 lines
No EOL
1.2 KiB
YAML
distributable:
|
|
url: https://download.gnome.org/sources/libsoup/{{version.marketing}}/libsoup-{{version}}.tar.xz
|
|
strip-components: 1
|
|
versions:
|
|
url: https://download.gnome.org/sources/libsoup/cache.json
|
|
match: /libsoup-\d+\.\d+\.\d+\.tar\.xz/
|
|
strip:
|
|
- /^libsoup-/
|
|
- /\.tar\.xz/
|
|
dependencies:
|
|
gnome.org/glib-networking: '*'
|
|
gnutls.org: '*'
|
|
rockdaboot.github.io/libpsl: '*'
|
|
kerberos.org: '*'
|
|
gnome.org/libxml2: '*'
|
|
sqlite.org: '*'
|
|
nghttp2.org: '*'
|
|
linux:
|
|
gnu.org/gettext: '*'
|
|
gnome.org/glib: '*'
|
|
github.com/google/brotli: '*'
|
|
build:
|
|
dependencies:
|
|
gnome.org/gobject-introspection: '*'
|
|
mesonbuild.com: '*'
|
|
ninja-build.org: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
python.org: ~3.11
|
|
gnome.org/vala: '*'
|
|
script:
|
|
- meson setup build $MESON_ARGS
|
|
- meson compile -C build --verbose
|
|
- meson install -C build
|
|
- run: |
|
|
d=$(ls)
|
|
ln -s $d/libsoup libsoup
|
|
working-directory: "{{prefix}}/include"
|
|
env:
|
|
MESON_ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
- --buildtype=release
|
|
- --wrap-mode=nofallback
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- cc test.c $(pkg-config --libs --cflags libsoup-3.0) -o test
|
|
- ./test |