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
List
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
nanahira
ygopro
Commits
d3e2d3a0
Commit
d3e2d3a0
authored
Jun 25, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove macos sound support
parent
e520dcbf
Pipeline
#14216
passed with stages
in 25 minutes and 59 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
.ci/exec-macos-platform.sh
.ci/exec-macos-platform.sh
+3
-3
.ci/pack-macos-dlc.sh
.ci/pack-macos-dlc.sh
+1
-1
.ci/pack-macos.sh
.ci/pack-macos.sh
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+15
-15
No files found.
.ci/exec-macos-platform.sh
View file @
d3e2d3a0
...
@@ -17,8 +17,8 @@ cd ..
...
@@ -17,8 +17,8 @@ cd ..
mkdir
ygopro-platforms
mkdir
ygopro-platforms
mv
bin/release/YGOPro.app
$TARGET_YGOPRO_BINARY_PATH
mv
bin/release/YGOPro.app
$TARGET_YGOPRO_BINARY_PATH
if
[[
$TARGET_PLATFORM
==
"x86"
]]
;
then
#
if [[ $TARGET_PLATFORM == "x86" ]]; then
install_name_tool
-change
/usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib
$TARGET_YGOPRO_BINARY_PATH
#
install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib $TARGET_YGOPRO_BINARY_PATH
fi
#
fi
strip
$TARGET_YGOPRO_BINARY_PATH
strip
$TARGET_YGOPRO_BINARY_PATH
.ci/pack-macos-dlc.sh
View file @
d3e2d3a0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
set
-x
set
-x
set
-o
errexit
set
-o
errexit
ARCHIVE_FILES
=(
ygopro.app cards.cdb locales fonts
sound
textures strings.conf system.conf
)
ARCHIVE_FILES
=(
ygopro.app cards.cdb locales fonts textures strings.conf system.conf
)
TARGET_PLATFORM
=
darwin
TARGET_PLATFORM
=
darwin
...
...
.ci/pack-macos.sh
View file @
d3e2d3a0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
set
-x
set
-x
set
-o
errexit
set
-o
errexit
ARCHIVE_FILES
=(
ygopro.app LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay
sound
windbot bot bot.conf locales fonts
)
ARCHIVE_FILES
=(
ygopro.app LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay windbot bot bot.conf locales fonts
)
# TARGET_LOCALE
# TARGET_LOCALE
# ARCHIVE_SUFFIX
# ARCHIVE_SUFFIX
...
...
.gitlab-ci.yml
View file @
d3e2d3a0
...
@@ -95,16 +95,16 @@ mat_macos_platform_m1:
...
@@ -95,16 +95,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
...
@@ -203,6 +203,8 @@ exec_linux:
...
@@ -203,6 +203,8 @@ exec_linux:
-
macos
-
macos
script
:
script
:
-
./.ci/exec-macos-platform.sh
-
./.ci/exec-macos-platform.sh
variables
:
NO_USE_IRRKLANG
:
'
1'
artifacts
:
artifacts
:
paths
:
paths
:
-
ygopro-platforms
-
ygopro-platforms
...
@@ -210,14 +212,13 @@ exec_linux:
...
@@ -210,14 +212,13 @@ exec_linux:
exec_macos_platform_x86
:
exec_macos_platform_x86
:
extends
:
._exec_macos_platform
extends
:
._exec_macos_platform
dependencies
:
dependencies
:
-
mat_irrklang
#
- mat_irrklang
-
mat_macos
-
mat_macos
-
mat_common
-
mat_common
-
mat_macos_platform_x86
-
mat_macos_platform_x86
-
mat_submodules
-
mat_submodules
variables
:
variables
:
TARGET_PLATFORM
:
x86
TARGET_PLATFORM
:
x86
BUILD_IKPMP3
:
'
1'
exec_macos_platform_m1
:
exec_macos_platform_m1
:
extends
:
._exec_macos_platform
extends
:
._exec_macos_platform
...
@@ -229,7 +230,6 @@ exec_macos_platform_m1:
...
@@ -229,7 +230,6 @@ exec_macos_platform_m1:
variables
:
variables
:
TARGET_PLATFORM
:
m1
TARGET_PLATFORM
:
m1
MAC_ARM
:
'
1'
MAC_ARM
:
'
1'
NO_USE_IRRKLANG
:
'
1'
exec_macos
:
exec_macos
:
stage
:
combine
stage
:
combine
...
@@ -238,12 +238,12 @@ exec_macos:
...
@@ -238,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;
...
...
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