fix(libjpeg-turbo)

moved to github for official source

closes #4972
This commit is contained in:
Jacob Heider 2024-03-08 10:39:50 -05:00
parent 4929b10b31
commit eb2b6cc24c
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -1,5 +1,5 @@
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:
@ -9,9 +9,9 @@ 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}}
@ -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