mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
57 lines
2.7 KiB
Text
57 lines
2.7 KiB
Text
|
#
|
||
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
|
||
|
# Run `pod lib lint cw_monero.podspec` to validate before publishing.
|
||
|
#
|
||
|
Pod::Spec.new do |s|
|
||
|
s.name = 'cw_monero'
|
||
|
s.version = '0.0.1'
|
||
|
s.summary = 'CW Monero'
|
||
|
s.description = 'Cake Wallet wrapper over Monero project.'
|
||
|
s.homepage = 'http://cakewallet.com'
|
||
|
s.license = { :file => '../LICENSE' }
|
||
|
s.author = { 'CakeWallet' => 'support@cakewallet.com' }
|
||
|
s.source = { :path => '.' }
|
||
|
s.source_files = 'Classes/**/*'
|
||
|
s.dependency 'FlutterMacOS'
|
||
|
s.public_header_files = 'Classes/**/*.h, Classes/*.h, External/macos/libs/monero/include/External/ios/**/*.h'
|
||
|
s.platform = :osx, '10.11'
|
||
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS' => '#___VALID_ARCHS___#', 'ENABLE_BITCODE' => 'NO' }
|
||
|
s.swift_version = '5.0'
|
||
|
s.libraries = 'iconv'
|
||
|
|
||
|
s.subspec 'OpenSSL' do |openssl|
|
||
|
openssl.preserve_paths = '../../../../../cw_shared_external/ios/External/macos/include/**/*.h'
|
||
|
openssl.vendored_libraries = '../../../../../cw_shared_external/ios/External/macos/lib/libcrypto.a', '../../../../../cw_shared_external/ios/External/ios/lib/libssl.a'
|
||
|
openssl.libraries = 'ssl', 'crypto'
|
||
|
openssl.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/macos/include/**" }
|
||
|
end
|
||
|
|
||
|
s.subspec 'Sodium' do |sodium|
|
||
|
sodium.preserve_paths = '../../../../../cw_shared_external/ios/External/macos/include/**/*.h'
|
||
|
sodium.vendored_libraries = '../../../../../cw_shared_external/ios/External/macos/lib/libsodium.a'
|
||
|
sodium.libraries = 'sodium'
|
||
|
sodium.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/macos/include/**" }
|
||
|
end
|
||
|
|
||
|
s.subspec 'Unbound' do |unbound|
|
||
|
unbound.preserve_paths = '../../../../../cw_shared_external/ios/External/macos/include/**/*.h'
|
||
|
unbound.vendored_libraries = '../../../../../cw_shared_external/ios/External/macos/lib/libunbound.a'
|
||
|
unbound.libraries = 'unbound'
|
||
|
unbound.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/macos/include/**" }
|
||
|
end
|
||
|
|
||
|
s.subspec 'Boost' do |boost|
|
||
|
boost.preserve_paths = '../../../../../cw_shared_external/ios/External/macos/include/**/*.h',
|
||
|
boost.vendored_libraries = '../../../../../cw_shared_external/ios/External/macos/lib/libboost.a',
|
||
|
boost.libraries = 'boost'
|
||
|
boost.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/macos/include/**" }
|
||
|
end
|
||
|
|
||
|
s.subspec 'Monero' do |monero|
|
||
|
monero.preserve_paths = 'External/macos/include/**/*.h'
|
||
|
monero.vendored_libraries = 'External/macos/lib/libmonero.a'
|
||
|
monero.libraries = 'monero'
|
||
|
monero.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/macos/include" }
|
||
|
end
|
||
|
end
|