From 6e7e4936e0a403177e4f2560d6b84e40b26bff43 Mon Sep 17 00:00:00 2001 From: John Beatty Date: Thu, 3 Dec 2026 15:00:32 -0500 Subject: [PATCH] omarchy-camera: Camera 0.1.0, and omarchy-a depends on it Camera (johnbeatty/camera), the camera viewer for Omarchy A: a live picture of one camera at a time, a button per camera and a shutter. It follows the repository's releases like omactivity; omarchy-a depends on it so that every installed tablet gets it with its next update. Signed-off-by: John Beatty --- packages/omarchy-a/arch/PKGBUILD | 2 ++ packages/omarchy-camera/arch/PKGBUILD | 28 +++++++++++++++++++++++++++ packages/omarchy-camera/source.json | 9 +++++++++ 3 files changed, 39 insertions(+) create mode 100644 packages/omarchy-camera/arch/PKGBUILD create mode 100644 packages/omarchy-camera/source.json diff --git a/packages/omarchy-a/arch/PKGBUILD b/packages/omarchy-a/arch/PKGBUILD index 616330d..2b6e537 100644 --- a/packages/omarchy-a/arch/PKGBUILD +++ b/packages/omarchy-a/arch/PKGBUILD @@ -46,6 +46,8 @@ depends=( firefox omafox omactivity + # Camera (johnbeatty/camera): a board without a camera node shows that it has none. + omarchy-camera # Files: Folio with touch mode, the file manager of every board. folio-touch fastfetch diff --git a/packages/omarchy-camera/arch/PKGBUILD b/packages/omarchy-camera/arch/PKGBUILD new file mode 100644 index 0000000..37a89ce --- /dev/null +++ b/packages/omarchy-camera/arch/PKGBUILD @@ -0,0 +1,28 @@ +# Camera, Omarchy A's camera viewer, from its repository's releases. The +# recipe is that repository's (pkgbuild/PKGBUILD), building the pinned +# commit's archive instead of a checkout. tools/pkgrepo bump writes _commit, +# pkgver, pkgrel and the archive's checksum when the repository moves (see +# ../source.json). One Python file: nothing to compile. + +pkgname=omarchy-camera +_commit=764ff0c04d8da4093405e82041587acee9fb9794 +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Camera viewer for Omarchy: live picture, camera switch and shutter" +arch=('aarch64' 'armv7h') +url='https://github.com/johnbeatty/camera' +license=('MIT') +depends=('python' 'python-gobject' 'gtk3' 'gdk-pixbuf2' 'glib2' 'cairo' 'ffmpeg') +makedepends=('make') +source=("camera-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz") +sha256sums=('c30dd27114564bdc02fdcaa9ca745a25ca69748c62952e1d5b83d2cba905a2e6') + +check() { + cd "camera-${_commit}" + PYTHONDONTWRITEBYTECODE=1 make check +} + +package() { + make -C "camera-${_commit}" DESTDIR="${pkgdir}" install + install -Dm644 "camera-${_commit}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/packages/omarchy-camera/source.json b/packages/omarchy-camera/source.json new file mode 100644 index 0000000..683b2ef --- /dev/null +++ b/packages/omarchy-camera/source.json @@ -0,0 +1,9 @@ +{ + "repository": "johnbeatty/camera", + "tag": "v0.1.0", + "version": "0.1.0", + "commit": "764ff0c04d8da4093405e82041587acee9fb9794", + "url": "https://github.com/johnbeatty/camera/archive/764ff0c04d8da4093405e82041587acee9fb9794.tar.gz", + "sha256": "c30dd27114564bdc02fdcaa9ca745a25ca69748c62952e1d5b83d2cba905a2e6", + "track": "releases" +}