8
8
9
9
Pod ::Spec . new do |s |
10
10
s . name = 'libheif'
11
- s . version = '1.15.2 '
11
+ s . version = '1.16.0 '
12
12
s . summary = 'libheif is a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.'
13
13
14
14
# This description is used to generate tags and improve search results.
@@ -32,8 +32,8 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
32
32
s . watchos . deployment_target = '2.0'
33
33
34
34
s . subspec 'libheif' do |ss |
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_windows.{h,c,cc}' , 'libheif/plugins_unix.{h,c,cc}'
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}'
37
37
ss . public_header_files = 'libheif/heif.h' , 'libheif/plugins/heif_version.h'
38
38
ss . preserve_path = 'libheif'
39
39
ss . xcconfig = {
@@ -131,7 +131,7 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
131
131
# fix #include <libheif/heif_version.h> cause 'Include of non-modular header inside framework module error'
132
132
s . prepare_command = <<-CMD
133
133
cp './libheif/heif_version.h.in' './libheif/heif_version.h'
134
- sed -i.bak 's/#define[[:space:]]LIBHEIF_NUMERIC_VERSION.*/#define LIBHEIF_NUMERIC_VERSION 0x01152000 /g' './libheif/heif_version.h'
134
+ sed -i.bak 's/#define[[:space:]]LIBHEIF_NUMERIC_VERSION.*/#define LIBHEIF_NUMERIC_VERSION 0x01160000 /g' './libheif/heif_version.h'
135
135
sed -i.bak 's/#define[[:space:]]LIBHEIF_VERSION.*/#define LIBHEIF_VERSION "#{ s . version } "/g' './libheif/heif_version.h'
136
136
sed -i.bak 's/<libheif\\ /heif_version.h>/"heif_version.h"/g' './libheif/heif.h'
137
137
sed -i.bak 's/\\ "rav1e.h\\ "/\\ "librav1e\\ /rav1e.h\\ "/g' './libheif/plugins/encoder_rav1e.cc' || true
0 commit comments