[Add] AlibabacloudBPStudio20210931 4.0.4
[CocoaPods.git] / Specs / f / d / e / libavif / 0.4.2 / libavif.podspec.json
blob74e9ce56d5dcb11e0ce2def05447dcd07392e9f5
2   "name": "libavif",
3   "version": "0.4.2",
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.4.2"
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   ],
28   "subspecs": [
29     {
30       "name": "libaom",
31       "dependencies": {
32         "libaom": [
33           ">= 1.0.1"
34         ]
35       },
36       "source_files": [
37         "src/**/*.{h,c,cc}",
38         "include/avif/*.h",
39         "src/codec_aom.c"
40       ],
41       "public_header_files": "include/avif/avif.h",
42       "exclude_files": "src/codec_dav1d.c",
43       "pod_target_xcconfig": {
44         "HEADER_SEARCH_PATHS": "$(inherited) $(PODS_ROOT)/libavif/include $(PODS_TARGET_SRCROOT)/include ${PODS_ROOT}/libaom/aom",
45         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_AOM=1"
46       }
47     },
48     {
49       "name": "libdav1d",
50       "dependencies": {
51         "libdav1d": [
52           ">= 0.4.0"
53         ],
54         "libavif/libaom": [
56         ]
57       },
58       "source_files": "src/codec_dav1d.c",
59       "pod_target_xcconfig": {
60         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libdav1d/dav1d/include",
61         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_DAV1D=1"
62       }
63     }
64   ]