Add a camera app: photo and video on libcamera or V4L2
CI / test (push) Failing after 52s

- Discover libcamera cameras, falling back to V4L2; label them Back, Front or External and pick the rear sensor first
- Photo mode: JPEG saves to ~/Pictures/Camera, with an optional high-res still capture
- Video mode: H.264 MP4 recording through ffmpeg, saved to ~/Videos/Camera
- Rear torch LED toggle via sysfs, falling back to logind SetBrightness
- GTK3 + Cairo Wayland UI with a viewfinder, timer, grid, camera switch and gallery view
- Add the desktop entry, icon and camera tests
This commit is contained in:
nandi committed 2026-11-28 12:22:36 -08:00
1 parent 74235cb0ca
commit 1c954aa657
10 files changed
+3479 -8

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#1b223a"/>
<stop offset="100%" stop-color="#0f1322"/>
</linearGradient>
<linearGradient id="lensRing" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#8ba6ff"/>
<stop offset="100%" stop-color="#4e6ee8"/>
</linearGradient>
<radialGradient id="glass" cx="40%" cy="35%" r="60%">
<stop offset="0%" stop-color="#2c3e75"/>
<stop offset="55%" stop-color="#11172b"/>
<stop offset="100%" stop-color="#080b14"/>
</radialGradient>
</defs>
<rect x="8" y="8" width="112" height="112" rx="28" fill="url(#bg)" stroke="#3b4973" stroke-width="2"/>
<path d="M36 42 L44 33 C46 31 48 30 51 30 L77 30 C80 30 82 31 84 33 L92 42 L98 42 C104 42 108 46 108 52 L108 86 C108 92 104 96 98 96 L30 96 C24 96 20 92 20 86 L20 52 C20 46 24 42 30 42 Z"
fill="#242c47" stroke="#53669c" stroke-width="2"/>
<circle cx="64" cy="68" r="22" fill="#0d111d" stroke="url(#lensRing)" stroke-width="4"/>
<circle cx="64" cy="68" r="15" fill="url(#glass)"/>
<circle cx="58" cy="61" r="4.5" fill="#9fb7ff" fill-opacity="0.72"/>
<circle cx="71" cy="74" r="2.2" fill="#6e8cff" fill-opacity="0.55"/>
<circle cx="94" cy="52" r="3.5" fill="#6e8cff"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB