[Add] BridgeKit 0.1.0
[CocoaPods.git] / Specs / 7 / b / a / SDWebImageHEIFCoder / 0.3.0 / SDWebImageHEIFCoder.podspec.json
blob312c1dd98b2cbd930a9672e2ae70be953751c3df
2   "name": "SDWebImageHEIFCoder",
3   "version": "0.3.0",
4   "summary": "A SDWebImage coder plugin to support HEIF image",
5   "description": "This is a SDWebImage coder plugin to add High Efficiency Image File Format (HEIF) support.\nWhich is built based on the open-sourced libheif codec.",
6   "homepage": "https://github.com/SDWebImage/SDWebImageHEIFCoder",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "DreamPiggy": "lizhuoli1126@126.com"
13   },
14   "source": {
15     "git": "https://github.com/SDWebImage/SDWebImageHEIFCoder.git",
16     "tag": "0.3.0",
17     "submodules": true
18   },
19   "platforms": {
20     "osx": "10.10",
21     "ios": "8.0",
22     "tvos": "9.0",
23     "watchos": "2.0"
24   },
25   "module_map": "SDWebImageHEIFCoder/Module/SDWebImageHEIFCoder.modulemap",
26   "default_subspecs": [
27     "libheif",
28     "libde265"
29   ],
30   "dependencies": {
31     "SDWebImage/Core": [
32       ">= 5.0.0-beta4"
33     ]
34   },
35   "subspecs": [
36     {
37       "name": "libheif",
38       "source_files": [
39         "Vendors/libheif/libheif/*.{h,c,cc}",
40         "Vendors/include/libheif/*.h",
41         "SDWebImageHEIFCoder/Classes/**/*",
42         "SDWebImageHEIFCoder/Module/SDWebImageHEIFCoder.h"
43       ],
44       "exclude_files": [
45         "Vendors/libheif/libheif/*fuzzer.{h,c,cc}",
46         "Vendors/libheif/libheif/heif.h",
47         "Vendors/libheif/libheif/heif_decoder_libde265.{h,c,cc}",
48         "Vendors/libheif/libheif/heif_encoder_x265.{h,c,cc}"
49       ],
50       "public_header_files": [
51         "Vendors/include/libheif/*.h",
52         "SDWebImageHEIFCoder/Classes/**/*.h",
53         "SDWebImageHEIFCoder/Module/SDWebImageHEIFCoder.h"
54       ],
55       "preserve_paths": "Vendors",
56       "xcconfig": {
57         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) HAVE_UNISTD_H=1",
58         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/SDWebImageHEIFCoder/Vendors/include ${PODS_TARGET_SRCROOT}/Vendors/include"
59       },
60       "libraries": "c++"
61     },
62     {
63       "name": "libde265",
64       "dependencies": {
65         "libde265": [
67         ],
68         "SDWebImageHEIFCoder/libheif": [
70         ]
71       },
72       "source_files": "Vendors/libheif/libheif/heif_decoder_libde265.{h,c,cc}",
73       "private_header_files": "Vendors/libheif/libheif/heif_decoder_libde265.h",
74       "preserve_paths": "Vendors",
75       "xcconfig": {
76         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) HAVE_LIBDE265=1",
77         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/SDWebImageHEIFCoder/Vendors/include"
78       }
79     },
80     {
81       "name": "libx265",
82       "dependencies": {
83         "libx265": [
85         ],
86         "SDWebImageHEIFCoder/libheif": [
88         ]
89       },
90       "source_files": "Vendors/libheif/libheif/heif_encoder_x265.{h,c,cc}",
91       "private_header_files": "Vendors/libheif/libheif/heif_encoder_x265.h",
92       "preserve_paths": "Vendors",
93       "xcconfig": {
94         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) HAVE_X265=1",
95         "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/SDWebImageHEIFCoder/Vendors/include ${PODS_ROOT}/libx265/source/"
96       }
97     }
98   ]