mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-03 06:38:52 +00:00
feat: add metadata to Cargo.toml; get developers from Cargo.toml authors; rectify SPDX id for license as AGPL-3.0-or-later
This commit is contained in:
parent
ce5f486596
commit
68d7757aa4
5 changed files with 18 additions and 8 deletions
|
@ -2,6 +2,15 @@
|
||||||
name = "envision"
|
name = "envision"
|
||||||
version = "1.1.1"
|
version = "1.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
authors = [
|
||||||
|
"Gabriele Musco <gabmus@disroot.org>",
|
||||||
|
]
|
||||||
|
description = "Orchestrator for the free XR stack"
|
||||||
|
repository = "https://gitlab.com/gabmus/envision"
|
||||||
|
documentation = "https://gitlab.com/gabmus/envision"
|
||||||
|
license = "AGPL-3.0-or-later"
|
||||||
|
keywords = ["desktop", "linux", "vr", "xr", "gtk"]
|
||||||
|
readme = "README.md"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<component type="desktop-application">
|
<component type="desktop-application">
|
||||||
<id>@APP_ID@</id>
|
<id>@APP_ID@</id>
|
||||||
<metadata_license>CC0</metadata_license>
|
<metadata_license>CC0</metadata_license>
|
||||||
<project_license>AGPL-3.0</project_license>
|
<project_license>AGPL-3.0-or-later</project_license>
|
||||||
<name translatable="no">@PRETTY_NAME@</name>
|
<name translatable="no">@PRETTY_NAME@</name>
|
||||||
<summary>GUI for Monado</summary>
|
<summary>GUI for Monado</summary>
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -3,7 +3,7 @@ project(
|
||||||
'rust',
|
'rust',
|
||||||
version: '1.1.1', # version number row
|
version: '1.1.1', # version number row
|
||||||
meson_version: '>= 0.59',
|
meson_version: '>= 0.59',
|
||||||
license: 'AGPL-3.0',
|
license: 'AGPL-3.0-or-later',
|
||||||
)
|
)
|
||||||
|
|
||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
|
|
|
@ -16,10 +16,6 @@ pub const LOCALE_DIR: &str = "@LOCALEDIR@";
|
||||||
pub const BUILD_PROFILE: &str = "@PROFILE@";
|
pub const BUILD_PROFILE: &str = "@PROFILE@";
|
||||||
pub const BUILD_DATETIME: &str = "@BUILD_DATETIME@";
|
pub const BUILD_DATETIME: &str = "@BUILD_DATETIME@";
|
||||||
|
|
||||||
pub fn get_developers() -> Vec<String> {
|
|
||||||
vec!["Gabriele Musco <gabmus@disroot.org>".into()]
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn get_artists() -> Vec<String> {
|
pub fn get_artists() -> Vec<String> {
|
||||||
vec!["App Icon: Yannick (@Yandr)".into()]
|
vec!["App Icon: Yannick (@Yandr)".into()]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use crate::{
|
use crate::{
|
||||||
constants::{
|
constants::{
|
||||||
get_artists, get_developers, APP_ID, APP_NAME, BUILD_DATETIME, ISSUES_URL, REPO_URL,
|
get_artists, APP_ID, APP_NAME, BUILD_DATETIME, ISSUES_URL, REPO_URL,
|
||||||
SINGLE_DEVELOPER, VERSION,
|
SINGLE_DEVELOPER, VERSION,
|
||||||
},
|
},
|
||||||
device_prober::PhysicalXRDevice,
|
device_prober::PhysicalXRDevice,
|
||||||
|
@ -20,7 +20,12 @@ pub fn create_about_dialog() -> adw::AboutDialog {
|
||||||
.website(REPO_URL)
|
.website(REPO_URL)
|
||||||
.issue_url(ISSUES_URL)
|
.issue_url(ISSUES_URL)
|
||||||
.developer_name(SINGLE_DEVELOPER)
|
.developer_name(SINGLE_DEVELOPER)
|
||||||
.developers(get_developers())
|
.developers(
|
||||||
|
env!("CARGO_PKG_AUTHORS")
|
||||||
|
.split(':')
|
||||||
|
.map(|s| s.to_string())
|
||||||
|
.collect::<Vec<String>>(),
|
||||||
|
)
|
||||||
.artists(get_artists())
|
.artists(get_artists())
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue