Skip to content

Commit 86f609d

Browse files
committed
tweak: remove OGG libs
1 parent 101b78e commit 86f609d

17 files changed

Lines changed: 38 additions & 9 deletions

‎.github/workflows/android.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676

7777
- name: Build apk
7878
run: flutter build apk --no-pub
79+
env:
80+
NO_OPUS_OGG_LIBS: "1"
7981

8082
- name: Rename apk
8183
id: rename_apk
@@ -107,6 +109,8 @@ jobs:
107109
- name: Build aab
108110
if: ${{ matrix.foss == false }}
109111
run: flutter build appbundle
112+
env:
113+
NO_OPUS_OGG_LIBS: "1"
110114

111115
- name: Rename aab
112116
if: ${{ matrix.foss == false }}

‎.github/workflows/ios.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
export ipaPath="Ricochlime_v${{ needs.get-version.outputs.buildName }}.ipa"
9898
mv "$(find $(pwd) -name "*.ipa")" "$ipaPath"
9999
echo "ipaPath=$ipaPath" >> $GITHUB_OUTPUT
100+
env:
101+
NO_OPUS_OGG_LIBS: "1"
100102

101103
- name: Restore keychain
102104
run: |

‎.github/workflows/linux.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
run: |
8181
flutter build linux --no-pub \
8282
--target-platform ${{ matrix.arch.target-platform }}
83+
env:
84+
NO_OPUS_OGG_LIBS: "1"
8385

8486
- name: Compress Flutter build
8587
id: compress

‎.github/workflows/macos.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
- name: Build for macOS
9393
run: |
9494
flutter build macos --no-pub
95+
env:
96+
NO_OPUS_OGG_LIBS: "1"
9597

9698
- name: Package for App Store
9799
id: package

‎.github/workflows/web.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454

5555
- name: Build web
5656
run: flutter build web --no-pub --release
57+
env:
58+
NO_OPUS_OGG_LIBS: "1"
5759

5860
- name: Build privacy_policy.html
5961
run: ./scripts/build_privacy_policy_html.sh

‎.github/workflows/windows.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070

7171
- name: Build Windows
7272
shell: bash
73-
run: |
74-
flutter build windows
73+
run: flutter build windows
74+
env:
75+
NO_OPUS_OGG_LIBS: "1"
7576

7677
- name: Download Visual C++ Redistributable
7778
shell: bash

‎.vscode/launch.json‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,28 @@
77
{
88
"name": "ricochlime",
99
"request": "launch",
10-
"type": "dart"
10+
"type": "dart",
11+
"env": {
12+
"NO_OPUS_OGG_LIBS": "1"
13+
}
1114
},
1215
{
1316
"name": "ricochlime (profile mode)",
1417
"request": "launch",
1518
"type": "dart",
16-
"flutterMode": "profile"
19+
"flutterMode": "profile",
20+
"env": {
21+
"NO_OPUS_OGG_LIBS": "1"
22+
}
1723
},
1824
{
1925
"name": "ricochlime (release mode)",
2026
"request": "launch",
2127
"type": "dart",
22-
"flutterMode": "release"
28+
"flutterMode": "release",
29+
"env": {
30+
"NO_OPUS_OGG_LIBS": "1"
31+
}
2332
}
2433
]
25-
}
34+
}

‎android/gradle.properties‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
22
android.useAndroidX=true
3+
NO_OPUS_OGG_LIBS=true
-864 KB
Binary file not shown.
346 KB
Binary file not shown.

0 commit comments

Comments
 (0)