@@ -24,7 +24,7 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
24
24
s . homepage = 'https://www.libheif.org/'
25
25
s . license = { :type => 'LGPL' }
26
26
s . author = { 'struktur AG' => '[email protected] ' }
27
- s . source = { :git => 'https://github.com/strukturag/libheif' , :tag => 'v' + s . version . to_s }
27
+ s . source = { :git => 'https://github.com/strukturag/libheif.git ' , :tag => 'v' + s . version . to_s }
28
28
29
29
s . ios . deployment_target = '9.0'
30
30
s . osx . deployment_target = '10.11'
@@ -33,7 +33,21 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
33
33
34
34
s . subspec 'libheif' do |ss |
35
35
ss . source_files = 'libheif/**/*.{h,c,cc}'
36
- ss . exclude_files = 'libheif/plugins/decoder_libde265.{h,c,cc}' , 'libheif/plugins/encoder_x265.{h,c,cc}' , 'libheif/plugins/encoder_aom.{h,c,cc}' , 'libheif/plugins/decoder_aom.{h,c,cc}' , 'libheif/plugins/decoder_dav1d.{h,c,cc}' , 'libheif/plugins/encoder_rav1e.{h,c,cc}' , 'libheif/plugins/encoder_svt.{h,c,cc}' , 'libheif/plugins_windows.{h,c,cc}' , 'libheif/plugins_unix.{h,c,cc}'
36
+ ss . exclude_files = 'libheif/plugins/decoder_libde265.{h,c,cc}' ,
37
+ 'libheif/plugins/encoder_x265.{h,c,cc}' ,
38
+ 'libheif/plugins/encoder_aom.{h,c,cc}' ,
39
+ 'libheif/plugins/decoder_aom.{h,c,cc}' ,
40
+ 'libheif/plugins/decoder_dav1d.{h,c,cc}' ,
41
+ 'libheif/plugins/encoder_rav1e.{h,c,cc}' ,
42
+ 'libheif/plugins/encoder_svt.{h,c,cc}' ,
43
+ 'libheif/plugins/encoder_kvazaar.{h,c,cc}' ,
44
+ 'libheif/plugins/decoder_ffmpeg.{h,c,cc}' ,
45
+ 'libheif/plugins/encoder_jpeg.{h,c,cc}' ,
46
+ 'libheif/plugins/decoder_jpeg.{h,c,cc}' ,
47
+ 'libheif/plugins/encoder_openjpeg.{h,c,cc}' ,
48
+ 'libheif/plugins/decoder_openjpeg.{h,c,cc}' ,
49
+ 'libheif/plugins_windows.{h,c,cc}' ,
50
+ 'libheif/plugins_unix.{h,c,cc}'
37
51
ss . public_header_files = 'libheif/heif.h' , 'libheif/heif_version.h'
38
52
ss . preserve_path = 'libheif'
39
53
ss . xcconfig = {
@@ -98,8 +112,8 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
98
112
# rav1e encoder, for AVIF
99
113
s . subspec 'librav1e' do |ss |
100
114
# rav1e use Rust, which does not supports tvOS && watchOS because of bitcode
101
- ss . ios . deployment_target = '8 .0'
102
- ss . osx . deployment_target = '10.10 '
115
+ ss . ios . deployment_target = '9 .0'
116
+ ss . osx . deployment_target = '10.11 '
103
117
ss . dependency 'librav1e'
104
118
ss . dependency 'libheif/libheif'
105
119
ss . source_files = 'libheif/plugins/encoder_rav1e.{h,c,cc}'
0 commit comments