mirror of
https://github.com/zhigang1992/libwebp-ios.git
synced 2026-01-12 09:04:41 +08:00
working on cocoapods
This commit is contained in:
@@ -8,15 +8,23 @@
|
||||
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = "libwebp-ios"
|
||||
spec.version = "v1.0.6"
|
||||
spec.version = "1.0.7"
|
||||
spec.summary = "Prebuilt binaries for libwebp"
|
||||
spec.description = "Simple provider for libwebp for iOS with prebuild binaries"
|
||||
spec.homepage = 'https://github.com/awxkee/libwebp-ios'
|
||||
spec.license = { :type => "CC0-1.0", :file => "LICENSE" }
|
||||
spec.author = { 'Radzivon Bartoshyk' => 'radzivon.bartoshyk@proton.me' }
|
||||
spec.source = { :git => "https://github.com/awxkee/libwebp-ios.git", :tag => "#{spec.version}" }
|
||||
spec.ios.deployment_target = '11.0'
|
||||
spec.osx.deployment_target = '11.0'
|
||||
spec.source_files = "Sources/libsharpyuv.xcframework/ios-arm64/Headers/*.h", "Sources/libyuv.xcframework/ios-arm64/Headers/*.h"
|
||||
spec.public_header_files = "Sources/libsharpyuv.xcframework/ios-arm64/Headers/*.h", "Sources/libyuv.xcframework/ios-arm64/Headers/*.h"
|
||||
spec.vendored_frameworks = 'Sources/libsharpyuv.xcframework', 'Sources/libwebp.xcframework', 'Sources/libwebpdemux.xcframework', 'Sources/libwebpmux.xcframework'
|
||||
spec.preserve_paths = 'Sources/libsharpyuv.xcframework', 'Sources/libwebp.xcframework', 'Sources/libwebpdemux.xcframework', 'Sources/libwebpmux.xcframework'
|
||||
spec.pod_target_xcconfig = {
|
||||
'OTHER_CXXFLAGS' => '$(inherited) -std=c++20',
|
||||
'HEADER_SEARCH_PATHS' => '$(inherited) "$(PODS_TARGET_SRCROOT)/Sources/libsharpyuv.xcframework/ios-arm64/Headers/*.h" "$(PODS_TARGET_SRCROOT)/Sources/libyuv.xcframework/ios-arm64/Headers/*.h"'
|
||||
}
|
||||
spec.libraries = 'c++'
|
||||
spec.requires_arc = true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user