Skip to content

Commit f11fada

Browse files
committed
Updated to v1.17.0
1 parent 2f192bf commit f11fada

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if HAVE_X265 {
6565
let package = Package(
6666
name: "libheif",
6767
platforms: [
68-
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
68+
.macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
6969
],
7070
products: [
7171
// Products define the executables and libraries produced by a package, and make them visible to other packages.

libheif.podspec

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'libheif'
11-
s.version = '1.16.2'
11+
s.version = '1.17.0'
1212
s.summary = 'libheif is a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.'
1313

1414
# This description is used to generate tags and improve search results.
@@ -26,8 +26,8 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
2626
s.author = { 'struktur AG' => '[email protected]' }
2727
s.source = { :git => 'https://github.com/strukturag/libheif', :tag => 'v' + s.version.to_s }
2828

29-
s.ios.deployment_target = '8.0'
30-
s.osx.deployment_target = '10.10'
29+
s.ios.deployment_target = '9.0'
30+
s.osx.deployment_target = '10.11'
3131
s.tvos.deployment_target = '9.0'
3232
s.watchos.deployment_target = '2.0'
3333

@@ -132,8 +132,8 @@ HEIF is a new image file format employing HEVC (h.265) image coding for the best
132132
# fix #include <libheif/heif_version.h> cause 'Include of non-modular header inside framework module error'
133133
s.prepare_command = <<-CMD
134134
cp './libheif/heif_version.h.in' './libheif/heif_version.h'
135-
sed -i.bak 's/#define[[:space:]]LIBHEIF_NUMERIC_VERSION.*/#define LIBHEIF_NUMERIC_VERSION 0x01162000/g' './libheif/heif_version.h'
136-
sed -i.bak 's/#define[[:space:]]LIBHEIF_VERSION.*/#define LIBHEIF_VERSION "#{s.version}"/g' './libheif/heif_version.h'
135+
sed -i.bak 's/#define[[:space:]]LIBHEIF_NUMERIC_VERSION.*/#define LIBHEIF_NUMERIC_VERSION 0x0#{s.version.to_s.delete('.').to_i}000/g' './libheif/heif_version.h'
136+
sed -i.bak 's/#define[[:space:]]LIBHEIF_VERSION.*/#define LIBHEIF_VERSION "#{s.version.to_s}"/g' './libheif/heif_version.h'
137137
sed -i.bak 's/<libheif\\/heif_version.h>/"heif_version.h"/g' './libheif/heif.h'
138138
sed -i.bak 's/\\"rav1e.h\\"/\\"librav1e\\/rav1e.h\\"/g' './libheif/plugins/encoder_rav1e.cc' || true
139139
CMD

libheif.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1323,8 +1323,8 @@
13231323
"$(SRCROOT)/libheif",
13241324
"$(PROJECT_DIR)/Carthage/Checkouts/libx265-Xcode/include",
13251325
);
1326-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1327-
MACOSX_DEPLOYMENT_TARGET = 10.10;
1326+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1327+
MACOSX_DEPLOYMENT_TARGET = 10.11;
13281328
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
13291329
MTL_FAST_MATH = YES;
13301330
ONLY_ACTIVE_ARCH = YES;
@@ -1386,8 +1386,8 @@
13861386
"$(SRCROOT)/libheif",
13871387
"$(PROJECT_DIR)/Carthage/Checkouts/libx265-Xcode/include",
13881388
);
1389-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1390-
MACOSX_DEPLOYMENT_TARGET = 10.10;
1389+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1390+
MACOSX_DEPLOYMENT_TARGET = 10.11;
13911391
MTL_ENABLE_DEBUG_INFO = NO;
13921392
MTL_FAST_MATH = YES;
13931393
SDKROOT = macosx;

0 commit comments

Comments
 (0)