[Add] TMNavigation 0.0.947
[CocoaPods.git] / Specs / f / d / e / libavif / 0.11.0 / libavif.podspec.json
blobe4232625940a9aa5b1fe6f6134e2a3aa5e2d26a6
2   "name": "libavif",
3   "version": "0.11.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.11.0"
16   },
17   "platforms": {
18     "ios": "9.0",
19     "osx": "10.10",
20     "tvos": "9.0",
21     "watchos": "2.0"
22   },
23   "prepare_command": "sed -i '' 's/\\\"rav1e\\/rav1e.h\\\"/\\\"librav1e\\/rav1e.h\\\"/g' './src/codec_rav1e.c' || true\nsed -i '' 's/\\\"rav1e.h\\\"/\\\"librav1e\\/rav1e.h\\\"/g' './src/codec_rav1e.c' || true",
24   "default_subspecs": "libaom",
25   "preserve_paths": [
26     "src",
27     "include/avif"
28   ],
29   "subspecs": [
30     {
31       "name": "core",
32       "source_files": [
33         "src/**/*.{h,c,cc}",
34         "include/avif/*.h"
35       ],
36       "public_header_files": "include/avif/*.h",
37       "exclude_files": "src/codec_*.c",
38       "pod_target_xcconfig": {
39         "HEADER_SEARCH_PATHS": "$(inherited) $(PODS_ROOT)/libavif/include $(PODS_TARGET_SRCROOT)/include"
40       }
41     },
42     {
43       "name": "libaom",
44       "dependencies": {
45         "libavif/core": [
47         ],
48         "libaom": [
49           ">= 2.0.0"
50         ]
51       },
52       "source_files": "src/codec_aom.c",
53       "pod_target_xcconfig": {
54         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libaom/aom",
55         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_AOM=1 AVIF_CODEC_AOM_DECODE=1 AVIF_CODEC_AOM_ENCODE=1"
56       }
57     },
58     {
59       "name": "libdav1d",
60       "dependencies": {
61         "libavif/core": [
63         ],
64         "libdav1d": [
65           ">= 0.6.0"
66         ]
67       },
68       "source_files": "src/codec_dav1d.c",
69       "pod_target_xcconfig": {
70         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libdav1d/dav1d/include",
71         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_DAV1D=1 AVIF_CODEC_AOM_DECODE=0"
72       }
73     },
74     {
75       "name": "libgav1",
76       "dependencies": {
77         "libavif/core": [
79         ],
80         "libgav1": [
81           ">= 0.16.3"
82         ]
83       },
84       "source_files": "src/codec_libgav1.c",
85       "pod_target_xcconfig": {
86         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libgav1/include",
87         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_LIBGAV1=1 AVIF_CODEC_AOM_DECODE=0"
88       }
89     },
90     {
91       "name": "librav1e",
92       "dependencies": {
93         "libavif/core": [
95         ],
96         "librav1e": [
97           ">= 0.3.0"
98         ]
99       },
100       "source_files": "src/codec_rav1e.c",
101       "pod_target_xcconfig": {
102         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/librav1e/rav1e/include",
103         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_RAV1E=1 AVIF_CODEC_AOM_ENCODE=0"
104       },
105       "platforms": {
106         "ios": "9.0",
107         "osx": "10.10"
108       }
109     },
110     {
111       "name": "svt-av1",
112       "dependencies": {
113         "libavif/core": [
115         ],
116         "svt-av1": [
117           ">= 0.8.7"
118         ]
119       },
120       "source_files": "src/codec_svt.c",
121       "pod_target_xcconfig": {
122         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/svt-av1/include",
123         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_CODEC_SVT=1 AVIF_CODEC_AOM_ENCODE=0"
124       }
125     },
126     {
127       "name": "sharpyuv",
128       "dependencies": {
129         "libwebp": [
130           ">= 1.2.3"
131         ]
132       },
133       "pod_target_xcconfig": {
134         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libwebp",
135         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) AVIF_LIBSHARPYUV_ENABLED=1"
136       }
137     }
138   ]