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
3875e21f
Commit
3875e21f
authored
Mar 28, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ci for miniaudio
parent
3dcd144a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
0 deletions
+55
-0
.ci/build-opus.sh
.ci/build-opus.sh
+24
-0
.ci/exec-macos-platform.sh
.ci/exec-macos-platform.sh
+7
-0
.ci/prepare-miniaudio.sh
.ci/prepare-miniaudio.sh
+24
-0
No files found.
.ci/build-opus.sh
0 → 100755
View file @
3875e21f
#!/bin/sh
set
-x
set
-o
errexit
cd
miniaudio
external_built_dir
=
"
$PWD
/external-built"
build_single_thing
()
{
lib_name
=
"
$1
"
cd
"external/
$lib_name
"
shift
PKG_CONFIG_PATH
=
"
$external_built_dir
/lib/pkgconfig"
./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/exec-macos-platform.sh
View file @
3875e21f
...
...
@@ -8,8 +8,15 @@ export EVENT_INCLUDE_DIR=$PWD/libevent-stable/include
export
EVENT_LIB_DIR
=
$PWD
/libevent-stable/lib
export
IRRLICHT_INCLUDE_DIR
=
$PWD
/irrlicht/include
export
IRRLICHT_LIB_DIR
=
$PWD
/irrlicht/lib/
$(
arch
)
export
OPUS_INCLUDE_DIR
=
$PWD
/miniaudio/external-built/include/opus
export
OPUS_LIB_DIR
=
$PWD
/miniaudio/external-built/lib
export
VORBIS_INCLUDE_DIR
=
$PWD
/miniaudio/external-built/include
export
VORBIS_LIB_DIR
=
$PWD
/miniaudio/external-built/lib
export
OGG_INCLUDE_DIR
=
$PWD
/miniaudio/external-built/include
export
OGG_LIB_DIR
=
$PWD
/miniaudio/external-built/lib
./.ci/libevent-prebuild.sh
./.ci/build-opus.sh
./premake5 gmake
--cc
=
clang
--build-freetype
--build-sqlite
...
...
.ci/prepare-miniaudio.sh
0 → 100755
View file @
3875e21f
#!/bin/sh
set
-x
set
-o
errexit
if
[
!
-d
"miniaudio"
]
;
then
git clone
--depth
=
1
--branch
0.11.22 https://github.com/mackron/miniaudio
fi
mkdir
-p
miniaudio/external
install_external
()
{
dir
=
"
$1
"
url
=
"
$2
"
if
[
!
-d
"miniaudio/external/
$dir
"
]
;
then
mkdir
-p
"miniaudio/external/
$dir
"
# Download the external library and strip one level of directories from the archive
wget
-O
-
"
$url
"
|
tar
--strip-components
=
1
-C
"miniaudio/external/
$dir
"
-zxf
-
fi
}
install_external
"ogg"
"https://github.com/xiph/ogg/releases/download/v1.3.5/libogg-1.3.5.tar.gz"
install_external
"opus"
"https://github.com/xiph/opus/releases/download/v1.5.2/opus-1.5.2.tar.gz"
install_external
"opusfile"
"https://github.com/xiph/opusfile/releases/download/v0.12/opusfile-0.12.tar.gz"
install_external
"vorbis"
"https://github.com/xiph/vorbis/releases/download/v1.3.7/libvorbis-1.3.7.tar.gz"
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