Add desktop file and icon to meson build script

This commit is contained in:
Bnyro
2023-06-26 10:38:07 +02:00
parent bfa01c8609
commit d71bbcd3f3
10 changed files with 176 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "com.lemmy-gtk.lemoa",
"runtime": "org.gnome.Platform",
"runtime-version": "42",
"runtime-version": "44",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable",

View File

@@ -1,11 +0,0 @@
#!/bin/bash
export DIST="$1"
export SOURCE_ROOT="$2"
cd "$SOURCE_ROOT"
mkdir "$DIST"/.cargo
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > $DIST/.cargo/config
# Move vendor into dist tarball directory
mv vendor "$DIST"