pantry/projects/libproxy.github.io/libproxy/package.yml
Andrew f52badaf80
libproxy.github.io/libproxy (#3513)
* new file:   projects/libproxy.github.io/libproxy/package.yml

* display-name

* curl

* maybe

* llvm

* wip

* wip

* add gcc

* llvm

* include -lm on linux

* maybe it's duktape that needs libm

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2023-11-20 15:54:55 -05:00

41 lines
945 B
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
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://"