2022-06-07 07:42:49 -07:00
|
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2018-10-24 03:09:58 -07:00
|
|
|
#
|
2019-10-15 10:30:08 -07:00
|
|
|
# This source code is licensed under the MIT license found in the
|
|
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
|
2022-06-07 07:42:49 -07:00
|
|
|
|
2017-01-30 08:39:39 -08:00
|
|
|
Pod::Spec.new do |spec|
|
|
|
|
spec.name = 'Yoga'
|
2023-07-12 18:07:57 -07:00
|
|
|
spec.version = '2.0.0-beta.2'
|
2018-02-16 18:25:02 -08:00
|
|
|
spec.license = { :type => 'MIT', :file => "LICENSE" }
|
2018-03-23 05:31:44 -07:00
|
|
|
spec.homepage = 'https://yogalayout.com/'
|
|
|
|
spec.documentation_url = 'https://yogalayout.com/docs'
|
2017-01-26 10:38:02 -08:00
|
|
|
|
2023-06-13 11:33:58 -07:00
|
|
|
spec.summary = 'An embeddable and performant flexbox layout engine with bindings for multiple languages'
|
2017-01-30 08:39:39 -08:00
|
|
|
|
2023-06-13 11:33:58 -07:00
|
|
|
spec.authors = {'Meta Open Source' => 'opensource@meta.com'}
|
2017-01-30 08:39:39 -08:00
|
|
|
spec.source = {
|
2017-01-26 10:38:02 -08:00
|
|
|
:git => 'https://github.com/facebook/yoga.git',
|
2023-06-06 14:56:44 -07:00
|
|
|
:tag => "v#{spec.version.to_s}",
|
2017-01-26 10:38:02 -08:00
|
|
|
}
|
2023-06-06 14:56:44 -07:00
|
|
|
|
|
|
|
spec.ios.deployment_target = "13.4"
|
|
|
|
|
2017-01-30 08:39:39 -08:00
|
|
|
spec.module_name = 'yoga'
|
|
|
|
spec.requires_arc = false
|
2018-07-12 07:26:17 -07:00
|
|
|
spec.pod_target_xcconfig = {
|
|
|
|
'DEFINES_MODULE' => 'YES'
|
|
|
|
}
|
2017-01-30 08:39:39 -08:00
|
|
|
spec.compiler_flags = [
|
2017-01-26 10:38:02 -08:00
|
|
|
'-fno-omit-frame-pointer',
|
|
|
|
'-fexceptions',
|
|
|
|
'-Wall',
|
|
|
|
'-Werror',
|
2023-05-11 09:43:36 -07:00
|
|
|
'-Wextra',
|
2023-01-10 09:44:00 -08:00
|
|
|
'-std=c++14',
|
2017-01-26 10:38:02 -08:00
|
|
|
'-fPIC'
|
|
|
|
]
|
2023-04-26 17:27:29 -07:00
|
|
|
spec.source_files = 'yoga/**/*.{h,cpp}'
|
|
|
|
spec.public_header_files = 'yoga/{Yoga,YGEnums,YGMacros,YGValue}.h'
|
2023-06-06 14:56:44 -07:00
|
|
|
spec.swift_version = '5.1'
|
2017-01-26 10:38:02 -08:00
|
|
|
end
|