Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Release 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmer Loen committed Mar 13, 2018
1 parent cbc3ccb commit f5adf4d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

---

## [3.3.4](https://github.com/VoIPGRID/Vialer-pjsip-iOS/tree/3.3.4) (13/03/2018)
Released on Tuesday, March 13, 2018
* Added a post compile script to the podspec to combine the VialerPJSIP split archives into one archive

## [3.3.2](https://github.com/VoIPGRID/Vialer-pjsip-iOS/tree/3.3.2) (06/03/2018)
Released on Tuesday, March 6, 2018
* Updated PJSIP to 2.7.2
Expand Down
20 changes: 12 additions & 8 deletions Vialer-pjsip-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Vialer-pjsip-iOS"
s.version = "3.3.3"
s.version = "3.3.4"
s.summary = "PJSIP 2.7.1 for iOS"
s.description = "Pod for distributing PJSIP 2.7.1 wrapped in a framework. With Opus, OpenSSL and openh264."
s.homepage = "https://www.wearespindle.com"
Expand Down Expand Up @@ -31,20 +31,24 @@ Pod::Spec.new do |s|
VIALERPJSIP_FRAMEWORK_DIR=${SRCROOT}/Vialer-pjsip-iOS/VialerPJSIP.framework/Versions/Current
VIALERPJSIP_FRAMEWORK_FILE=$VIALERPJSIP_FRAMEWORK_DIR/$BINARY_FILENAME
# Check if we have VIALERPJSIP Framework
if [ ! -f ${VIALERPJSIP_FRAMEWORK_FILE} ]; then
echo "There is no Vialer PJSIP framework at ${VIALERPJSIP_FRAMEWORK_FILE}"
minimumsize=50000000
actualsize=$(wc -c <"${VIALERPJSIP_FRAMEWORK_FILE}")
if [[ -f "${VIALERPJSIP_FRAMEWORK_FILE}" && $actualsize -ge $minimumsize ]]; then
echo "The library is already combined"
else
cd ${VIALERPJSIP_FRAMEWORK_DIR}
# But we have chunks! ...Probably
if [ -f ${SPLIT_FILENAME_PREFIX}_aa ]; then
echo "Creating file from smaller files with ${SPLIT_FILENAME_PREFIX} prefix"
cat ${SPLIT_FILENAME_PREFIX}_* > ${BINARY_FILENAME}
rm ${SPLIT_FILENAME_PREFIX}_*
echo "Creating file from smaller files with ${SPLIT_FILENAME_PREFIX} prefix"
cat ${SPLIT_FILENAME_PREFIX}_* > ${BINARY_FILENAME}
rm ${SPLIT_FILENAME_PREFIX}_*
fi
fi
fi
'
}
s.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'PJ_AUTOCONF=1',
}
end

3 changes: 3 additions & 0 deletions VialerPJSIP.framework/Versions/A/VialerPJSIP
Git LFS file not shown

0 comments on commit f5adf4d

Please sign in to comment.