mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
add littlecms (#444)
This commit is contained in:
parent
9883285baa
commit
0c8f275bce
2 changed files with 38 additions and 0 deletions
38
projects/littlecms.com/package.yml
Normal file
38
projects/littlecms.com/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
distributable:
|
||||
url: https://github.com/mm2/Little-CMS/releases/download/lcms{{version.major}}.{{version.minor}}/lcms2-{{version.major}}.{{version.minor}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: mm2/Little-CMS/tags # reads github tags from github
|
||||
strip: /^Little CMS /
|
||||
|
||||
dependencies:
|
||||
simplesystems.org/libtiff: ^4
|
||||
libjpeg-turbo.org: ^2
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }}
|
||||
make install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
||||
provides:
|
||||
- bin/jpgicc
|
||||
- bin/linkicc
|
||||
- bin/psicc
|
||||
- bin/tificc
|
||||
- bin/transicc
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
gnu.org/wget: '*'
|
||||
script: |
|
||||
wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
|
||||
jpgicc -iscanner.icc Shoes-sRGB.jpg out.jpg
|
BIN
projects/littlecms.com/scanner.icc
Normal file
BIN
projects/littlecms.com/scanner.icc
Normal file
Binary file not shown.
Loading…
Reference in a new issue