Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 31a5c76

Browse files
committed
Manual OSX build for now
1 parent 04db325 commit 31a5c76

File tree

4 files changed

+229
-2
lines changed

4 files changed

+229
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ resources/libafv_native.framework/libafv_native
5555

5656
.cache
5757

58-
*.rc
58+
*.rc
59+
*.dmg

bundle_osx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ lipo -create lib/macos/libafv_native.dylib -output resources/libafv_native.frame
4141
install_name_tool -change @rpath/libafv_native.dylib @loader_path/../Frameworks/libafv_native.framework/libafv_native build/VectorAudio.app/Contents/MacOS/vector_audio
4242
cp -R resources/libafv_native.framework/ build/VectorAudio.app/Contents/Frameworks/libafv_native.framework
4343

44-
xattr -cr build/VectorAudio.app
44+
xattr -c build/VectorAudio.app
4545
if [ $# -eq 1 ]; then
4646
codesign --force --deep --timestamp -s "Developer ID Application" build/VectorAudio.app
4747
fi

manual_osx_build.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
3+
version=$(cat VERSION)
4+
build_type="Release"
5+
6+
mkdir build/
7+
cmake -S . -B build_intel/ -DVCPKG_BUILD_TYPE=release -DCMAKE_BUILD_TYPE=$build_type -DCMAKE_OSX_ARCHITECTURES=x86_64 -DVCPKG_TARGET_TRIPLET=x64-osx
8+
cmake --build build_intel/ --config $build_type
9+
cp build_intel/vector_audio.app/Contents/MacOS/vector_audio build/vector_audio.intel
10+
rm -rf build_intel/
11+
cmake -S . -B build_arm64/ -DVCPKG_BUILD_TYPE=release -DCMAKE_BUILD_TYPE=$build_type -DCMAKE_OSX_ARCHITECTURES=arm64 -DVCPKG_TARGET_TRIPLET=arm64-osx
12+
cmake --build build_arm64/ --config Release
13+
cp build_arm64/vector_audio.app/Contents/MacOS/vector_audio build/vector_audio.arm
14+
rm -rf build_arm64/
15+
lipo -create build/vector_audio.arm build/vector_audio.intel -output build/vector_audio
16+
./bundle_osx.sh
17+
brew install create-dmg
18+
create-dmg --volname "Vector Audio Installer" --app-drop-link 600 185 --window-size 800 400 --icon "VectorAudio.app" 200 190 "VectorAudio-$version-Universal.dmg" "build/VectorAudio.app"
19+
codesign --force --deep --timestamp -s "Developer ID Application" VectorAudio-$version-Universal.dmg

resources/LICENSE.txt

Lines changed: 207 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3875,6 +3875,213 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
38753875
DEALINGS IN THE SOFTWARE.
38763876

38773877

3878+
abseil_x64-osx
3879+
3880+
3881+
Apache License
3882+
Version 2.0, January 2004
3883+
https://www.apache.org/licenses/
3884+
3885+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
3886+
3887+
1. Definitions.
3888+
3889+
"License" shall mean the terms and conditions for use, reproduction,
3890+
and distribution as defined by Sections 1 through 9 of this document.
3891+
3892+
"Licensor" shall mean the copyright owner or entity authorized by
3893+
the copyright owner that is granting the License.
3894+
3895+
"Legal Entity" shall mean the union of the acting entity and all
3896+
other entities that control, are controlled by, or are under common
3897+
control with that entity. For the purposes of this definition,
3898+
"control" means (i) the power, direct or indirect, to cause the
3899+
direction or management of such entity, whether by contract or
3900+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
3901+
outstanding shares, or (iii) beneficial ownership of such entity.
3902+
3903+
"You" (or "Your") shall mean an individual or Legal Entity
3904+
exercising permissions granted by this License.
3905+
3906+
"Source" form shall mean the preferred form for making modifications,
3907+
including but not limited to software source code, documentation
3908+
source, and configuration files.
3909+
3910+
"Object" form shall mean any form resulting from mechanical
3911+
transformation or translation of a Source form, including but
3912+
not limited to compiled object code, generated documentation,
3913+
and conversions to other media types.
3914+
3915+
"Work" shall mean the work of authorship, whether in Source or
3916+
Object form, made available under the License, as indicated by a
3917+
copyright notice that is included in or attached to the work
3918+
(an example is provided in the Appendix below).
3919+
3920+
"Derivative Works" shall mean any work, whether in Source or Object
3921+
form, that is based on (or derived from) the Work and for which the
3922+
editorial revisions, annotations, elaborations, or other modifications
3923+
represent, as a whole, an original work of authorship. For the purposes
3924+
of this License, Derivative Works shall not include works that remain
3925+
separable from, or merely link (or bind by name) to the interfaces of,
3926+
the Work and Derivative Works thereof.
3927+
3928+
"Contribution" shall mean any work of authorship, including
3929+
the original version of the Work and any modifications or additions
3930+
to that Work or Derivative Works thereof, that is intentionally
3931+
submitted to Licensor for inclusion in the Work by the copyright owner
3932+
or by an individual or Legal Entity authorized to submit on behalf of
3933+
the copyright owner. For the purposes of this definition, "submitted"
3934+
means any form of electronic, verbal, or written communication sent
3935+
to the Licensor or its representatives, including but not limited to
3936+
communication on electronic mailing lists, source code control systems,
3937+
and issue tracking systems that are managed by, or on behalf of, the
3938+
Licensor for the purpose of discussing and improving the Work, but
3939+
excluding communication that is conspicuously marked or otherwise
3940+
designated in writing by the copyright owner as "Not a Contribution."
3941+
3942+
"Contributor" shall mean Licensor and any individual or Legal Entity
3943+
on behalf of whom a Contribution has been received by Licensor and
3944+
subsequently incorporated within the Work.
3945+
3946+
2. Grant of Copyright License. Subject to the terms and conditions of
3947+
this License, each Contributor hereby grants to You a perpetual,
3948+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3949+
copyright license to reproduce, prepare Derivative Works of,
3950+
publicly display, publicly perform, sublicense, and distribute the
3951+
Work and such Derivative Works in Source or Object form.
3952+
3953+
3. Grant of Patent License. Subject to the terms and conditions of
3954+
this License, each Contributor hereby grants to You a perpetual,
3955+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
3956+
(except as stated in this section) patent license to make, have made,
3957+
use, offer to sell, sell, import, and otherwise transfer the Work,
3958+
where such license applies only to those patent claims licensable
3959+
by such Contributor that are necessarily infringed by their
3960+
Contribution(s) alone or by combination of their Contribution(s)
3961+
with the Work to which such Contribution(s) was submitted. If You
3962+
institute patent litigation against any entity (including a
3963+
cross-claim or counterclaim in a lawsuit) alleging that the Work
3964+
or a Contribution incorporated within the Work constitutes direct
3965+
or contributory patent infringement, then any patent licenses
3966+
granted to You under this License for that Work shall terminate
3967+
as of the date such litigation is filed.
3968+
3969+
4. Redistribution. You may reproduce and distribute copies of the
3970+
Work or Derivative Works thereof in any medium, with or without
3971+
modifications, and in Source or Object form, provided that You
3972+
meet the following conditions:
3973+
3974+
(a) You must give any other recipients of the Work or
3975+
Derivative Works a copy of this License; and
3976+
3977+
(b) You must cause any modified files to carry prominent notices
3978+
stating that You changed the files; and
3979+
3980+
(c) You must retain, in the Source form of any Derivative Works
3981+
that You distribute, all copyright, patent, trademark, and
3982+
attribution notices from the Source form of the Work,
3983+
excluding those notices that do not pertain to any part of
3984+
the Derivative Works; and
3985+
3986+
(d) If the Work includes a "NOTICE" text file as part of its
3987+
distribution, then any Derivative Works that You distribute must
3988+
include a readable copy of the attribution notices contained
3989+
within such NOTICE file, excluding those notices that do not
3990+
pertain to any part of the Derivative Works, in at least one
3991+
of the following places: within a NOTICE text file distributed
3992+
as part of the Derivative Works; within the Source form or
3993+
documentation, if provided along with the Derivative Works; or,
3994+
within a display generated by the Derivative Works, if and
3995+
wherever such third-party notices normally appear. The contents
3996+
of the NOTICE file are for informational purposes only and
3997+
do not modify the License. You may add Your own attribution
3998+
notices within Derivative Works that You distribute, alongside
3999+
or as an addendum to the NOTICE text from the Work, provided
4000+
that such additional attribution notices cannot be construed
4001+
as modifying the License.
4002+
4003+
You may add Your own copyright statement to Your modifications and
4004+
may provide additional or different license terms and conditions
4005+
for use, reproduction, or distribution of Your modifications, or
4006+
for any such Derivative Works as a whole, provided Your use,
4007+
reproduction, and distribution of the Work otherwise complies with
4008+
the conditions stated in this License.
4009+
4010+
5. Submission of Contributions. Unless You explicitly state otherwise,
4011+
any Contribution intentionally submitted for inclusion in the Work
4012+
by You to the Licensor shall be under the terms and conditions of
4013+
this License, without any additional terms or conditions.
4014+
Notwithstanding the above, nothing herein shall supersede or modify
4015+
the terms of any separate license agreement you may have executed
4016+
with Licensor regarding such Contributions.
4017+
4018+
6. Trademarks. This License does not grant permission to use the trade
4019+
names, trademarks, service marks, or product names of the Licensor,
4020+
except as required for reasonable and customary use in describing the
4021+
origin of the Work and reproducing the content of the NOTICE file.
4022+
4023+
7. Disclaimer of Warranty. Unless required by applicable law or
4024+
agreed to in writing, Licensor provides the Work (and each
4025+
Contributor provides its Contributions) on an "AS IS" BASIS,
4026+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
4027+
implied, including, without limitation, any warranties or conditions
4028+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
4029+
PARTICULAR PURPOSE. You are solely responsible for determining the
4030+
appropriateness of using or redistributing the Work and assume any
4031+
risks associated with Your exercise of permissions under this License.
4032+
4033+
8. Limitation of Liability. In no event and under no legal theory,
4034+
whether in tort (including negligence), contract, or otherwise,
4035+
unless required by applicable law (such as deliberate and grossly
4036+
negligent acts) or agreed to in writing, shall any Contributor be
4037+
liable to You for damages, including any direct, indirect, special,
4038+
incidental, or consequential damages of any character arising as a
4039+
result of this License or out of the use or inability to use the
4040+
Work (including but not limited to damages for loss of goodwill,
4041+
work stoppage, computer failure or malfunction, or any and all
4042+
other commercial damages or losses), even if such Contributor
4043+
has been advised of the possibility of such damages.
4044+
4045+
9. Accepting Warranty or Additional Liability. While redistributing
4046+
the Work or Derivative Works thereof, You may choose to offer,
4047+
and charge a fee for, acceptance of support, warranty, indemnity,
4048+
or other liability obligations and/or rights consistent with this
4049+
License. However, in accepting such obligations, You may act only
4050+
on Your own behalf and on Your sole responsibility, not on behalf
4051+
of any other Contributor, and only if You agree to indemnify,
4052+
defend, and hold each Contributor harmless for any liability
4053+
incurred by, or claims asserted against, such Contributor by reason
4054+
of your accepting any such warranty or additional liability.
4055+
4056+
END OF TERMS AND CONDITIONS
4057+
4058+
APPENDIX: How to apply the Apache License to your work.
4059+
4060+
To apply the Apache License to your work, attach the following
4061+
boilerplate notice, with the fields enclosed by brackets "[]"
4062+
replaced with your own identifying information. (Don't include
4063+
the brackets!) The text should be enclosed in the appropriate
4064+
comment syntax for the file format. We also recommend that a
4065+
file or class name and description of purpose be included on the
4066+
same "printed page" as the copyright notice for easier
4067+
identification within third-party archives.
4068+
4069+
Copyright [yyyy] [name of copyright owner]
4070+
4071+
Licensed under the Apache License, Version 2.0 (the "License");
4072+
you may not use this file except in compliance with the License.
4073+
You may obtain a copy of the License at
4074+
4075+
https://www.apache.org/licenses/LICENSE-2.0
4076+
4077+
Unless required by applicable law or agreed to in writing, software
4078+
distributed under the License is distributed on an "AS IS" BASIS,
4079+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4080+
See the License for the specific language governing permissions and
4081+
limitations under the License.
4082+
4083+
4084+
38784085
libvorbis_arm64-osx
38794086

38804087
Copyright (c) 2002-2020 Xiph.org Foundation

0 commit comments

Comments
 (0)