Move static and dynamic libaries to archive

Please remember to unpack the archive before building, and
if it is updated by a future version.
swiftingly
Christopher Snowhill 2022-06-24 16:42:27 -07:00
parent b21a02fe1b
commit abf80c19ac
30 changed files with 42 additions and 53 deletions

View File

@ -19,6 +19,9 @@ jobs:
uses: actions/checkout@v2
with:
submodules: recursive
- name: Unpack libraries
run: >
cd ThirdParty && tar xvf libraries.tar.xz
- name: Run xcodebuild
run: >
xcodebuild

32
.gitignore vendored
View File

@ -9,3 +9,35 @@ xcuserdata
Xcode-config/DEVELOPMENT_TEAM.xcconfig
Cog.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
# Unpack these before building
/ThirdParty/BASS/libbass.dylib
/ThirdParty/BASS/libbassflac.dylib
/ThirdParty/BASS/libbassmidi.dylib
/ThirdParty/BASS/libbassopus.dylib
/ThirdParty/BASS/libbasswv.dylib
/ThirdParty/avif/lib/libaom.a
/ThirdParty/avif/lib/libavif.a
/ThirdParty/fdk-aac/lib/libfdk-aac.2.dylib
/ThirdParty/fdk-aac/lib/libfdk-aac.a
/ThirdParty/fdk-aac/lib/libfdk-aac.dylib
/ThirdParty/fdk-aac/lib/libfdk-aac.la
/ThirdParty/fdk-aac/lib/pkgconfig/
/ThirdParty/fdk-aac/lib/pkgconfig/fdk-aac.pc
/ThirdParty/ffmpeg/lib/libavcodec.59.dylib
/ThirdParty/ffmpeg/lib/libavformat.59.dylib
/ThirdParty/ffmpeg/lib/libavutil.57.dylib
/ThirdParty/ffmpeg/lib/libswresample.4.dylib
/ThirdParty/flac/lib/libFLAC.8.dylib
/ThirdParty/libid3tag/lib/libid3tag.a
/ThirdParty/libmad/lib/libmad.a
/ThirdParty/libopenmpt/lib/libopenmpt.a
/ThirdParty/libopenmpt_old/lib/libopenmpt.old.a
/ThirdParty/libvgm/lib/libvgm-emu.a
/ThirdParty/libvgm/lib/libvgm-player.a
/ThirdParty/libvgm/lib/libvgm-utils.a
/ThirdParty/mpg123/lib/libmpg123.0.dylib
/ThirdParty/ogg/lib/libogg.0.dylib
/ThirdParty/opus/lib/libopus.0.dylib
/ThirdParty/opusfile/lib/libopusfile.0.dylib
/ThirdParty/speex/libspeex.a

View File

@ -54,6 +54,13 @@ Setup your `DEVELOPMENT_TEAM` like described in [Xcode-config/Shared.xcconfig](h
git config core.hooksPath .githooks
```
(Add 2022-06-24) Also, you need to unpack the static and dynamic library dependencies, and update them any time the library path changes:
```
cd ThirdParty
tar xvf libraries.tar.xz
```
# Screenshots
## Main window and Info Inspector

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
libfdk-aac.2.dylib

View File

@ -1,41 +0,0 @@
# libfdk-aac.la - a libtool library file
# Generated by libtool (GNU libtool) 2.4.6
#
# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libfdk-aac.2.dylib'
# Names of this library.
library_names='libfdk-aac.2.dylib libfdk-aac.dylib'
# The name of the static archive.
old_library='libfdk-aac.a'
# Linker flags that cannot go in dependency_libs.
inherited_linker_flags=' '
# Libraries that this one depends upon.
dependency_libs=''
# Names of additional weak libraries provided by this library
weak_library_names=''
# Version information for libfdk-aac.
current=2
age=0
revision=2
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=no
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''
# Directory that this library needs to be installed in:
libdir='/Users/chris/Source/Repos/cog/ThirdParty/fdk-aac/lib'

View File

@ -1,11 +0,0 @@
prefix=/Users/chris/Source/Repos/cog/ThirdParty/fdk-aac
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Fraunhofer FDK AAC Codec Library
Description: AAC codec library
Version: 2.0.2
Libs: -L${libdir} -lfdk-aac
Libs.private:
Cflags: -I${includedir}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
ThirdParty/libraries.tar.xz vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.