generated from cosmic-utils/cosmic-app-template
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
67 lines (61 loc) · 1.72 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "cosmic-ext-calculator"
version = "0.1.1"
edition = "2021"
license = "GPL-3.0"
[dependencies]
evalexpr = "12.0.2"
i18n-embed-fl = "0.8"
log = "0.4.22"
once_cell = "1.19.0"
open = "5.3.0"
paste = "1.0.15"
pretty_env_logger = "0.5.0"
rust-embed = "8.3.0"
serde = { version = "1.0.208", features = ["derive"] }
tokio = { version = "1.37.0", features = ["full"] }
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
default-features = false
features = ["tokio", "winit", "about"]
[dependencies.i18n-embed]
version = "0.14"
features = ["fluent-system", "desktop-requester"]
[patch."https://github.com/smithay/client-toolkit.git"]
sctk = { package = "smithay-client-toolkit", version = "=0.19.2" }
# Uncomment to test a locally-cloned libcosmic
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
# Cargo deb
# Edit here to customize the package metadata
# Especially the Assets section
[package.metadata.deb]
maintainer = "Your Name, <[email protected]>"
copyright = "2024 Your Name"
# license-file = "LICENSE"
extended-description = """\
Describe your app here. \
"""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
[
"target/release/cosmic-ext-calculator",
"usr/bin/cosmic-ext-calculator",
"755",
],
[
"res/metainfo.xml",
"usr/share/metainfo/dev.edfloreshz.Calculator.metainfo.xml",
"644",
],
[
"res/app.desktop",
"usr/share/applications/dev.edfloreshz.Calculator.desktop",
"644",
],
# ["res/icons/hicolor/", "usr/share/icons/hicolor/", "644"]
]