Skip to content

Commit c0dac04

Browse files
Merge branch 'develop'
2 parents da326c9 + b8bb7ea commit c0dac04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1943
-749
lines changed

.ci/assets-locale.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ source .ci/asset-branch
66
apt update && apt -y install wget git libarchive-tools sqlite3
77
git clone --depth=1 -b "$ASSET_BRANCH_NAME" https://code.moenext.com/mycard/ygopro-database
88
cp -rf ./ygopro-database/locales/$TARGET_LOCALE/strings.conf .
9+
cp -rf ./ygopro-database/locales/$TARGET_LOCALE/servers.conf .
910
rm -f cards.cdb
1011
sqlite3 ./ygopro-database/locales/$TARGET_LOCALE/cards.cdb .dump | sqlite3 cards.cdb
1112
# ygopro-images

.ci/build-opus.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

.ci/configure-audio.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
libs_to_configure=(
4+
"ogg"
5+
# "opus"
6+
)
7+
8+
cd miniaudio/external
9+
for lib in "${libs_to_configure[@]}"; do
10+
cd $lib
11+
./configure
12+
cd ..
13+
done

.ci/configure-libevent.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
set -x
3+
set -o errexit
4+
5+
cd event
6+
./configure --disable-openssl --enable-static=yes --enable-shared=no
7+
sed -f make-event-config.sed < config.h > ./include/event2/event-config.h
8+
cd ..

.ci/exec-macos-platform.sh

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,19 @@ set -o errexit
44

55
TARGET_PLATFORM=$(arch)
66
TARGET_YGOPRO_BINARY_PATH=./ygopro-platforms/ygopro-platform-$TARGET_PLATFORM
7-
export EVENT_INCLUDE_DIR=$PWD/libevent-stable/include
8-
export EVENT_LIB_DIR=$PWD/libevent-stable/lib
9-
export OPUS_INCLUDE_DIR=$PWD/miniaudio/external-built/include/opus
10-
export OPUS_LIB_DIR=$PWD/miniaudio/external-built/lib
11-
export OPUSFILE_INCLUDE_DIR=$PWD/miniaudio/external-built/include/opus
12-
export OPUSFILE_LIB_DIR=$PWD/miniaudio/external-built/lib
13-
export VORBIS_INCLUDE_DIR=$PWD/miniaudio/external-built/include
14-
export VORBIS_LIB_DIR=$PWD/miniaudio/external-built/lib
15-
export OGG_INCLUDE_DIR=$PWD/miniaudio/external-built/include
16-
export OGG_LIB_DIR=$PWD/miniaudio/external-built/lib
17-
export ACLOCAL=aclocal
18-
export AUTOMAKE=automake
19-
20-
./.ci/libevent-prebuild.sh
21-
./.ci/build-opus.sh
22-
23-
./premake5 gmake --cc=clang --build-freetype --build-sqlite
7+
8+
./.ci/configure-audio.sh
9+
10+
rm -rf sqlite3/VERSION sqlite3/version
11+
12+
./premake5 gmake --cc=clang
2413

2514
cd build
2615
make config=release -j$(sysctl -n hw.ncpu)
2716
cd ..
2817

2918
mkdir ygopro-platforms
30-
mv bin/release/YGOPro.app $TARGET_YGOPRO_BINARY_PATH
19+
mv bin/release/YGOPro $TARGET_YGOPRO_BINARY_PATH
3120

3221
#if [[ $TARGET_PLATFORM == "x86" ]]; then
3322
# install_name_tool -change /usr/local/lib/libirrklang.dylib @executable_path/../Frameworks/libirrklang.dylib $TARGET_YGOPRO_BINARY_PATH

.ci/libevent-prebuild.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

.ci/pack-linux-dlc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -x
33
set -o errexit
44

5-
ARCHIVE_FILES=(ygopro cards.cdb locales fonts sound textures strings.conf system.conf pack)
5+
ARCHIVE_FILES=(ygopro cards.cdb locales fonts sound textures strings.conf system.conf servers.conf pack)
66

77
if [[ -z "$TARGET_PLATFORM" ]]; then
88
TARGET_PLATFORM=linux

.ci/pack-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -x
33
set -o errexit
44

5-
ARCHIVE_FILES=(ygopro LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay windbot bot bot.conf locales fonts pack)
5+
ARCHIVE_FILES=(ygopro LICENSE README.md lflist.conf strings.conf system.conf servers.conf cards.cdb script textures deck single pics replay windbot bot bot.conf locales fonts pack)
66

77
# TARGET_LOCALE
88
# ARCHIVE_SUFFIX

.ci/pack-macos-dlc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -x
33
set -o errexit
44

5-
ARCHIVE_FILES=(ygopro.app cards.cdb locales fonts sound textures strings.conf system.conf pack)
5+
ARCHIVE_FILES=(ygopro.app cards.cdb locales fonts sound textures strings.conf system.conf servers.conf pack)
66

77
if [[ -z "$TARGET_PLATFORM" ]]; then
88
TARGET_PLATFORM=darwin

.ci/pack-macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -x
33
set -o errexit
44

5-
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 pack)
5+
ARCHIVE_FILES=(ygopro.app LICENSE README.md lflist.conf strings.conf system.conf servers.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf locales fonts pack)
66

77
# TARGET_LOCALE
88
# ARCHIVE_SUFFIX

0 commit comments

Comments
 (0)