11Pod ::Spec . new do |s |
2- s . name = 'JxlCoder'
3- s . version = '1.0.0'
4- s . summary = 'JXL coder for iOS and MacOS'
5- s . description = 'Provides support for JXL files in iOS and MacOS'
6- s . homepage = 'https://github.com/awxkee/jxl-coder-swift'
7- s . license = { :type => 'BSD-3' , :file => 'LICENSE' }
8- s . author = { 'username' => '[email protected] ' } 9- s . source = { :git => 'https://github.com/awxkee/jxl-coder-swift' , :tag => "#{ s . version } " }
10- s . ios . deployment_target = '11.0'
11- s . osx . deployment_target = '11.0'
12- 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'
13- s . swift_version = "5.4"
14- s . frameworks = "Foundation" , "CoreGraphics" , "Accelerate"
15- 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'
16- 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'
17- #s.module_map = 'Sources/Module/module.modulemap'
18- s . public_header_files = 'Sources/jxlc/**.h' , 'Sources/jxlc/**.hpp' , 'Headers/**/*.h'
19- s . project_header_files = 'Sources/jxlc/jxl_worker.hpp'
20- s . pod_target_xcconfig = {
21- 'OTHER_CXXFLAGS' => '$(inherited) -std=c++20' ,
22- 'HEADER_SEARCH_PATHS' => '$(inherited) "$(PODS_TARGET_SRCROOT)/Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers"' ,
23- 'OTHER_CPLUSPLUSFLAGS' => '$(inherited) -fmodules -fcxx-modules'
24- }
25- s . preserve_paths = "Sources/Frameworks/*.xcframework" , "Sources/Frameworks/*.xcframework/**/Headers" , "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jxl" , "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jpegli"
26- s . libraries = 'c++'
27- s . requires_arc = true
2+ s . name = 'JxlCoder'
3+ s . version = '1.0.0'
4+ s . summary = 'JXL coder for iOS and MacOS'
5+ s . description = 'Provides support for JXL files in iOS and MacOS'
6+ s . homepage = 'https://github.com/awxkee/jxl-coder-swift'
7+ s . license = { :type => 'BSD-3' , :file => 'LICENSE' }
8+ s . author = { 'username' => '[email protected] ' } 9+ s . source = { :git => 'https://github.com/awxkee/jxl-coder-swift.git ' , :tag => "#{ s . version } " }
10+ s . ios . deployment_target = '11.0'
11+ s . osx . deployment_target = '11.0'
12+ 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'
13+ s . swift_version = [ "5.3" , "5.4" , "5.5" ]
14+ s . frameworks = "Foundation" , "CoreGraphics" , "Accelerate"
15+ 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'
16+ 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'
17+ #s.module_map = 'Sources/Module/module.modulemap'
18+ s . public_header_files = 'Sources/jxlc/**.h' , 'Sources/jxlc/**.hpp' , 'Headers/**/*.h'
19+ s . project_header_files = 'Sources/jxlc/jxl_worker.hpp'
20+ s . pod_target_xcconfig = {
21+ 'OTHER_CXXFLAGS' => '$(inherited) -std=c++20' ,
22+ 'HEADER_SEARCH_PATHS' => '$(inherited) "$(PODS_TARGET_SRCROOT)/Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers"' ,
23+ 'OTHER_CPLUSPLUSFLAGS' => '$(inherited) -fmodules -fcxx-modules'
24+ }
25+ s . preserve_paths = "Sources/Frameworks/*.xcframework" , "Sources/Frameworks/*.xcframework/**/Headers" , "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jxl" , "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jpegli"
26+ s . libraries = 'c++'
27+ s . requires_arc = true
2828end
0 commit comments