mirror of
https://github.com/ivabus/pantry
synced 2024-11-09 18:15:18 +03:00
parent
4929b10b31
commit
eb2b6cc24c
|
@ -1,6 +1,6 @@
|
|||
distributable:
|
||||
url: https://versaweb.dl.sourceforge.net/project/libjpeg-turbo/{{version}}/libjpeg-turbo-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
url: https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/{{version.tag}}/libjpeg-turbo-{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: libjpeg-turbo/libjpeg-turbo
|
||||
|
@ -9,14 +9,14 @@ build:
|
|||
dependencies:
|
||||
cmake.org: ^3
|
||||
working-directory: build
|
||||
script: |
|
||||
cmake .. $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
script:
|
||||
- cmake .. $ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DWITH_JPEG8=1
|
||||
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DWITH_JPEG8=1
|
||||
|
||||
provides:
|
||||
- bin/cjpeg
|
||||
|
@ -26,6 +26,6 @@ provides:
|
|||
- bin/tjbench
|
||||
- bin/wrjpgcom
|
||||
|
||||
test: |
|
||||
jpegtran -crop 1x1 -transpose -perfect -outfile out.jpg fixture.jpeg
|
||||
test -f out.jpg
|
||||
test:
|
||||
- jpegtran -crop 1x1 -transpose -perfect -outfile out.jpg fixture.jpeg
|
||||
- test -f out.jpg
|
||||
|
|
Loading…
Reference in a new issue