[Add] AlibabacloudBPStudio20210931 4.0.4
[CocoaPods.git] / Specs / f / d / e / libavif / 0.3.0 / libavif.podspec.json
blobd79dbb386aff50f685283d42244a860f80291f58
2   "name": "libavif",
3   "version": "0.3.0",
4   "summary": "libavif - Library for encoding and decoding .avif files",
5   "description": "This library aims to be a friendly, portable C implementation of the AV1 Image File Format, as described here:\nhttps://aomediacodec.github.io/av1-avif/\nIt is a work-in-progress, but can already encode and decode all AOM supported YUV formats and bit depths (with alpha).",
6   "homepage": "https://github.com/joedrago/avif/",
7   "license": {
8     "type": "BSD"
9   },
10   "authors": {
11     "Joe Drago": "joedrago@gmail.com"
12   },
13   "source": {
14     "git": "https://github.com/AOMediaCodec/libavif.git",
15     "tag": "v0.3.0"
16   },
17   "platforms": {
18     "ios": "8.0",
19     "osx": "10.7",
20     "tvos": "9.0",
21     "watchos": "2.0"
22   },
23   "default_subspecs": "libaom",
24   "preserve_paths": [
25     "src",
26     "include/avif",
27     "ext/gb"
28   ],
29   "subspecs": [
30     {
31       "name": "libaom",
32       "dependencies": {
33         "libaom": [
34           ">= 1.0.1"
35         ]
36       },
37       "source_files": [
38         "src/**/*.{h,c,cc}",
39         "ext/gb/*.{h,c,cc}",
40         "include/avif/*.h",
41         "src/codec_aom.c"
42       ],
43       "public_header_files": "include/avif/avif.h",
44       "exclude_files": "src/codec_dav1d.c",
45       "pod_target_xcconfig": {
46         "HEADER_SEARCH_PATHS": "$(inherited) $(PODS_ROOT)/libavif/include $(PODS_TARGET_SRCROOT)/include ${PODS_ROOT}/libaom/aom",
47         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_AOM=1"
48       }
49     },
50     {
51       "name": "libdav1d",
52       "dependencies": {
53         "libdav1d": [
54           ">= 0.4.0"
55         ],
56         "libavif/libaom": [
58         ]
59       },
60       "source_files": "src/codec_dav1d.c",
61       "pod_target_xcconfig": {
62         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libdav1d/dav1d/include",
63         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_DAV1D=1"
64       }
65     }
66   ]