Changeset eed0199
- Timestamp:
- Dec 28, 2023, 12:30:20 PM (12 months ago)
- Branches:
- master
- Children:
- b16e592
- Parents:
- 92ebdac
- git-author:
- Paul Brossier <piem@piem.org> (12/28/23 11:53:28)
- git-committer:
- Paul Brossier <piem@piem.org> (12/28/23 12:30:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/build_apple_frameworks
r92ebdac reed0199 46 46 } 47 47 48 function create_framework_fat() {49 rm -rf $AUBIO_TMPDIR/framework-$350 mkdir -p $AUBIO_TMPDIR/framework-$3/$1-$2.$3_framework/$1.framework51 cp -pr COPYING README.md $AUBIO_TMPDIR/framework-$3/$1-$2.$3_framework52 pushd $AUBIO_TMPDIR/framework-$353 cp -pr $AUBIO_TMPDIR/framework-ios/$1-$2.ios_framework/$1.framework/Headers $1-$2.$3_framework/$1.framework54 cp -pr $AUBIO_TMPDIR/framework-ios/$1-$2.ios_framework/$1.framework/Modules $1-$2.$3_framework/$1.framework55 lipo $AUBIO_TMPDIR/framework-ios/$1-$2.ios_framework/$1.framework/$1 \56 $AUBIO_TMPDIR/framework-iosimulator/$1-$2.iosimulator_framework/$1.framework/$1 \57 -output $1-$2.$3_framework/$1.framework/$1 -create58 popd59 }60 61 48 function create_framework_zip() { 62 49 # create zip … … 85 72 if [ $PLATFORM == 'darwin' ] 86 73 then 87 # on darwin, build a .tar.bz2 of /usr and a .zip of aubio.framework74 # on darwin, build a .tar.bz2 of /usr 88 75 create_tarballs $PACKAGE $VERSION $PLATFORM 89 create_framework_zip $PACKAGE $VERSION $PLATFORM90 76 fi 77 78 # build a .zip of aubio.framework 79 create_framework_zip $PACKAGE $VERSION $PLATFORM 80 81 # clean up 91 82 ./waf uninstall $WAF_OPTIONS 92 83 93 84 done 94 95 # after both ios and iosimulator have been built96 PLATFORM=iosuniversal97 create_framework_fat $PACKAGE $VERSION $PLATFORM98 create_framework_zip $PACKAGE $VERSION $PLATFORM99 85 100 86 ./waf clean
Note: See TracChangeset
for help on using the changeset viewer.