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