Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro
Commits
7de73d7d
Commit
7de73d7d
authored
Jun 25, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove macos sound support
parent
832aa277
Pipeline
#14211
passed with stages
in 9 minutes and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
17 deletions
+16
-17
.ci/pack-macos.sh
.ci/pack-macos.sh
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+15
-16
No files found.
.ci/pack-macos.sh
View file @
7de73d7d
...
...
@@ -6,4 +6,4 @@ set -o errexit
apt update
&&
apt
-y
install tar
git zstd
git submodule update
--init
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
.gitlab-ci.yml
View file @
7de73d7d
...
...
@@ -83,16 +83,16 @@ mat_macos_platform_m1:
-
libevent-stable
mat_macos_irrklang_patched
:
stage
:
build
tags
:
-
linux
dependencies
:
[]
script
:
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/libirrklang-patched-dylib.tar.gz | tar zfx -
artifacts
:
paths
:
-
libirrklang-patched.dylib
#
mat_macos_irrklang_patched:
#
stage: build
#
tags:
#
- linux
#
dependencies: []
#
script:
#
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/libirrklang-patched-dylib.tar.gz | tar zfx -
#
artifacts:
#
paths:
#
- libirrklang-patched.dylib
mat_macos
:
stage
:
prepare
...
...
@@ -192,20 +192,19 @@ exec_macos_platform_x86:
tags
:
-
macos
dependencies
:
-
mat_irrklang
#
- mat_irrklang
-
mat_macos
-
mat_common
-
mat_macos_platform_x86
variables
:
TARGET_PLATFORM
:
x86
NO_USE_IRRKLANG
:
'
1'
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
bin/
-
obj/
script
:
-
./.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
script
:
./.ci/exec-macos-platform.sh
artifacts
:
paths
:
-
ygopro-platforms
...
...
@@ -239,12 +238,12 @@ exec_macos:
dependencies
:
-
exec_macos_platform_x86
-
exec_macos_platform_m1
-
mat_macos_irrklang_patched
#
- mat_macos_irrklang_patched
script
:
-
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;
# 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
#- 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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment