diff --git a/Cargo.toml b/Cargo.toml index 561ba8f..da492b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,10 +2,39 @@ name = "peerspeak" version = "0.4.0" edition = "2024" +description = "Decentralized peer-to-peer voice chat (Rust/iroh/PipeWire/Opus/iced)" # Application crate, not a crates.io library — refuse `cargo publish` and let # cargo-deny's [licenses.private] skip the missing-license check. publish = false +# Debian/Ubuntu packaging (cargo-deb). Mirrors packaging/PKGBUILD: only the main +# `peerspeak` binary ships (not test_net/specview), plus the desktop entry and the +# hicolor icon set. Runtime shared-lib deps (libpipewire, libopus, libc, …) are +# resolved by dpkg-shlibdeps via `depends = "$auto"`. Build inside a Debian/Ubuntu +# distrobox so the binary links that distro's glibc, then `cargo deb --no-build`. +[package.metadata.deb] +maintainer = "mollusk " +copyright = "2026, mollusk. Private build — not for redistribution." +section = "net" +priority = "optional" +depends = "$auto" +# pixelpass = in-room screen sharing; mpv = the screen-share viewer (vlc fallback). +recommends = "pixelpass, mpv" +extended-description = "Decentralized peer-to-peer voice chat over iroh (QUIC) with PipeWire audio, the Opus codec, and an iced GUI. Full-mesh, no central server." +assets = [ + ["target/release/peerspeak", "usr/bin/", "755"], + ["packaging/peerspeak.desktop", "usr/share/applications/", "644"], + ["assets/icons/peerspeak.svg", "usr/share/icons/hicolor/scalable/apps/peerspeak.svg", "644"], + ["assets/icons/peerspeak-16.png", "usr/share/icons/hicolor/16x16/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-24.png", "usr/share/icons/hicolor/24x24/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-32.png", "usr/share/icons/hicolor/32x32/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-48.png", "usr/share/icons/hicolor/48x48/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-64.png", "usr/share/icons/hicolor/64x64/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-128.png", "usr/share/icons/hicolor/128x128/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-256.png", "usr/share/icons/hicolor/256x256/apps/peerspeak.png", "644"], + ["assets/icons/peerspeak-512.png", "usr/share/icons/hicolor/512x512/apps/peerspeak.png", "644"], +] + [lib] name = "peerspeak" path = "src/lib.rs" diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD index 586c1be..9a64dc7 100644 --- a/packaging/PKGBUILD +++ b/packaging/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: mollusk pkgname=peerspeak-git _pkgname=peerspeak -pkgver=0.3.0.r229.g7fb1c96 +pkgver=0.4.0.r254.g913b0b6 pkgrel=1 pkgdesc="Decentralized peer-to-peer voice chat (Rust/iroh/PipeWire/Opus/iced)" arch=('x86_64')