aboutsummaryrefslogtreecommitdiff
path: root/OLMKit.podspec
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-05 01:45:06 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-05 01:45:06 +0100
commit2a8202e74846d191a321cca1202175af9db6107d (patch)
treea6f455caf07da1186851f343a237a4c4e4484f46 /OLMKit.podspec
parent8efa0ec17d8c262f9c3fd7603e8074f74a053708 (diff)
Convert to sibs projectHEADmaster
Diffstat (limited to 'OLMKit.podspec')
-rw-r--r--OLMKit.podspec63
1 files changed, 0 insertions, 63 deletions
diff --git a/OLMKit.podspec b/OLMKit.podspec
deleted file mode 100644
index 413ada8..0000000
--- a/OLMKit.podspec
+++ /dev/null
@@ -1,63 +0,0 @@
-Pod::Spec.new do |s|
-
- # The libolm version
- MAJOR = 3
- MINOR = 2
- PATCH = 1
-
- s.name = "OLMKit"
- s.version = "#{MAJOR}.#{MINOR}.#{PATCH}"
- s.summary = "An Objective-C wrapper of olm (http://matrix.org/git/olm)"
-
- s.description = <<-DESC
- olm is an implementation of the Double Ratchet cryptographic ratchet in C++
- DESC
-
- s.homepage = "https://gitlab.matrix.org/matrix-org/olm"
-
- s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
-
- s.authors = { "Chris Ballinger" => "chrisballinger@gmail.com",
- "matrix.org" => "support@matrix.org" }
-
- s.ios.deployment_target = "6.0"
- s.osx.deployment_target = "10.9"
-
- # Expose the Objective-C wrapper API of libolm
- s.public_header_files = "xcode/OLMKit/*.h"
-
- s.source = {
- :git => "https://gitlab.matrix.org/matrix-org/olm.git",
- :tag => s.version.to_s
- }
-
- s.source_files = "xcode/OLMKit/*.{h,m}", "include/**/*.{h,hh}", "src/*.{c,cpp}", "lib/crypto-algorithms/sha256.c", "lib/crypto-algorithms/aes.c", "lib/curve25519-donna/curve25519-donna.c"
- s.private_header_files = "xcode/OLMKit/*_Private.h"
-
- # Those files (including .c) are included by ed25519.c. We do not want to compile them twice
- s.preserve_paths = "lib/ed25519/**/*.{h,c}"
-
- s.library = "c++"
-
-
- # Use the same compiler options for C and C++ as olm/Makefile
-
- s.compiler_flags = "-g -O3 -DOLMLIB_VERSION_MAJOR=#{MAJOR} -DOLMLIB_VERSION_MINOR=#{MINOR} -DOLMLIB_VERSION_PATCH=#{PATCH}"
-
- # For headers search paths, manage first the normal installation. Then, use paths used
- # when the pod is local
- s.xcconfig = {
- 'USER_HEADER_SEARCH_PATHS' =>"${PODS_ROOT}/OLMKit/include ${PODS_ROOT}/OLMKit/lib #{File.join(File.dirname(__FILE__), 'include')} #{File.join(File.dirname(__FILE__), 'lib')}"
- }
-
- s.subspec 'olmc' do |olmc|
- olmc.source_files = "src/*.{c}", "lib/curve25519-donna.h", "lib/crypto-algorithms/sha256.{h,c}", "lib/crypto-algorithms/aes.{h,c}", "lib/curve25519-donna/curve25519-donna.c"
- olmc.compiler_flags = ' -std=c99 -fPIC'
- end
-
- s.subspec 'olmcpp' do |olmcpp|
- olmcpp.source_files = "src/*.{cpp}"
- olmcpp.compiler_flags = ' -std=c++11 -fPIC'
- end
-
-end