leejunyoung5819wayland-android-remote

공개

Ubuntu(Wayland/X11)에서 Android 기기 화면 미러링 및 원격 제어 (Rust)

72줄3.8 KB
1[package]
2name = "wayland-android-remote"
3version = "0.1.0"
4edition = "2024"
5authors = ["LeeJunyoung <[email protected]>"]
6license = "GPL-3.0-or-later"
7description = "Ubuntu(Wayland/X11)에서 Android 기기 화면 미러링 및 원격 제어 호스트 클라이언트"
8publish = false
9
10[package.metadata.deb]
11name = "android-remote"
12maintainer = "LeeJunyoung <[email protected]>"
13copyright = "2026, LeeJunyoung <[email protected]>"
14license-file = ["packaging/copyright", "0"]
15# scripts/build-deb.sh가 배포판별 버전으로 만든다.
16changelog = "target/debian-changelog"
17section = "utils"
18priority = "optional"
19# $auto는 직접 링크한 FFmpeg·libc만 잡는다. winit·wgpu가 dlopen으로 여는 Wayland·X11·Vulkan 라이브러리를 더한다.
20depends = "$auto, libvulkan1, libwayland-client0, libxkbcommon0, libxkbcommon-x11-0, libx11-6, libx11-xcb1, libxcursor1, libxi6"
21recommends = "mesa-vulkan-drivers | vulkan-icd, va-driver-all | va-driver, adb"
22extended-description = """\
23Ubuntu(Wayland/X11)에서 Android 휴대폰 화면을 실시간으로 띄우고 PC의 마우스와 키보드로 조작한다.
24텍스트·이미지 클립보드 동기화와 PC에서 휴대폰으로의 파일 전송을 지원한다.
25휴대폰에는 Android Remote 동반 앱이 필요하다."""
26assets = [
27 ["target/release/android-remote", "usr/bin/", "755"],
28 ["packaging/android-remote.desktop", "usr/share/applications/", "644"],
29 ["packaging/android-remote.svg", "usr/share/icons/hicolor/scalable/apps/", "644"],
30 ["README.md", "usr/share/doc/android-remote/", "644"],
31 # scripts/third-party-licenses.py가 만든다 (scripts/build-deb.sh가 먼저 실행).
32 ["target/third-party-licenses.txt", "usr/share/doc/android-remote/", "644"],
33 # scripts/build-deb.sh가 packaging/android-remote.1을 압축해 둔다.
34 ["target/android-remote.1.gz", "usr/share/man/man1/", "644"],
35]
36
37[[bin]]
38name = "android-remote"
39path = "src/main.rs"
40
41[dependencies]
42# 이미지 클립보드 읽기·쓰기. egui-winit의 클립보드는 텍스트만 다룬다.
43arboard = "3.7.0"
44bytes = "1.12.2"
45# 스크린샷 파일 이름의 현지 시각. time 크레이트는 Linux 다중 스레드 프로세스에서 현지 오프셋을 거부한다.
46chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
47ed25519-dalek = "3.0.0"
48egui = "0.37.0"
49egui-wgpu = { version = "0.37.0", features = ["winit", "wayland", "x11"] }
50egui-winit = "0.37.0"
51env_logger = "0.11.12"
52ffmpeg-next = { version = "9.1.0", default-features = false, features = ["codec", "format", "software-scaling"] }
53ffmpeg-sys-next = { version = "9.1.1", default-features = false, features = ["avcodec", "avformat", "swscale"] }
54getrandom = "0.4.3"
55# 스크린샷 PNG 인코딩.
56image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
57log = "0.4.35"
58pollster = "1.0.3"
59rustls = { version = "0.23.46", default-features = false, features = ["ring", "std", "logging"] }
60# Wayland 끌어다 놓기 수신 (winit 0.30은 Wayland DnD를 지원하지 않는다). winit과 연결을 함께 쓴다.
61sctk = { package = "smithay-client-toolkit", version = "0.20.0", default-features = false }
62wayland-backend = { version = "0.3.17", features = ["client_system"] }
63sha2 = "0.11.1"
64tokio = { version = "1.54.1", features = ["rt-multi-thread", "net", "io-util", "time", "sync", "macros"] }
65tokio-rustls = { version = "0.26.6", default-features = false, features = ["ring", "logging"] }
66# X11 창 관리자에게 창 비율 힌트를 준다 (winit 0.30은 지원하지 않는다). winit이 이미 쓰는 크레이트.
67x11rb = "0.13.2"
68
69[dev-dependencies]
70egui_kittest = { version = "0.37.0", features = ["wgpu", "snapshot"] }
71rcgen = { version = "0.14.10", default-features = false, features = ["ring", "pem"] }
72tempfile = "3.27.0"