7 Commits

Author SHA1 Message Date
csmartdalton
7f3d8d96bf build: Fix premake5 build on macOS Sequoia (#10263) b4298b861b
It looks like the premake5 "v5.0.0-beta3" tag isn't compatible with
Sequoia 15.4.1. Bump our tag to v5.0.0-beta7 and update the deprecated
features we had been using.

Also fix the script to rebuild if the premake5 binary doesn't exist.
Before it only checked if the parent "premake-core" directory existed,
so if a build had failed previously, build_rive.sh would fail forever
without ever attempting to build premake5 again.

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
Co-authored-by: Jonathon Copeland <jcopela4@gmail.com>
2025-07-31 00:27:07 +00:00
luigi-rosso
3faba2ebdd fix fatal warnings compiler flag to use latest version
this fixes issues caused by differences in Clang and latest version of Premake injecting incompatible flags for older Clang compilers.

Causing errors like this:
![CleanShot 2024-12-02 at 11 04 47@2x](https://github.com/user-attachments/assets/e0fd9d48-6884-4ce4-a0ff-4059d405e1a7)
https://github.com/rive-app/rive/actions/runs/12111349828/job/33763088749?pr=8664

Diffs=
96ec927371 fix fatal warnings compiler flag to use latest version (#8668)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
2024-12-02 20:16:07 +00:00
luigi-rosso
3255a2aeb2 Lua formatter
Format all our lua scripts with Stylua

https://www.notion.so/rive-app/Formatters-be8845abbca34e39b5d4c212b2437b3f?pvs=4

Diffs=
858215cc4 Lua formatter (#6525)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
2024-01-26 23:51:01 +00:00
csmartdalton
562ace42e5 Add options to build with rtti and exceptions
Some systems we want to integrate with expect these features.

Diffs=
d65b239c5 Add options to build with rtti and exceptions (#6121)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-10-23 16:35:55 +00:00
csmartdalton
af58b5a903 Implement drawImage() in PLS
Rather than implementing a specific handler for this method, we add PaintType::image to PLS and implement drawImage() as drawPath() with a rectangle path and an image paint.

Diffs=
adeebb26a Implement drawImage() in PLS (#5780)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-08-14 20:56:01 +00:00
csmartdalton
f0758730d8 Make rive_decoders compile on Windows
Diffs=
b3a367dad Make rive_decoders compile on Windows (#5733)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-08-05 03:38:51 +00:00
csmartdalton
142d059a87 Lift tess decoders into a static lib
Add a packages/runtime/decoders project that can be reused by more projects than just the tess renderer.

Diffs=
b69ae1312 Lift tess decoders into a static lib (#5709)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2023-08-01 13:29:49 +00:00