aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meta
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:25 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:25 +0100
commit9b133edc20702a0c9cccb613fbb9296a7fb9f597 (patch)
treeb746ee45ecb294c7bbff02bf3c012077d8aac7fa /meta
parent729087821785cfc4923a14a7aed633850119b723 (diff)
downloaddotfiles-9b133edc20702a0c9cccb613fbb9296a7fb9f597.tar.gz
dotfiles-9b133edc20702a0c9cccb613fbb9296a7fb9f597.tar.bz2
dotfiles-9b133edc20702a0c9cccb613fbb9296a7fb9f597.zip
feat(flatpak): support .flatpak bundle URLs; migrate autenticacao-gov-pt
Extend meta/flatpak.txt format to allow per-line URL for non-Flathub .flatpak bundles. Lines are now either '<id>' (Flathub) or '<id> <url>' (downloaded + installed via 'flatpak install <file>'). Bundle entries are skipped on pkg-apply/pkg-fix when already installed, and re-fetched on flatpak-update only when the version embedded in the URL differs from the installed version. Use this to migrate Portuguese Citizen Card (pteid-mw) off the AUR 'autenticacao-gov-pt-bin' pseudo-flatpak unpack to the upstream-shipped flatpak bundle from amagovpt/autenticacao.gov GitHub releases — same codebase the AUR PKGBUILD already vendors, but properly sandboxed. Refactors duplicated install logic in pkg-apply/pkg-fix into a private _flatpak-install helper. ID-only contexts (pkg-status, undeclared, pkg-list) now extract the first whitespace-separated token instead of treating each line as a single ID. Caveat: PKCS#11-based Citizen Card web auth in the LibreWolf flatpak remains unsolved — the .so lives inside the autenticacao-gov sandbox and would need a 'flatpak override' + 'modutil' bridge to be loaded across sandboxes. The CLI/GUI eID app works as expected.
Diffstat (limited to 'meta')
-rw-r--r--meta/extra.txt1
-rw-r--r--meta/flatpak.txt16
2 files changed, 14 insertions, 3 deletions
diff --git a/meta/extra.txt b/meta/extra.txt
index f08953d..3936385 100644
--- a/meta/extra.txt
+++ b/meta/extra.txt
@@ -2,7 +2,6 @@ gpg-tui
pandoc-bin
syncthing
udisks2
-autenticacao-gov-pt-bin
# Flatpak runtime (apps tracked in meta/flatpak.txt)
flatpak
diff --git a/meta/flatpak.txt b/meta/flatpak.txt
index 9635831..5fdd5ec 100644
--- a/meta/flatpak.txt
+++ b/meta/flatpak.txt
@@ -1,8 +1,20 @@
-# Flathub app IDs. Managed by `just pkg-*` recipes via the magic
-# `flatpak` group name (see justfile). Installed with --user scope.
+# Flatpak apps. Managed by `just pkg-*` recipes via the magic `flatpak`
+# group name (see justfile). Installed with --user scope.
+#
+# Each non-comment line is one of:
+# <app.id> installed from Flathub
+# <app.id> <url> installed from the .flatpak bundle at <url>
+#
+# Bundle entries are re-downloaded on `just flatpak-update` whenever the
+# version embedded in the URL differs from the installed version.
io.gitlab.librewolf-community
org.chromium.Chromium
org.kde.okular
org.libreoffice.LibreOffice
org.torproject.torbrowser-launcher
+
+# Portuguese Citizen Card (eID) middleware + GUI. Not on Flathub; ships
+# as a standalone .flatpak bundle from upstream. Bump version by editing
+# the URL when amagovpt/autenticacao.gov publishes a new release.
+pt.gov.autenticacao https://github.com/amagovpt/autenticacao.gov/releases/download/v3.14.0/pteid-mw-3.14.0-pcsclite-2.3.flatpak