Skip to content

Commit

Permalink
Breaking toxcore podspec to toxcore and toxav
Browse files Browse the repository at this point in the history
  • Loading branch information
dvor committed Sep 29, 2015
1 parent f77ebcf commit 8ee35d3
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Cocoapods wrapper for [toxcore](https://github.com/irungentoo/toxcore).

Pod has same version number as toxcore.

toxcore isn't released yet and has version number `0.0.0`. To distinguish different "zero" versions one from another [commit hash](https://github.com/irungentoo/toxcore/commit/2ab3b14731061cc04d3ccc50a35093c11d018298) is added to version tag, like `0.0.0-2ab3b14`.
toxcore isn't released yet and has version number `0.0.0`. To distinguish different "zero" versions one from another [commit hash](https://github.com/irungentoo/toxcore/commit/2ab3b14731061cc04d3ccc50a35093c11d018298) is added to version tag, like `0.0.1-2ab3b14`.

## Installation

Expand Down
40 changes: 40 additions & 0 deletions toxav.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#
# Be sure to run `pod lib lint toxcore.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = "toxav"
s.version = "0.0.1-adab1e3"
s.summary = "Cocoapods wrapper for toxav"
s.homepage = "https://github.com/Antidote-for-Tox/toxcore"
s.license = 'GPLv3'
s.author = { "Dmytro Vorobiov" => "d@dvor.me" }
s.source = {
:git => "https://github.com/Antidote-for-Tox/toxcore.git",
:tag => s.version.to_s,
:submodules => true
}

s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.requires_arc = true

# Preserve the layout of headers in the toxcore directory
s.header_mappings_dir = 'toxcore'

s.source_files = 'toxcore/toxav/*.{m,h}'

s.dependency 'libopus-patched-config', '1.1'

s.ios.vendored_frameworks = 'ios/vpx.framework'
s.osx.vendored_frameworks = 'osx/vpx.framework'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}"'}

s.dependency 'toxcore', s.version.to_s

end
2 changes: 1 addition & 1 deletion toxcore
9 changes: 2 additions & 7 deletions toxcore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Pod::Spec.new do |s|
s.name = "toxcore"
s.version = "0.0.0-6120b0e"
s.version = "0.0.1-adab1e3"
s.summary = "Cocoapods wrapper for toxcore"
s.homepage = "https://github.com/Antidote-for-Tox/toxcore"
s.license = 'GPLv3'
Expand All @@ -27,13 +27,8 @@ Pod::Spec.new do |s|
# Preserve the layout of headers in the toxcore directory
s.header_mappings_dir = 'toxcore'

s.source_files = 'toxcore/toxcore/*.{c,h}', 'toxcore/toxencryptsave/*.{c,h}', 'toxcore/toxdns/*.{c,h}', 'toxcore/toxav/*.{c,h}'
s.source_files = 'toxcore/toxcore/*.{m,h}', 'toxcore/toxencryptsave/*.{m,h}', 'toxcore/toxdns/*.{m,h}'

s.dependency 'libsodium', '~> 1.0.1'
s.dependency 'libopus-patched-config', '1.1'

s.ios.vendored_frameworks = 'ios/vpx.framework'
s.osx.vendored_frameworks = 'osx/vpx.framework'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}"'}

end

0 comments on commit 8ee35d3

Please sign in to comment.