Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
64a8f20
chore: update flatpak runtime to 25.08
Totto16 Oct 13, 2025
5c711ca
fix: fix compilation of the flatpak image
Totto16 Oct 13, 2025
3e4e968
chore: update to android ndk 29
Totto16 Oct 13, 2025
1a11e49
fix: fix android ndk installation
Totto16 Oct 13, 2025
b86c5c6
chore: update android versions
Totto16 Oct 13, 2025
0188492
fix: fix meson config formatting
Totto16 Oct 13, 2025
4349079
chore: update httplib wrap to 0.26.0
Totto16 Oct 13, 2025
6c4b02e
chore: update argparse wrap to 3.2-2
Totto16 Oct 13, 2025
a291611
chore: update flac wrap to 1.5.0-2
Totto16 Oct 13, 2025
a4f1796
chore: update fmt wrap to 12.0.0-1
Totto16 Oct 13, 2025
8c0c94f
chore: update freetype wrap to 2.14.1-1
Totto16 Oct 13, 2025
3a9c49d
chore: update gtest wrap to 1.17.0-4
Totto16 Oct 13, 2025
ff40178
chore: update icu wrap to 77.1-3
Totto16 Oct 13, 2025
5fc1bc5
chore: update tl-expected wrap to 1.3.1-1
Totto16 Oct 13, 2025
1a6837a
chore: update spdlog wrap to 1.15.3-5
Totto16 Oct 13, 2025
bc7d1c3
chore: update discord_social_sdk wrap to 1.6.11894
Totto16 Oct 13, 2025
af9bda2
chore: update utfcpp wrap to 4.0.8
Totto16 Oct 13, 2025
e32fcac
fix: fix libc++ installation
Totto16 Oct 13, 2025
dc339e2
fix: fix fmt header only usage
Totto16 Oct 13, 2025
5f6bcf8
fix: fix libc++ installation
Totto16 Oct 13, 2025
0dc899b
chore: update Nintendo ci images
Totto16 Oct 13, 2025
3142864
fix: correctly install meson in Nintendo ci
Totto16 Oct 14, 2025
92f925c
ci: use newest intel macos runner image, macos:15-intel
Totto16 Oct 14, 2025
2359a5c
ci: fix nintendo ci
Totto16 Oct 14, 2025
b61ae04
ci: fix version of gcc for nintendo
Totto16 Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Setup NDK
run: |
sdkmanager --install "ndk;29.0.13846066"
sdkmanager --install "ndk;29.0.14206865"

- name: Build native libraries
run: |
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- name: MacOS
os: macos
os-version: 13
os-version: 15-intel
arm: false
shell: bash
fatal_warnings: true
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 20
sudo apt-get install libc++-20* libc++abi*20* -y --no-install-recommends
sudo apt-get install libc++-20* libc++abi-*20* -y --no-install-recommends
echo "CC=clang-20" >> "$GITHUB_ENV"
echo "CXX=clang++-20" >> "$GITHUB_ENV"
echo "OBJC=clang-20" >> "$GITHUB_ENV"
Expand All @@ -166,16 +166,6 @@ jobs:
version: 14
platform: x64

- name: Unbreak Python in GHA (MacOS 13 image)
if: matrix.config.os == 'macos' && matrix.config.os-version == 13
run: |
# TODO: remove this, after it works again
# A workaround for "The `brew link` step did not complete successfully" error.
# See e.g. https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1991817938
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
sudo rm -rf /Library/Frameworks/Python.framework/
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3

- name: Setup Clang (MacOS)
if: matrix.config.os == 'macos'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# Don't fail the whole workflow if one architecture fails
fail-fast: false
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-24.08
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-25.08
options: --privileged
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nintendo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ jobs:
- name: 3ds
extension: 3dsx
container: devkitarm
revision: "20250102"
revision: "20250728"

- name: switch
extension: nro
container: devkita64
revision: "20241023"
revision: "20250728"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'


# NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
- name: Setup Meson
run: |
sudo apt-get update
sudo apt-get install python3 python3-pip -y --no-install-recommends
python3 -m pip install --upgrade pip
pip install meson
pip install meson --break-system-packages

- name: Setup ninja
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 20
sudo apt-get install libc++-20* libc++abi*20* llvm-20 -y --no-install-recommends
sudo apt-get install libc++-20* libc++abi-*20* llvm-20 -y --no-install-recommends
echo "CC=clang-20" >> "$GITHUB_ENV"
echo "CXX=clang++-20" >> "$GITHUB_ENV"

