Compare commits

...

2 commits

Author SHA1 Message Date
29bdeeed01
Add Readme 2025-03-17 08:22:12 +01:00
4be9354079
Update gdextension to only be Linux for now 2025-03-17 08:21:59 +01:00
3 changed files with 25 additions and 6 deletions

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# Gd-Wireportal
This repo contains both a godot project for testing the gdextension
and the Rust based extension
The extension itself is about bringing XDG Portals and Pipewire
to Godot, initially just for screencapture.
For now, this extension is Linux only, as both XDG Portals and Pipewire
only exist on Linux. If both, with their full API, are ever brought to
Windows or MacOS, I will try to add support for them.

View file

@ -6,9 +6,3 @@ reloadable = true
[libraries] [libraries]
linux.debug.x86_64 = "res://../rust/target/debug/libgd_wireportal.so" linux.debug.x86_64 = "res://../rust/target/debug/libgd_wireportal.so"
linux.release.x86_64 = "res://../rust/target/release/libgd_wireportal.so" linux.release.x86_64 = "res://../rust/target/release/libgd_wireportal.so"
windows.debug.x86_64 = "res://../rust/target/debug/gd_wireportal.dll"
windows.release.x86_64 = "res://../rust/target/release/gd_wireportal.dll"
macos.debug = "res://../rust/target/debug/libgd_wireportal.dylib"
macos.release = "res://../rust/target/release/libgd_wireportal.dylib"
macos.debug.arm64 = "res://../rust/target/debug/libgd_wireportal.dylib"
macos.release.arm64 = "res://../rust/target/release/libgd_wireportal.dylib"

View file

@ -0,0 +1,14 @@
[configuration]
entry_symbol = "gdext_rust_init"
compatibility_minimum = 4.1
reloadable = true
[libraries]
linux.debug.x86_64 = "res://../rust/target/debug/libgd_wireportal.so"
linux.release.x86_64 = "res://../rust/target/release/libgd_wireportal.so"
windows.debug.x86_64 = "res://../rust/target/debug/gd_wireportal.dll"
windows.release.x86_64 = "res://../rust/target/release/gd_wireportal.dll"
macos.debug = "res://../rust/target/debug/libgd_wireportal.dylib"
macos.release = "res://../rust/target/release/libgd_wireportal.dylib"
macos.debug.arm64 = "res://../rust/target/debug/libgd_wireportal.dylib"
macos.release.arm64 = "res://../rust/target/release/libgd_wireportal.dylib"