2022-08-17 20:35:41 +03:00
|
|
|
distributable:
|
2024-01-16 18:06:58 +03:00
|
|
|
url: https://ijg.org/files/jpegsrc.v{{version.raw}}.tar.gz
|
2022-08-17 20:35:41 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-03 23:51:48 +03:00
|
|
|
url: https://ijg.org/files/
|
|
|
|
match: /jpegsrc\.v\d+[a-z]?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /jpegsrc\.v/
|
|
|
|
- /\.tar\.gz/
|
2022-08-17 20:35:41 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
script: |-
|
|
|
|
./configure \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--prefix="{{ prefix }}"
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
2022-09-01 00:44:34 +03:00
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
|
|
|
env:
|
|
|
|
FIXTURE: https://samplelib.com/lib/preview/jpeg/sample-clouds-400x300.jpg
|
|
|
|
script: |
|
|
|
|
curl $FIXTURE > test.jpeg
|
|
|
|
djpeg test.jpeg
|
2022-11-18 21:43:48 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/cjpeg
|
|
|
|
- bin/djpeg
|
|
|
|
- bin/jpegtran
|
|
|
|
- bin/rdjpgcom
|
|
|
|
- bin/wrjpgcom
|