mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
parent
bf1e7dde44
commit
5e2d3f5309
2 changed files with 34 additions and 0 deletions
BIN
projects/github.com/jasper-software/jasper/fixture.jpeg
Normal file
BIN
projects/github.com/jasper-software/jasper/fixture.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 B |
34
projects/github.com/jasper-software/jasper/package.yml
Normal file
34
projects/github.com/jasper-software/jasper/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/jasper-software/jasper/releases/download/version-{{version}}/jasper-{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: jasper-software/jasper/releases/tags
|
||||||
|
strip: /^version-/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
libjpeg-turbo.org: ^2
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/jasper
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
cmake.org: ^3
|
||||||
|
working-directory: tmp_cmake
|
||||||
|
script: |
|
||||||
|
cmake .. $ARGS
|
||||||
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -DJAS_ENABLE_DOC=OFF
|
||||||
|
- -DJAS_ENABLE_AUTOMATIC_DEPENDENCIES=false
|
||||||
|
- -DJAS_ENABLE_SHARED=ON
|
||||||
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||||
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
|
||||||
|
test: |
|
||||||
|
jasper --input fixture.jpeg --output test.bmp
|
||||||
|
test -f test.bmp
|
Loading…
Reference in a new issue