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
db28d940
Commit
db28d940
authored
May 26, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ci for static build
parent
14e743ce
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
49 deletions
+21
-49
.ci/build-opus.sh
.ci/build-opus.sh
+0
-36
.ci/configure-audio.sh
.ci/configure-audio.sh
+13
-0
.ci/configure-libevent.sh
.ci/configure-libevent.sh
+8
-0
.ci/libevent-prebuild.sh
.ci/libevent-prebuild.sh
+0
-13
No files found.
.ci/build-opus.sh
deleted
100755 → 0
View file @
14e743ce
#!/bin/sh
set
-x
set
-o
errexit
cd
miniaudio
external_built_dir
=
"
$PWD
/external-built"
is_macos
=
false
if
[
"
$(
uname
)
"
=
"Darwin"
]
;
then
is_macos
=
true
fi
maybe_patch_configure
()
{
if
$is_macos
;
then
sed
-i
.bak
's/-force_cpusubtype_ALL//g'
configure
*
fi
}
build_single_thing
()
{
lib_name
=
"
$1
"
cd
"external/
$lib_name
"
shift
maybe_patch_configure
PKG_CONFIG_PATH
=
"
$external_built_dir
/lib/pkgconfig"
CFLAGS
=
"
$OPUS_FLAGS
"
CXXFLAGS
=
"
$OPUS_FLAGS
"
./configure
--prefix
=
"
$external_built_dir
"
--enable-static
=
yes
--enable-shared
=
no
"
$@
"
make
-j
$(
nproc
)
make
install
cd
../..
}
build_single_thing ogg
build_single_thing opus
build_single_thing opusfile
--disable-examples
--disable-http
build_single_thing vorbis
--with-ogg
=
"
$external_built_dir
"
cd
..
.ci/configure-audio.sh
0 → 100755
View file @
db28d940
#!/bin/bash
libs_to_configure
=(
"ogg"
# "opus"
)
cd
miniaudio/external
for
lib
in
"
${
libs_to_configure
[@]
}
"
;
do
cd
$lib
./configure
cd
..
done
.ci/configure-libevent.sh
0 → 100755
View file @
db28d940
#!/bin/sh
set
-x
set
-o
errexit
cd
event
./configure
--disable-openssl
--enable-static
=
yes
--enable-shared
=
no
sed
-f
make-event-config.sed < config.h
>
./include/event2/event-config.h
cd
..
.ci/libevent-prebuild.sh
deleted
100755 → 0
View file @
14e743ce
#!/bin/bash
set
-x
set
-o
errexit
# PROCESSOR_COUNT=4
wget
-O
- https://cdn02.moecube.com:444/ygopro-build-materials/libevent-2.1.12-stable.tar.gz |
tar
zfx -
cd
libevent-2.1.12-stable
./configure
--prefix
=
$PWD
/libevent-stable
--disable-openssl
--enable-static
=
yes
--enable-shared
=
no
make
-j
$PROCESSOR_COUNT
make
install
cd
..
mv
libevent-2.1.12-stable/libevent-stable
.
rm
-rf
libevent-2.1.12-stable
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