From f52badaf803ff10754fd53b345c6b1729566f3b3 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 20 Nov 2023 22:54:55 +0200 Subject: [PATCH] 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 --- projects/duktape.org/package.yml | 6 ++- .../libproxy.github.io/libproxy/package.yml | 41 +++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 projects/libproxy.github.io/libproxy/package.yml diff --git a/projects/duktape.org/package.yml b/projects/duktape.org/package.yml index db0984cb..cf6f8af0 100644 --- a/projects/duktape.org/package.yml +++ b/projects/duktape.org/package.yml @@ -10,11 +10,13 @@ build: - mkdir -p {{prefix}}/bin - install duk {{prefix}}/bin/ env: - INSTALL_PREFIX: "{{prefix}}" + INSTALL_PREFIX: '{{prefix}}' + linux: + LDFLAGS: '$LDFLAGS -lm' provides: - bin/duk test: script: - duk test.js | grep "Hello World!" - - cc test.c -o test -lduktape -lm + - cc test.c -o test -lduktape - ./test diff --git a/projects/libproxy.github.io/libproxy/package.yml b/projects/libproxy.github.io/libproxy/package.yml new file mode 100644 index 00000000..9995600d --- /dev/null +++ b/projects/libproxy.github.io/libproxy/package.yml @@ -0,0 +1,41 @@ +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://"