From 07bfc4488b1bd711fa2f897df9029b95d24bbc78 Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Wed, 15 Feb 2023 00:25:45 +0000 Subject: [PATCH] +qrencode (#393) * wip * wip * wip * wip * wip * wip * wip * maybe this fixes intel macs? * maybe this? * maybe this? yikes https://github.com/Qalculate/libqalculate/issues/2#issuecomment-230708780 * jesus david, get it together * remove make line --- projects/github.com/fukuchi/package.yml | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/github.com/fukuchi/package.yml diff --git a/projects/github.com/fukuchi/package.yml b/projects/github.com/fukuchi/package.yml new file mode 100644 index 00000000..866d6ef0 --- /dev/null +++ b/projects/github.com/fukuchi/package.yml @@ -0,0 +1,31 @@ +distributable: + url: https://github.com/fukuchi/libqrencode/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +versions: + github: fukuchi/libqrencode/tags + strip: /v/ + +provides: + - bin/qrencode + +dependencies: + libpng.org: '*' + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + gnu.org/autoconf: '*' + gnu.org/automake: '*' + gnu.org/coreutils: '*' + gnu.org/libtool: '*' + freedesktop.org/pkg-config: '*' + script: | + ./autogen.sh + ./configure --disable-dependency-tracking --prefix={{prefix}} $ARGS + echo '#define VERSION "{{version}}"' >> config.h + make --jobs {{ hw.concurrency }} install + +test: | + qrencode 123456789 -o test.png