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
YGOPRO-520DIY
ygopro
Commits
9014e097
Commit
9014e097
authored
Jun 12, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
still headache
parent
039f7500
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
.gitlab-ci.yml
.gitlab-ci.yml
+4
-3
gframe/premake4.lua
gframe/premake4.lua
+5
-3
premake5.lua
premake5.lua
+3
-3
No files found.
.gitlab-ci.yml
View file @
9014e097
...
@@ -57,7 +57,7 @@ mat_macos:
...
@@ -57,7 +57,7 @@ mat_macos:
-
linux
-
linux
script
:
script
:
-
apt update; apt -y install wget tar
-
apt update; apt -y install wget tar
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-alpha1
2
-macosx.tar.gz | tar zfx -
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-alpha1
4
-macosx.tar.gz | tar zfx -
-
mkdir irrlicht
-
mkdir irrlicht
-
cd irrlicht
-
cd irrlicht
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/irrlicht-mycard-mac.tar.gz | tar zfx -
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/irrlicht-mycard-mac.tar.gz | tar zfx -
...
@@ -166,12 +166,13 @@ exec_macos:
...
@@ -166,12 +166,13 @@ exec_macos:
script
:
script
:
-
git submodule update --init
-
git submodule update --init
-
brew install freetype libevent sqlite dylibbundler
-
brew install freetype libevent sqlite dylibbundler
-
./premake5 gmake
-
sudo cp -rf irrklang/bin/macosx-gcc/libirrklang.dylib /usr/local/lib/
-
./premake5 gmake --cc=clang
-
cd build
-
cd build
-
make config=release -j4
-
make config=release -j4
-
cd ..
-
cd ..
-
mkdir -p ygopro.app/Contents/MacOS;
-
mkdir -p ygopro.app/Contents/MacOS;
-
mv bin/release/ygopro
ygopro.app/Contents/MacOS
;
-
mv bin/release/ygopro
.app ygopro.app/Contents/MacOS/ygopro
;
-
dylibbundler -x ygopro.app/Contents/MacOS/ygopro -b -d ygopro.app/Contents/Frameworks/ -p @executable_path/../Frameworks/ -cd;
-
dylibbundler -x ygopro.app/Contents/MacOS/ygopro -b -d ygopro.app/Contents/Frameworks/ -p @executable_path/../Frameworks/ -cd;
-
strip ygopro.app/Contents/MacOS/ygopro; mkdir ygopro.app/Contents/Resources;
-
strip ygopro.app/Contents/MacOS/ygopro; mkdir ygopro.app/Contents/Resources;
-
mv premake/gframe/ygopro.icns ygopro.app/Contents/Resources/Icon.icns;
-
mv premake/gframe/ygopro.icns ygopro.app/Contents/Resources/Icon.icns;
...
...
gframe/premake4.lua
View file @
9014e097
...
@@ -30,12 +30,12 @@ project "ygopro"
...
@@ -30,12 +30,12 @@ project "ygopro"
end
end
links
{
"opengl32"
,
"ws2_32"
,
"winmm"
,
"gdi32"
,
"kernel32"
,
"user32"
,
"imm32"
}
links
{
"opengl32"
,
"ws2_32"
,
"winmm"
,
"gdi32"
,
"kernel32"
,
"user32"
,
"imm32"
}
if
IRRKLANG_PRO
then
if
IRRKLANG_PRO
then
configuration
{
"windows"
,
"not vs2017"
}
configuration
{
"windows"
,
"not vs2017"
,
"not vs2019"
}
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
libdirs
{
"../irrklang/lib/Win32-visualStudio"
}
configuration
{
"windows"
,
"vs2017"
}
configuration
{
"windows"
,
"vs2017"
}
libdirs
{
"../irrklang/lib/Win32-vs2017"
}
libdirs
{
"../irrklang/lib/Win32-vs2017"
}
configuration
{
"windows"
,
"vs2019"
}
configuration
{
"windows"
,
"vs2019"
}
libdirs
{
"../irrklang/lib/Win32-vs201
7
"
}
libdirs
{
"../irrklang/lib/Win32-vs201
9
"
}
end
end
configuration
{
"windows"
,
"not vs*"
}
configuration
{
"windows"
,
"not vs*"
}
includedirs
{
"/mingw/include/irrlicht"
,
"/mingw/include/freetype2"
}
includedirs
{
"/mingw/include/irrlicht"
,
"/mingw/include/freetype2"
}
...
@@ -44,7 +44,9 @@ project "ygopro"
...
@@ -44,7 +44,9 @@ project "ygopro"
configuration
"not windows"
configuration
"not windows"
includedirs
{
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
includedirs
{
"/usr/include/irrlicht"
,
"/usr/include/freetype2"
}
excludes
{
"COSOperator.*"
}
excludes
{
"COSOperator.*"
}
links
{
"event_pthreads"
,
"GL"
,
"dl"
,
"pthread"
}
links
{
"event_pthreads"
,
"dl"
,
"pthread"
}
configuration
{
"not windows"
,
"not macosx"
}
links
"GL"
configuration
"linux"
configuration
"linux"
includedirs
{
"../irrlicht_linux/include"
}
includedirs
{
"../irrlicht_linux/include"
}
links
{
"X11"
,
"Xxf86vm"
,
"lua5.3-c++"
}
links
{
"X11"
,
"Xxf86vm"
,
"lua5.3-c++"
}
...
...
premake5.lua
View file @
9014e097
...
@@ -32,9 +32,9 @@ solution "ygo"
...
@@ -32,9 +32,9 @@ solution "ygo"
libdirs
{
"/usr/local/lib"
}
libdirs
{
"/usr/local/lib"
}
configuration
"macosx"
configuration
"macosx"
defines
{
"LUA_USE_MACOSX"
,
"DBL_MAX_10_EXP=+308"
,
"DBL_MANT_DIG=53"
}
defines
{
"LUA_USE_MACOSX"
,
"DBL_MAX_10_EXP=+308"
,
"DBL_MANT_DIG=53"
,
"GL_SILENCE_DEPRECATION"
}
includedirs
{
"/usr/local/include
"
,
"/usr/local/include/*
"
}
includedirs
{
"/usr/local/include
/event2"
,
"/usr/local/include/freetype2
"
}
libdirs
{
"/usr/local/lib"
,
"/usr/X11/lib"
}
libdirs
{
"/usr/local/lib"
}
buildoptions
{
"-stdlib=libc++"
}
buildoptions
{
"-stdlib=libc++"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
links
{
"OpenGL.framework"
,
"Cocoa.framework"
,
"IOKit.framework"
}
...
...
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