-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added config for debian release with
cargo deb
The resulting structure is: ``` ├── control │ ├── control │ └── sha256sums ├── debian-binary └── usr ├── bin │ ├── plastic │ └── plastic_tui └── share ├── applications │ └── plastic.desktop ├── doc │ └── plastic │ ├── copyright │ └── README.md ├── icons │ └── plastic-icon.png ├── licenses │ └── plastic │ └── LICENSE └── man └── man1 └── plastic.1.gz ``` Signed-off-by: Amjad Alsharafi <[email protected]>
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Plastic - NES | ||
Comment=Plastic - NES Emulator | ||
Icon=/usr/share/icons/plastic-icon.png | ||
Exec=/usr/bin/plastic | ||
Terminal=false | ||
Categories=Game; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "plastic_tui" | |
version = "0.3.3" | ||
authors = ["Amjad Alsharafi <[email protected]>"] | ||
edition = "2021" | ||
description = "An accurate NES emulator. Front-end terminal interface (TUI) for plastic-core" | ||
description = "A NES emulator with terminal interface (TUI)" | ||
readme = "../README.md" | ||
repository = "https://github.com/Amjad50/plastic" | ||
license = "MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "plastic" | |
version = "0.3.1" | ||
authors = ["Amjad Alsharafi <[email protected]>"] | ||
edition = "2021" | ||
description = "An accurate NES emulator. Front-end for plastic-core" | ||
description = "A NES emulator with GUI and TUI" | ||
readme = "../README.md" | ||
repository = "https://github.com/Amjad50/plastic" | ||
license = "MIT" | ||
|
@@ -20,3 +20,22 @@ eframe = "0.29" | |
rfd = "0.15" | ||
dynwave = "0.1" | ||
|
||
[package.metadata.deb] | ||
name = "plastic" | ||
maintainer = "Plastic Maintainers <Amjad Alsharafi <[email protected]>, Hadi Chokr <[email protected]>>" | ||
extended-description = "" # to block usage of README.md | ||
license-file = ["LICENSE", "0"] | ||
depends = ["libasound2-dev", "libudev-dev"] | ||
copyright = "2020, Amjad Alsharafi <[email protected]>" | ||
priority = "optional" | ||
section = "games" | ||
assets = [ | ||
["target/release/plastic", "usr/bin/", "755"], | ||
["target/release/plastic_tui", "usr/bin/", "755"], | ||
["../LICENSE", "usr/share/licenses/plastic/", "644"], | ||
["../README.md", "usr/share/doc/plastic/", "644"], | ||
["../docs/man/plastic.1", "usr/share/man/man1/", "644"], | ||
["../package/plastic.desktop", "usr/share/applications/", "644"], | ||
["../images/icon.png", "usr/share/icons/plastic-icon.png", "644"], | ||
] | ||
|