From 3dba6036aeea9403bbb8decd95389bfbf1d9df50 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 27 Sep 2026 21:45:46 +0200 Subject: [PATCH] Track Monologue releases from its git tags and update to 0.2.0 Monologue now publishes a GitHub release for every version, so declare its v{pkgver} tags as the upstream feed, as Hype does. The scheduled sync picks up new releases and hashes the tag archive, instead of pinning a commit by hand. This first release brings Monologue to 0.2.0, which builds trimming in, so the omacut optdepend goes. Co-Authored-By: Claude Opus 5.5 --- pkgbuilds/monologue/.omarchy/package.json | 11 ++++++++++- pkgbuilds/monologue/PKGBUILD | 15 ++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/pkgbuilds/monologue/.omarchy/package.json b/pkgbuilds/monologue/.omarchy/package.json index 2a9719d..db4c4a6 100644 --- a/pkgbuilds/monologue/.omarchy/package.json +++ b/pkgbuilds/monologue/.omarchy/package.json @@ -1,3 +1,12 @@ { - "source": "local" + "source": "local", + "upstream": { + "git_tags": "https://github.com/omacom/monologue.git", + "tag_pattern": "v{pkgver}", + "sources": { + "any": [ + "https://github.com/omacom/monologue/archive/refs/tags/{tag}.tar.gz" + ] + } + } } diff --git a/pkgbuilds/monologue/PKGBUILD b/pkgbuilds/monologue/PKGBUILD index 9b9e14e..d8a6afe 100644 --- a/pkgbuilds/monologue/PKGBUILD +++ b/pkgbuilds/monologue/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: David Heinemeier Hansson pkgname=monologue -pkgver=0.1.0 -pkgrel=3 +pkgver=0.2.0 +pkgrel=1 pkgdesc='A simple, theme-synced webcam recorder for Omarchy' arch=('x86_64' 'aarch64') url='https://github.com/omacom/monologue' @@ -19,19 +19,16 @@ depends=( 'xdg-desktop-portal' ) makedepends=('gcc' 'make' 'pkgconf') -optdepends=('omacut: trim recordings directly from Monologue') -# Pin the published source until a tagged release is available. -_commit=23e0844f60feef2f9d2cf2c9d89f13eb0bf5adef -source=("$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz") -sha256sums=('1a04b9e47b29846e9135d110978f7f35c0274f7361729f0b6ac03796499c0ad6') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('aef0e8d2d5f978e03d0e3a6c9685b828ff6a128d2dc136cb36e45458cdf62c69') build() { - cd "$srcdir/$pkgname-$_commit" + cd "$srcdir/$pkgname-$pkgver" ./bin/build } package() { - cd "$srcdir/$pkgname-$_commit" + cd "$srcdir/$pkgname-$pkgver" install -Dm755 build/monologue "$pkgdir/usr/bin/monologue" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"