diff --git a/asusctl/Cargo.toml b/asusctl/Cargo.toml index 9c1dffe2..fd69a065 100644 --- a/asusctl/Cargo.toml +++ b/asusctl/Cargo.toml @@ -27,3 +27,15 @@ zbus.workspace = true [dev-dependencies] rog_dbus = { path = "../rog-dbus" } + +[package.metadata.deb] +license-file = ["../LICENSE", "4"] +extended-description = """\ +An utility for Linux to control many aspects of various ASUS laptops +but can also be used with non-asus laptops with reduced features.""" +depends = "$auto" +section = "utility" +priority = "optional" +assets = [ + ["target/release/asusctl", "usr/bin/", "755"], +] diff --git a/asusd-user/Cargo.toml b/asusd-user/Cargo.toml index 0e2129cb..80eecd31 100644 --- a/asusd-user/Cargo.toml +++ b/asusd-user/Cargo.toml @@ -32,3 +32,16 @@ config-traits = { path = "../config-traits" } zbus.workspace = true env_logger.workspace = true + +[package.metadata.deb] +license-file = ["../LICENSE", "4"] +extended-description = """\ +An user utility for Linux to control fancy things on various ASUS laptops +like keyboard effects or anime matrix animation cycles.""" +depends = "$auto" +section = "utility" +priority = "optional" +assets = [ + ["target/release/asusd-user", "usr/bin/", "755"], + ["../asusd_user-fakeinstall/usr/lib/systemd/user/*", "usr/lib/systemd/user/", "644"], +] diff --git a/asusd/Cargo.toml b/asusd/Cargo.toml index 6105a7bf..2e12a2e9 100644 --- a/asusd/Cargo.toml +++ b/asusd/Cargo.toml @@ -45,3 +45,18 @@ concat-idents.workspace = true [dev-dependencies] cargo-husky.workspace = true + +[package.metadata.deb] +license-file = ["../LICENSE", "4"] +extended-description = """\ +The dbus server for asusctl and rog-control-center applications.""" +depends = "$auto" +section = "utility" +priority = "optional" +assets = [ + ["target/release/asusd", "usr/bin/", "755"], + ["../asusd-fakeinstall/usr/lib/systemd/system/*", "usr/lib/systemd/system/", "644"], + ["../asusd-fakeinstall/usr/lib/udev/rules.d/*", "usr/lib/udev/rules.d/", "644"], + ["../asusd-fakeinstall/usr/share/asusd/*", "usr/share/share/asusd/", "644"], + ["../asusd-fakeinstall/usr/share/dbus-1/system.d/*", "usr/share/dbus-1/system.d/", "644"], +] diff --git a/rog-control-center/Cargo.toml b/rog-control-center/Cargo.toml index 0f2dd18d..8a7318ab 100644 --- a/rog-control-center/Cargo.toml +++ b/rog-control-center/Cargo.toml @@ -58,3 +58,17 @@ features = [ [build-dependencies.slint-build] git = "https://github.com/slint-ui/slint.git" + +[package.metadata.deb] +license-file = ["../LICENSE", "4"] +extended-description = """\ +The dbus server for asusctl and rog-control-center applications.""" +depends = "$auto" +section = "utility" +priority = "optional" +assets = [ + ["target/release/rog-control-center", "usr/bin/", "755"], + ["../rog_gui-fakeinstall/usr/share/applications/*", "usr/share/share/applications/", "644"], + ["../rog_gui-fakeinstall/usr/share/icons/hicolor/512x512/apps/*", "usr/share/icons/hicolor/512x512/apps", "644"], + ["../rog_gui-fakeinstall/usr/share/icons/hicolor/scalable/status/*", "usr/share/icons/hicolor/scalable/status", "644"], +]