Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/omarchy-a/arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions packages/omarchy-camera/arch/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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"
}
9 changes: 9 additions & 0 deletions packages/omarchy-camera/source.json
Original file line number Diff line number Diff line change
@@ -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"
}