+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
This commit is contained in:
David Roman 2023-02-15 00:25:45 +00:00 committed by GitHub
parent 8a81d33387
commit 07bfc4488b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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