Commit 7de73d7d authored by nanahira's avatar nanahira

remove macos sound support

parent 832aa277
Pipeline #14211 passed with stages
in 9 minutes and 13 seconds
...@@ -6,4 +6,4 @@ set -o errexit ...@@ -6,4 +6,4 @@ set -o errexit
apt update && apt -y install tar git zstd apt update && apt -y install tar git zstd
git submodule update --init git submodule update --init
mkdir dist replay mkdir dist replay
tar --zstd -cf dist/ygopro-$CI_COMMIT_REF_NAME-darwin-$TARGET_LOCALE.tar.zst --exclude='.git*' ygopro.app LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf tar --zstd -cf dist/ygopro-$CI_COMMIT_REF_NAME-darwin-$TARGET_LOCALE.tar.zst --exclude='.git*' ygopro.app LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay windbot bot bot.conf
...@@ -83,16 +83,16 @@ mat_macos_platform_m1: ...@@ -83,16 +83,16 @@ mat_macos_platform_m1:
- libevent-stable - libevent-stable
mat_macos_irrklang_patched: #mat_macos_irrklang_patched:
stage: build # stage: build
tags: # tags:
- linux # - linux
dependencies: [] # dependencies: []
script: # script:
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/libirrklang-patched-dylib.tar.gz | tar zfx - # - wget -O - https://cdn01.moecube.com/ygopro-build-materials/libirrklang-patched-dylib.tar.gz | tar zfx -
artifacts: # artifacts:
paths: # paths:
- libirrklang-patched.dylib # - libirrklang-patched.dylib
mat_macos: mat_macos:
stage: prepare stage: prepare
...@@ -192,20 +192,19 @@ exec_macos_platform_x86: ...@@ -192,20 +192,19 @@ exec_macos_platform_x86:
tags: tags:
- macos - macos
dependencies: dependencies:
- mat_irrklang #- mat_irrklang
- mat_macos - mat_macos
- mat_common - mat_common
- mat_macos_platform_x86 - mat_macos_platform_x86
variables: variables:
TARGET_PLATFORM: x86 TARGET_PLATFORM: x86
NO_USE_IRRKLANG: '1'
cache: cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths: paths:
- bin/ - bin/
- obj/ - obj/
script: script: ./.ci/exec-macos-platform.sh
- ./.ci/exec-macos-platform.sh
- install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib ./ygopro-platforms/ygopro-platform-$TARGET_PLATFORM
artifacts: artifacts:
paths: paths:
- ygopro-platforms - ygopro-platforms
...@@ -239,12 +238,12 @@ exec_macos: ...@@ -239,12 +238,12 @@ exec_macos:
dependencies: dependencies:
- exec_macos_platform_x86 - exec_macos_platform_x86
- exec_macos_platform_m1 - exec_macos_platform_m1
- mat_macos_irrklang_patched #- mat_macos_irrklang_patched
script: script:
- mkdir -p ygopro.app/Contents/MacOS ygopro.app/Contents/Frameworks; - mkdir -p ygopro.app/Contents/MacOS ygopro.app/Contents/Frameworks;
- lipo -create -output ygopro.app/Contents/MacOS/ygopro ygopro-platforms/ygopro-platform-x86 ygopro-platforms/ygopro-platform-m1; - lipo -create -output ygopro.app/Contents/MacOS/ygopro ygopro-platforms/ygopro-platform-x86 ygopro-platforms/ygopro-platform-m1;
# do some special things for irrklang # do some special things for irrklang
- mv ./libirrklang-patched.dylib ygopro.app/Contents/Frameworks/libirrklang.dylib # - mv ./libirrklang-patched.dylib ygopro.app/Contents/Frameworks/libirrklang.dylib
#- install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib ygopro.app/Contents/MacOS/ygopro #- install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib ygopro.app/Contents/MacOS/ygopro
#- dylibbundler -x ygopro.app/Contents/MacOS/ygopro -b -d ygopro.app/Contents/Frameworks/ -p @executable_path/../Frameworks/ -cd -i @executable_path/../Frameworks; #- dylibbundler -x ygopro.app/Contents/MacOS/ygopro -b -d ygopro.app/Contents/Frameworks/ -p @executable_path/../Frameworks/ -cd -i @executable_path/../Frameworks;
#- strip ygopro.app/Contents/MacOS/ygopro; #- strip ygopro.app/Contents/MacOS/ygopro;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment