mirror of
https://github.com/cottongin/cardputerzero-camera.git
synced 2026-11-20 14:24:48 -06:00
feat(packaging): add arm64 deb builder, APPLaunch desktop/icon, and packaging tests
This commit is contained in:
11
packaging/debian/control
Normal file
11
packaging/debian/control
Normal file
@@ -0,0 +1,11 @@
|
||||
Package: czcamera
|
||||
Version: 1.0.0-m5stack1
|
||||
Section: graphics
|
||||
Priority: optional
|
||||
Architecture: arm64
|
||||
Maintainer: CardputerZero Camera <noreply@local>
|
||||
Depends: python3 (>= 3.9), python3-picamera2, ffmpeg, alsa-utils, libjpeg62-turbo | libjpeg8, libfreetype6, libc6, libstdc++6
|
||||
Description: Camera application for CardputerZero (photo, video, timelapse, gallery)
|
||||
Fullscreen 320x170 fbdev/evdev camera application (czcamera) and Picamera2
|
||||
subprocess worker (czcamera-cam) with 9 RGB24 filters, timelapse capture
|
||||
and MP4 assembly, gallery viewer, and on-device video playback.
|
||||
9
packaging/debian/postinst
Executable file
9
packaging/debian/postinst
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure|abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
12
packaging/debian/prerm
Executable file
12
packaging/debian/prerm
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove|deconfigure)
|
||||
if [ -d /usr/lib/czcamera ]; then
|
||||
find /usr/lib/czcamera -depth -type d -name '__pycache__' -exec rm -rf {} + 2>/dev/null || true
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user