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