From 8f01a4977b36da5cdf2729c9f0b4695cd88f2c93 Mon Sep 17 00:00:00 2001 From: awxkee Date: Wed, 10 Jan 2024 22:21:32 +0000 Subject: [PATCH] upgrade libjxl to 0.9.0, some improvements --- .../xcschemes/xcschememanagement.plist | 2 +- JxlCoder.podspec | 8 ++++---- Package.swift | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.swiftpm/xcode/xcuserdata/radzivonbartoshyk.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/radzivonbartoshyk.xcuserdatad/xcschemes/xcschememanagement.plist index eefbe9b..2a7618e 100644 --- a/.swiftpm/xcode/xcuserdata/radzivonbartoshyk.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/.swiftpm/xcode/xcuserdata/radzivonbartoshyk.xcuserdatad/xcschemes/xcschememanagement.plist @@ -17,7 +17,7 @@ JxlCoder.xcscheme_^#shared#^_ orderHint - 1 + 0 jxlcoder.xcscheme_^#shared#^_ diff --git a/JxlCoder.podspec b/JxlCoder.podspec index 6796eea..feae9f9 100644 --- a/JxlCoder.podspec +++ b/JxlCoder.podspec @@ -7,13 +7,13 @@ Pod::Spec.new do |s| s.license = { :type => 'CC0', :file => 'LICENSE' } s.author = { 'username' => 'radzivon.bartoshyk@proton.me' } s.source = { :git => 'https://github.com/awxkee/jxl-coder-swift.git', :tag => "#{s.version}" } - s.ios.deployment_target = '11.0' - s.osx.deployment_target = '11.0' + s.ios.deployment_target = '13.0' + s.osx.deployment_target = '12.0' s.source_files = 'Sources/jxlc/*.{swift,h,m,cpp,mm,hpp}', "Sources/JxlCoder/*.swift", 'Sources/Module/JxlCoder.h', 'Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/**/*.h' s.swift_version = ["5.3", "5.4", "5.5"] s.frameworks = "Foundation", "CoreGraphics", "Accelerate" - s.ios.vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework', 'Sources/Frameworks/libbrotlidec.xcframework', 'Sources/Frameworks/libbrotlienc.xcframework', 'Sources/Frameworks/libhwy.xcframework', 'Sources/Frameworks/libjxl.xcframework', 'Sources/Frameworks/libjxl_threads.xcframework' - s.osx.vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework', 'Sources/Frameworks/libbrotlidec.xcframework', 'Sources/Frameworks/libbrotlienc.xcframework', 'Sources/Frameworks/libhwy.xcframework', 'Sources/Frameworks/libjxl.xcframework', 'Sources/Frameworks/libjxl_threads.xcframework' + s.ios.vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework', 'Sources/Frameworks/libbrotlidec.xcframework', 'Sources/Frameworks/libbrotlienc.xcframework', 'Sources/Frameworks/libhwy.xcframework', 'Sources/Frameworks/libjxl.xcframework', 'Sources/Frameworks/libjxl_threads.xcframework', 'Sources/Frameworks/libjxl_cms.xcframework', 'Sources/Frameworks/libskcms.xcframework' + s.osx.vendored_frameworks = 'Sources/Frameworks/libbrotlicommon.xcframework', 'Sources/Frameworks/libbrotlidec.xcframework', 'Sources/Frameworks/libbrotlienc.xcframework', 'Sources/Frameworks/libhwy.xcframework', 'Sources/Frameworks/libjxl.xcframework', 'Sources/Frameworks/libjxl_threads.xcframework', 'Sources/Frameworks/libjxl_cms.xcframework', 'Sources/Frameworks/libskcms.xcframework' s.public_header_files = 'Sources/jxlc/**.h', 'Sources/jxlc/**.hpp', 'Headers/**/*.h' s.project_header_files = 'Sources/jxlc/JxlWorker.hpp' s.pod_target_xcconfig = { diff --git a/Package.swift b/Package.swift index f7a28ba..52224a8 100644 --- a/Package.swift +++ b/Package.swift @@ -5,7 +5,7 @@ import PackageDescription let package = Package( name: "JxlCoder", - platforms: [.iOS(.v11), .macOS(.v11)], + platforms: [.iOS(.v13), .macOS(.v12)], products: [ .library( name: "JxlCoder",