Expand Down
3 changes: 2 additions & 1 deletion io.github.openbrickprotocolfoundation.oopetris.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app-id: io.github.openbrickprotocolfoundation.oopetris
runtime: org.freedesktop.Platform
runtime-version: '24.08'
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
command: oopetris
modules:
Expand All @@ -15,6 +15,7 @@ modules:
- --fatal-meson-warnings
- -Drun_in_ci=true # note we always want the CI checks in the case we built the flatpak
- --force-fallback-for=fmt # note, the freedesktop sdk has this installed, but it is not copiable into the runtime, so we need to build it ourself, to be able to install it correctly
- -Dsdl2_image:test=false # disable failing sdl2_image tests
builddir: true
build-options:
build-args:
Expand Down
8 changes: 4 additions & 4 deletions platforms/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ List getAndroidABIs() {
/**
* Determine the version
* if you specify it explicitly, that will be used, otherwise meson introspect will be called
* @return String
* @returns String
*/
String getVersion() {
String property = project.findProperty('VERSION')
Expand Down Expand Up @@ -321,14 +321,14 @@ android {
targetCompatibility JavaVersion.VERSION_21
}

compileSdkVersion 35
ndkVersion = "29.0.13846066"
compileSdkVersion 36
ndkVersion = "29.0.14033849"
defaultConfig {
if (buildAsApplication) {
applicationId "com.github.oopetris"
}
minSdkVersion 21
targetSdkVersion 35
targetSdkVersion 36
versionCode 7
versionName(versionString)
}
Expand Down
2 changes: 1 addition & 1 deletion platforms/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.12.1'
classpath 'com.android.tools.build:gradle:8.12.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions platforms/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Aug 18 19:56:11 CEST 2025
#Mon Oct 13 21:03:44 CEST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions platforms/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ if [ ! -d "toolchains" ]; then
mkdir -p toolchains
fi

export NDK_VER_DOWNLOAD="r29-beta3"
export NDK_VER_DESC="r29-beta3"
export NDK_VER_DOWNLOAD="r29"
export NDK_VER_DESC="r29"

export BASE_PATH="$PWD/toolchains/android-ndk-$NDK_VER_DESC"
export ANDROID_NDK_HOME="$BASE_PATH"
Expand Down
10 changes: 5 additions & 5 deletions subprojects/argparse.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ directory = argparse-3.2
source_url = https://github.com/p-ranav/argparse/archive/refs/tags/v3.2.tar.gz
source_filename = argparse-3.2.tar.gz
source_hash = 9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98
patch_filename = argparse_3.2-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/argparse_3.2-1/get_patch
patch_hash = ddf1abdb00927ce60371fce3b751d66f07ddc879d1e55816218b017d7d972cf2
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/argparse_3.2-1/argparse-3.2.tar.gz
wrapdb_version = 3.2-1
patch_filename = argparse_3.2-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/argparse_3.2-2/get_patch
patch_hash = 46a7f697beacf0ecdd56d430bd0707dea0311fa3ff8e0ebfe9e6188d48e6a96b
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/argparse_3.2-2/argparse-3.2.tar.gz
wrapdb_version = 3.2-2

[provide]
argparse = argparse_dep
16 changes: 8 additions & 8 deletions subprojects/cpp-httplib.wrap
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[wrap-file]
directory = cpp-httplib-0.25.0
source_url = https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.25.0.tar.gz
source_filename = cpp-httplib-0.25.0.tar.gz
source_hash = ac7c59fa72325d4cb9f73af266312d82632ac35a5c4c8a1be620c1f946ec9cea
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cpp-httplib_0.25.0-1/cpp-httplib-0.25.0.tar.gz
wrapdb_version = 0.25.0-1
diff_files = cpp-httplib-0.25.0_mingw.diff
directory = cpp-httplib-0.26.0
source_url = https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.26.0.tar.gz
source_filename = cpp-httplib-0.26.0.tar.gz
source_hash = a66f908f50ccb119769adce44fe1eac75f81b6ffab7c4ac0211bb663ffeb2688
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cpp-httplib_0.26.0-1/cpp-httplib-0.26.0.tar.gz
wrapdb_version = 0.26.0-1
diff_files = cpp-httplib-0.26.0_mingw.diff

[provide]
cpp-httplib = cpp_httplib_dep
dependency_names = cpp-httplib
8 changes: 4 additions & 4 deletions subprojects/discord-social-sdk.wrap
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[wrap-file]
directory = discord_social_sdk
source_url = https://oopetris.totto.lt/static/assets/discord/DiscordSocialSdk-1.4.9649.zip
source_filename = DiscordSocialSdk-1.4.9649.zip
source_hash = 55af4030abf3286ee0a8e562c30cd839a605063eb5e987aea110bfc81bc39312
source_url = https://oopetris.totto.lt/static/assets/discord/DiscordSocialSdk-1.6.11894.zip
source_filename = DiscordSocialSdk-1.6.11894.zip
source_hash = 61ef7474331a1a039c65a8a07c6fbef558d4301e06aa4e2f42af9983da7698d8
patch_directory = discord_social_sdk
diff_files = discord_social_sdk-1.4.9649_mingw.diff
diff_files = discord_social_sdk-1.6.11894_mingw.diff

[provide]
discord-social-sdk = discord_social_sdk_dep
10 changes: 5 additions & 5 deletions subprojects/flac.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ directory = flac-1.5.0
source_url = https://github.com/xiph/flac/releases/download/1.5.0/flac-1.5.0.tar.xz
source_filename = flac-1.5.0.tar.xz
source_hash = f2c1c76592a82ffff8413ba3c4a1299b6c7ab06c734dee03fd88630485c2b920
patch_filename = flac_1.5.0-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/flac_1.5.0-1/get_patch
patch_hash = c3d7dcb01d6e0a2bc066b12e789661fd9c4356500787004cfc1950d52babd6ca
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/flac_1.5.0-1/flac-1.5.0.tar.xz
wrapdb_version = 1.5.0-1
patch_filename = flac_1.5.0-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/flac_1.5.0-2/get_patch
patch_hash = ee4cd8175784b4032e3b19dda1fe4c1d6d4b285dfa87fe94361f1a6fde732ff0
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/flac_1.5.0-2/flac-1.5.0.tar.xz
wrapdb_version = 1.5.0-2

[provide]
flac = flac_dep
Expand Down
23 changes: 11 additions & 12 deletions subprojects/fmt.wrap
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[wrap-file]
directory = fmt-11.2.0
source_url = https://github.com/fmtlib/fmt/archive/11.2.0.tar.gz
source_filename = fmt-11.2.0.tar.gz
source_hash = bc23066d87ab3168f27cef3e97d545fa63314f5c79df5ea444d41d56f962c6af
patch_filename = fmt_11.2.0-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/fmt_11.2.0-1/get_patch
patch_hash = 645bf1c335a24608b4b34f16ed10b9237bbb0131488668fb86454202239e086c
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/fmt_11.2.0-1/fmt-11.2.0.tar.gz
wrapdb_version = 11.2.0-1
diff_files = fmt_dependency_override.diff, fmt_emscripten.diff
directory = fmt-12.0.0
source_url = https://github.com/fmtlib/fmt/archive/12.0.0.tar.gz
source_filename = fmt-12.0.0.tar.gz
source_hash = aa3e8fbb6a0066c03454434add1f1fc23299e85758ceec0d7d2d974431481e40
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/fmt_12.0.0-1/fmt-12.0.0.tar.gz
patch_filename = fmt_12.0.0-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/fmt_12.0.0-1/get_patch
patch_hash = 307f288ebf3850abf2f0c50ac1fb07de97df9538d39146d802f3c0d6cada8998
wrapdb_version = 12.0.0-1
diff_files = fmt_emscripten.diff, fmt_header_only_fix.diff

[provide]
fmt = fmt_dep
fmt_header_only = fmt_header_only_dep
dependency_names = fmt
15 changes: 7 additions & 8 deletions subprojects/freetype2.wrap
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[wrap-file]
directory = freetype-2.13.3
source_url = https://download.savannah.gnu.org/releases/freetype/freetype-2.13.3.tar.xz
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/freetype2_2.13.3-1/freetype-2.13.3.tar.xz
source_filename = freetype-2.13.3.tar.xz
source_hash = 0550350666d427c74daeb85d5ac7bb353acba5f76956395995311a9c6f063289
wrapdb_version = 2.13.3-1
directory = freetype-2.14.1
source_url = https://download.savannah.gnu.org/releases/freetype/freetype-2.14.1.tar.xz
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/freetype2_2.14.1-1/freetype-2.14.1.tar.xz
source_filename = freetype-2.14.1.tar.xz
source_hash = 32427e8c471ac095853212a37aef816c60b42052d4d9e48230bab3bdf2936ccc
wrapdb_version = 2.14.1-1

[provide]
freetype2 = freetype_dep
freetype = freetype_dep
dependency_names = freetype2
10 changes: 5 additions & 5 deletions subprojects/gtest.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ directory = googletest-1.17.0
source_url = https://github.com/google/googletest/archive/refs/tags/v1.17.0.tar.gz
source_filename = googletest-1.17.0.tar.gz
source_hash = 65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c
patch_filename = gtest_1.17.0-3_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.17.0-3/get_patch
patch_hash = 3e2799683f27c6dce138b7bae823416581c467ddde755c9a516c0863225f0ceb
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gtest_1.17.0-3/googletest-1.17.0.tar.gz
wrapdb_version = 1.17.0-3
patch_filename = gtest_1.17.0-4_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.17.0-4/get_patch
patch_hash = 3abf7662d09db706453a5b064a1e914678c74b9d9b0b19382747ca561d0d8750
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gtest_1.17.0-4/googletest-1.17.0.tar.gz
wrapdb_version = 1.17.0-4

[provide]
gtest = gtest_dep
Expand Down
14 changes: 6 additions & 8 deletions subprojects/icu.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ directory = icu
source_url = https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz
source_filename = icu4c-77_1-src.tgz
source_hash = 588e431f77327c39031ffbb8843c0e3bc122c211374485fa87dc5f3faff24061
patch_filename = icu_77.1-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/icu_77.1-2/get_patch
patch_hash = 7a1a23408c8dae2c8c78bdb3e02adf093832cfd9c04292692bb62ffc6f45b2a6
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/icu_77.1-2/icu4c-77_1-src.tgz
wrapdb_version = 77.1-2
patch_filename = icu_77.1-3_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/icu_77.1-3/get_patch
patch_hash = df23a720ece4cd8c76ef50bcafe0d800c8c11117806bf207d65973a95f0dcea7
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/icu_77.1-3/icu4c-77_1-src.tgz
wrapdb_version = 77.1-3

[provide]
icu-uc = icuuc_dep
icu-io = icuio_dep
icu-i18n = icui18n_dep
dependency_names = icu-data, icu-i18n, icu-io, icu-uc
program_names = genbrk, genccode, gencmn
4 changes: 3 additions & 1 deletion subprojects/packagefiles/discord_social_sdk/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(
'discord-social-sdk',
'cpp',
'c',
version: '1.4.9649',
version: '1.6.11894',
meson_version: '>=1.4.0',
default_options: {
'cpp_std': ['c++17'],
Expand Down Expand Up @@ -68,6 +68,8 @@ if not meson.is_cross_build()
elif host_machine.system() == 'windows'
if host_machine.cpu_family() == 'x86_64'
lib_base_dir = get_option('default_library') == 'static' ? 'bin' : 'lib'
elif host_machine.cpu_family() == 'aarch64'
lib_base_dir = (get_option('default_library') == 'static' ? 'bin' : 'lib') / 'arm64'
else
error('unsupported architecture for windows: '
+ host_machine.cpu_family())
Expand Down
15 changes: 0 additions & 15 deletions subprojects/packagefiles/fmt_dependency_override.diff

This file was deleted.

14 changes: 14 additions & 0 deletions subprojects/packagefiles/fmt_header_only_fix.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/meson.build b/meson.build
index 9a012e8..4608302 100644
--- a/meson.build
+++ b/meson.build
@@ -20,6 +20,9 @@ if header_only
include_directories: 'include',
compile_args: '-DFMT_HEADER_ONLY',
)
+ if meson.version().version_compare('>=0.54.0')
+ meson.override_dependency('fmt', fmt_header_only_dep)
+ endif
else
fmt_lib = library(
'fmt',
13 changes: 7 additions & 6 deletions subprojects/spdlog.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ directory = spdlog-1.15.3
source_url = https://github.com/gabime/spdlog/archive/refs/tags/v1.15.3.tar.gz
source_filename = spdlog-1.15.3.tar.gz
source_hash = 15a04e69c222eb6c01094b5c7ff8a249b36bb22788d72519646fb85feb267e67
patch_filename = spdlog_1.15.3-2_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/spdlog_1.15.3-2/get_patch
patch_hash = 2f5667992a7482c0bfbc012c1bcb8c93d1fb22274b4a235be40f8fc9284e920e
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/spdlog_1.15.3-2/spdlog-1.15.3.tar.gz
wrapdb_version = 1.15.3-2
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/spdlog_1.15.3-5/spdlog-1.15.3.tar.gz
patch_filename = spdlog_1.15.3-5_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/spdlog_1.15.3-5/get_patch
patch_hash = 5e0eaf0002ff589cd8dac58e1b38c297422e7a0404d7d47ff0d2e285ed18169c
wrapdb_version = 1.15.3-5

diff_files = spdlog_1.15.3_fmt_11.2.0_compatibility.diff,spdlog_1.15.3_no_tls_option.diff

[provide]
spdlog = spdlog_dep
dependency_names = spdlog
Loading
Loading