[Add] LogRocket 1.47.1
[CocoaPods.git] / Specs / 2 / d / 5 / libx265 / 3.0 / libx265.podspec.json
blobfc7d8a3b66308308e2ac3f7ece26864096e9f52b
2   "name": "libx265",
3   "version": "3.0",
4   "summary": "x265 HEVC Encoder.",
5   "description": "x265 is a free software library and application for encoding video streams into the H.265/MPEG-H HEVC compression format.",
6   "homepage": "http://x265.org/",
7   "license": {
8     "type": "GPL"
9   },
10   "authors": "MulticoreWare",
11   "source": {
12     "git": "https://github.com/videolan/x265.git",
13     "tag": "3.0"
14   },
15   "platforms": {
16     "ios": "8.0",
17     "osx": "10.7",
18     "tvos": "9.0",
19     "watchos": "2.0"
20   },
21   "module_map": "source/libx265.modulemap",
22   "prepare_command": "cp './source/x265_config.h.in' './source/x265_config.h'\n                      sed -i.bak 's/\\${X265_BUILD}/169/g' './source/x265_config.h'\n                      echo -e \"framework module libx265 {\n  umbrella header \\\"x265.h\\\"\n  export *\n  module * { export * }\n}\" > ./source/libx265.modulemap",
23   "xcconfig": {
24     "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) X265_DEPTH=8 HAVE_STRTOK_R=1 EXPORT_C_API=1 X265_NS=x265 X265_VERSION=3.0",
25     "USER_HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/libx265/source/ ${PODS_TARGET_SRCROOT}/source/ ${PODS_ROOT}/libx265/source/encoder/ ${PODS_TARGET_SRCROOT}/source/encoder/ ${PODS_ROOT}/libx265/source/common/ ${PODS_TARGET_SRCROOT}/source/common/",
26     "USE_HEADERMAP": "NO"
27   },
28   "preserve_paths": "source",
29   "libraries": "c++",
30   "subspecs": [
31     {
32       "name": "x265",
33       "source_files": [
34         "source/x265.{h,cpp}",
35         "source/x265_config.h",
36         "source/x265cli.h"
37       ],
38       "public_header_files": [
39         "source/x265.h",
40         "source/x265_config.h"
41       ],
42       "dependencies": {
43         "libx265/core": [
45         ],
46         "libx265/common": [
48         ],
49         "libx265/input": [
51         ],
52         "libx265/output": [
54         ],
55         "libx265/encoder": [
57         ]
58       }
59     },
60     {
61       "name": "core",
62       "source_files": [
63         "source/x265.h",
64         "source/x265_config.h"
65       ]
66     },
67     {
68       "name": "common",
69       "dependencies": {
70         "libx265/core": [
72         ]
73       },
74       "source_files": [
75         "source/common/*.{h,c,cpp,hpp}",
76         "source/encoder/*.h"
77       ],
78       "public_header_files": "source/common/common.h"
79     },
80     {
81       "name": "input",
82       "dependencies": {
83         "libx265/common": [
85         ]
86       },
87       "source_files": "source/input/*.{h,c,cpp,hpp}",
88       "public_header_files": "source/input/input.h"
89     },
90     {
91       "name": "output",
92       "dependencies": {
93         "libx265/input": [
95         ]
96       },
97       "source_files": "source/output/*.{h,c,cpp,hpp}",
98       "public_header_files": "source/output/output.h"
99     },
100     {
101       "name": "encoder",
102       "dependencies": {
103         "libx265/output": [
105         ]
106       },
107       "source_files": "source/encoder/*.{h,c,cpp,hpp}",
108       "public_header_files": "source/encoder/encoder.h"
109     }
110   ]