Skip to content

Commit e289a7d

Browse files
committed
release.yaml: update tools
* eac3to: updated to 3.52 * qaac: updated to v2.85 * gMKVExtractGUI: updated to v2.11.1 * flac: updated to 1.5.0 * x264: updated to tmod-r3214 * x265: updated to Kyouko-4.1-AC
1 parent 03a0300 commit e289a7d

File tree

1 file changed

+68
-10
lines changed

1 file changed

+68
-10
lines changed

.github/workflows/release.yaml

Lines changed: 68 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,38 +47,97 @@ jobs:
4747
curl -s -o tools.zip -L https://github.com/vcb-s/OKEGui/releases/download/8.7.1/OKEGui-v8.7.1.zip
4848
7z x -otmp tools.zip
4949
# clean up unnecessary files
50+
rm -rf tmp/OKEGui/tools/eac3to/*
51+
rm -rf tmp/OKEGui/tools/flac/*
52+
rm -f tmp/OKEGui/tools/qaac/libsox*.dll
53+
rm -f tmp/OKEGui/tools/qaac/qaac64.exe
54+
rm -f tmp/OKEGui/tools/qaac/refalac64.exe
55+
rm -f tmp/OKEGui/tools/mkvtoolnix/gMKV*
56+
rm -f tmp/OKEGui/tools/mkvtoolnix/Newtonsoft.Json.dll
5057
rm -f tmp/OKEGui/tools/x26x/*
51-
rm -f tmp/OKEGui/tools/eac3to/*.wav
58+
rm -f tmp/OKEGui/tools/rpc/*
5259
# tweak mkvtoolnix setting
5360
sed -i -e 's|chapterNameTemplate=.*|chapterNameTemplate=Chapter <NUM:2>|g' tmp/OKEGui/tools/mkvtoolnix/mkvtoolnix-gui.ini
5461
sed -i -e 's|updates\\checkForUpdates=true|updates\\checkForUpdates=false|g' tmp/OKEGui/tools/mkvtoolnix/mkvtoolnix-gui.ini
5562
sed -i -e 's|useLegacyFontMIMETypes=false|useLegacyFontMIMETypes=true|g' tmp/OKEGui/tools/mkvtoolnix/mkvtoolnix-gui.ini
56-
# update eac3to's libdcadec.dll, see https://forum.videohelp.com/threads/400707-UsEac3to-1-3-0-DTS-HD-MA-to-FLAC#post2651323
57-
curl -s -o dcadec.zip -L https://github.com/foo86/dcadec/releases/download/v0.2.0/dcadec-0.2.0-win32.zip
58-
7z x -odcadec dcadec.zip
59-
mv dcadec/libdcadec.dll tmp/OKEGui/tools/eac3to/libdcadec.dll
6063
# integrate into release
6164
mv tmp/OKEGui/tools "./OKEGui/OKEGui/bin/Release/"
6265
rm -rf tmp
6366
64-
- name: Integrate eac3to-wrapper
67+
- name: Integrate eac3to and eac3to-wrapper
6568
shell: bash
6669
run: |
70+
set -ex
6771
mkdir -p "./OKEGui/OKEGui/bin/Release/tools/eac3to"
72+
#
73+
curl -s -o eac3to.rar -L https://www.rationalqm.us/eac3to/eac3to_3.52.rar
74+
7z x -oeac3to eac3to.rar
75+
rm -f eac3to/*.wav
76+
rm -f eac3to/libdcadec.dll
77+
# update eac3to's libdcadec.dll, see https://forum.videohelp.com/threads/400707-UsEac3to-1-3-0-DTS-HD-MA-to-FLAC#post2651323
78+
curl -s -o dcadec.zip -L https://github.com/foo86/dcadec/releases/download/v0.2.0/dcadec-0.2.0-win32.zip
79+
7z x -odcadec dcadec.zip
80+
mv dcadec/libdcadec.dll eac3to/libdcadec.dll
81+
#
82+
cp -r eac3to/* "./OKEGui/OKEGui/bin/Release/tools/eac3to"
6883
cp eac3to-wrapper/eac3to-wrapper.exe "./OKEGui/OKEGui/bin/Release/tools/eac3to"
6984
70-
- name: Integrate x264 tmod and x265 Yuuki
85+
- name: Integrate qaac
86+
shell: bash
87+
run: |
88+
set -ex
89+
mkdir -p "./OKEGui/OKEGui/bin/Release/tools/qaac"
90+
#
91+
curl -s -o qaac.zip -L https://github.com/nu774/qaac/releases/download/v2.85/qaac_2.85.zip
92+
7z x -oqaac qaac.zip
93+
#
94+
cp qaac/qaac_2.85/x64/* "./OKEGui/OKEGui/bin/Release/tools/qaac"
95+
96+
- name: Integrate flac
97+
shell: bash
98+
run: |
99+
set -ex
100+
mkdir -p "./OKEGui/OKEGui/bin/Release/tools/flac"
101+
#
102+
curl -s -o flac.zip -L https://www.rarewares.org/files/lossless/flac-1.5.0-AVX2.zip
103+
7z x -oflac flac.zip
104+
cp flac/flac.exe "./OKEGui/OKEGui/bin/Release/tools/flac"
105+
#
106+
curl -s -o flac_dll-x64.zip -L https://www.rarewares.org/files/lossless/flac_dll-1.5.0-x64.zip
107+
7z x -oflac_dll-x64 flac_dll-x64.zip
108+
# update qaac's libflac
109+
rm -f "./OKEGui/OKEGui/bin/Release/tools/qaac/libFLAC.dll"
110+
cp flac_dll-x64/libFLAC.dll "./OKEGui/OKEGui/bin/Release/tools/qaac"
111+
#
112+
curl -s -o flac_dll-x86.zip -L https://www.rarewares.org/files/lossless/flac_dll-1.5.0-x86.zip
113+
7z x -oflac_dll-x86 flac_dll-x86.zip
114+
# update eac3to's libflac
115+
rm -f "./OKEGui/OKEGui/bin/Release/tools/eac3to/libFLAC.dll"
116+
cp flac_dll-x86/libFLAC.dll "./OKEGui/OKEGui/bin/Release/tools/eac3to"
117+
118+
- name: Integrate gMKVExtractGUI
119+
shell: bash
120+
run: |
121+
set -ex
122+
mkdir -p "./OKEGui/OKEGui/bin/Release/tools/mkvtoolnix"
123+
#
124+
curl -s -o gMKVExtractGUI.7z -L https://github.com/Gpower2/gMKVExtractGUI/releases/download/v2.11.1/gMKVExtractGUI.v2.11.1.7z
125+
7z x -ogMKVExtractGUI gMKVExtractGUI.7z
126+
#
127+
cp gMKVExtractGUI/* "./OKEGui/OKEGui/bin/Release/tools/mkvtoolnix"
128+
129+
- name: Integrate x264 tmod and x265 Kyouko
71130
shell: bash
72131
run: |
73132
set -ex
74133
mkdir -p "./OKEGui/OKEGui/bin/Release/tools/x26x"
75134
#
76-
curl -s -o x264.7z -L https://github.com/jpsdr/x264/releases/download/r3075/x264_tmod_r3075.7z
135+
curl -s -o x264.7z -L https://github.com/jpsdr/x264/releases/download/r3214/x264_tmod_r3214.7z
77136
7z x -otmp x264.7z
78137
cp -a tmp/posix/x264_x64.exe "./OKEGui/OKEGui/bin/Release/tools/x26x/x264.exe"
79138
rm -rf tmp
80139
#
81-
curl -s -o x265.7z -L https://github.com/AmusementClub/x265/releases/download/Kyouko-3.5-AC2/x265-win64-skylake-clang.Kyouko-3.5-AC2.7z
140+
curl -s -o x265.7z -L https://github.com/AmusementClub/x265/releases/download/Kyouko-4.1-AC1/x265-win64-skylake-clang.Kyouko-4.1-AC1.7z
82141
7z x -otmp x265.7z
83142
cp -a tmp/x265.exe "./OKEGui/OKEGui/bin/Release/tools/x26x/x265.exe"
84143
rm -rf tmp
@@ -93,7 +152,6 @@ jobs:
93152
mv RPChecker.exe "./OKEGui/OKEGui/bin/Release/tools/rpc/"
94153
#
95154
curl -s -o RpcTemplate.vpy https://raw.githubusercontent.com/AmusementClub/vapoursynth-script/master/RpcTemplate.vpy
96-
mv "./OKEGui/OKEGui/bin/Release/tools/rpc/RpcTemplate.vpy" "./OKEGui/OKEGui/bin/Release/tools/rpc/RpcTemplate.vpy.old"
97155
mv RpcTemplate.vpy "./OKEGui/OKEGui/bin/Release/tools/rpc/"
98156
99157
- name: Package release

0 commit comments

Comments
 (0)