mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
f542801063
flatten lib structure closes #5179
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
distributable:
|
|
url: https://github.com/libproxy/libproxy/archive/{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
github: libproxy/libproxy
|
|
display-name: libproxy
|
|
dependencies:
|
|
duktape.org: '*'
|
|
gnome.org/glib: '*'
|
|
curl.se: '*'
|
|
linux:
|
|
freedesktop.org/dbus: '*'
|
|
llvm.org: '*'
|
|
build:
|
|
dependencies:
|
|
gnome.org/gobject-introspection: '*'
|
|
gnome.org/gsettings-desktop-schemas: '*'
|
|
mesonbuild.com: '*'
|
|
ninja-build.org: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
gnome.org/vala: '*'
|
|
script:
|
|
- meson setup build $MESON_ARGS
|
|
- meson compile -C build --verbose
|
|
- meson install -C build
|
|
- run: |
|
|
if test -d libproxy; then
|
|
mv libproxy/* .
|
|
rmdir libproxy
|
|
ln -s . libproxy
|
|
fi
|
|
working-directory: '{{prefix}}/lib'
|
|
env:
|
|
MESON_ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
- --buildtype=release
|
|
- --wrap-mode=nofallback
|
|
- -Ddocs=false
|
|
linux:
|
|
LD: clang
|
|
CC: clang
|
|
CXX: clang++
|
|
provides:
|
|
- bin/proxy
|
|
test:
|
|
script:
|
|
- proxy https://tea.xyz/ | grep "direct://"
|