-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlibde265.podspec
48 lines (41 loc) · 2.13 KB
/
libde265.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Be sure to run `pod lib lint TestLibrary.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'libde265'
s.version = '1.0.15'
s.summary = 'Open h.265 video codec implementation.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
libde265 is an open source implementation of the h.265 video codec.
It is written from scratch and has a plain C API to enable a simple integration into other software.
DESC
s.homepage = 'https://www.libde265.org/'
s.license = { :type => 'LGPL' }
s.author = { 'Struktur AG' => '[email protected]' }
s.source = { :git => 'https://github.com/SDWebImage/libde265-Xcode.git', :tag => s.version.to_s, :submodules => true }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.source_files = 'libde265/libde265/**/*.{h,c,cc,cpp,hpp}', 'libde265/extra/libde265/de265-version.h'
s.public_header_files = 'libde265/libde265/de265.h', 'libde265/extra/libde265/de265-version.h'
s.exclude_files = 'libde265/libde265/arm', 'libde265/libde265/x86'
s.prepare_command = <<-CMD
sed -i.bak 's/<libde265\\/de265-version.h>/"de265-version.h"/g' 'libde265/libde265/de265.h'
CMD
s.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) HAVE_POSIX_MEMALIGN=1',
'HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_ROOT}/libde265 ${PODS_TARGET_SRCROOT}/libde265 ${PODS_ROOT}/libde265/libde265/libde265 ${PODS_TARGET_SRCROOT}/libde265/libde265'
}
s.preserve_path = 'libde265'
s.libraries = 'c++'
end