-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmeta.yaml
71 lines (63 loc) · 2.19 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{% set build = 0 %}
{% set name = "libheif" %}
{% set version = "1.19.5" %}
# ensure license_family is defined to appease bot
{% set license_family = license_family or 'notset' %}
{%- if license_family == 'gpl' %}
{%- set build = build + 100 %}
{%- endif %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/strukturag/libheif/releases/download/v{{ version }}/libheif-{{ version }}.tar.gz
sha256: d3cf0a76076115a070f9bc87cf5259b333a1f05806500045338798486d0afbaf
build:
number: {{ build }}
string: {{ license_family }}_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}
run_exports:
- {{ pin_subpackage('libheif', max_pin='x.x') }}
requirements:
build:
- gnuconfig # [unix]
- {{ compiler('cxx') }}
- {{ stdlib('c') }}
- cmake
- ninja
host:
- libde265
- libavif
# - svt-av1
# - rav1e
- dav1d
- aom
{% if license_family == 'gpl' %}
- x265
{% endif %}
test:
commands:
- test -f $PREFIX/lib/libheif${SHLIB_EXT} # [unix]
- test -f $PREFIX/include/libheif/heif.h # [unix]
- test -f $PREFIX/lib/pkgconfig/libheif.pc # [unix]
- test -f $PREFIX/lib/cmake/libheif/libheif-config.cmake # [unix]
- if not exist %LIBRARY_LIB%\heif.lib exit 1 # [win]
- if not exist %LIBRARY_BIN%\heif.dll exit 1 # [win]
- if not exist %LIBRARY_INC%\libheif\heif.h exit 1 # [win]
- if not exist %LIBRARY_LIB%\cmake\libheif\libheif-config.cmake exit 1 # [win]
about:
home: https://github.com/strukturag/libheif
summary: libheif is an HEIF and AVIF file format decoder and encoder
description: |
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format)
file format decoder and encoder. HEIF and AVIF are new image file formats
employing HEVC (h.265) or AV1 image coding, respectively, for the best
compression ratios currently possible. libheif makes use of libde265 for
HEIF image decoding and x265 for encoding. For AVIF, libaom, dav1d,
svt-av1, or rav1e are used as codecs.
license: LGPL-3.0-or-later
license_family: LGPL
license_file: COPYING
dev_url: https://github.com/strukturag/libheif
extra:
recipe-maintainers:
- frmdstryr