mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
Fix qrencode (#412)
* wip * wip * wip * wip * wip * test output png * fix test
This commit is contained in:
parent
552afcafd8
commit
736bb7cfe6
|
@ -23,9 +23,18 @@ build:
|
|||
freedesktop.org/pkg-config: '*'
|
||||
script: |
|
||||
./autogen.sh
|
||||
./configure --disable-dependency-tracking --prefix={{prefix}} $ARGS
|
||||
./configure $ARGS
|
||||
echo '#define VERSION "{{version}}"' >> config.h
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
make install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix={{prefix}}
|
||||
CFLAGS: $(pkg-config --cflags libpng)
|
||||
LDFLAGS: $(pkg-config --libs libpng)
|
||||
|
||||
test: |
|
||||
test:
|
||||
dependencies:
|
||||
imagemagick.org: '*'
|
||||
script: |
|
||||
qrencode 123456789 -o test.png
|
||||
test "$(identify test.png | rev | cut -d ' ' -f3-| rev)" = "test.png PNG 87x87 87x87+0+0 8-bit sRGB 293B"
|
||||
|
|
Loading…
Reference in a new issue