Skip to content

Commit f3ae7b4

Browse files
framefilterclaude
andcommitted
fix(flatpak): unbreak build — pcsc-lite 2.3.0 pruned upstream, switch to meson
The v0.7.3 Flatpak build failed at "download sources": pcsclite.apdu.fr keeps only the latest ~2 releases, so the pinned pcsc-lite-2.3.0.tar.xz now 404s. The current releases (2.5.x) are meson-only (no ./configure), so this bumps to 2.5.1 AND switches the module from autotools to meson. We bundle only the libpcsclite client lib (the daemon is the host's), so it disables systemd/polkit/udev and the USB/serial reader backends — meson.build confirms those are optional with no error path, leaving the lib with no optional deps. External rot, unrelated to v0.7.3's code. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6ff8f64 commit f3ae7b4

1 file changed

Lines changed: 18 additions & 12 deletions

File tree

packaging/flatpak/io.github.framefilter.keyroost.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,27 @@ modules:
5050
# produce a client-only build on that version (flag names drift 1.9 -> 2.x).
5151
# ----------------------------------------------------------------------------
5252
- name: pcsc-lite
53-
buildsystem: autotools
53+
# pcsc-lite is meson-only since 2.x (no ./configure). We build just the
54+
# libpcsclite CLIENT lib (no daemon): disabling systemd/polkit/udev and the
55+
# USB/serial reader backends leaves the lib with no optional deps (verified
56+
# against meson.build — usb/serial/libudev are all optional, no error path).
57+
buildsystem: meson
5458
config-opts:
55-
- --disable-libsystemd
56-
- --disable-polkit
57-
- --disable-libudev
58-
- --enable-usbdropdir=/app/lib/pcsc/drivers # unused (no daemon) but keeps configure happy
59-
- --disable-documentation
59+
- -Dlibsystemd=false
60+
- -Dpolkit=false
61+
- -Dlibudev=false
62+
- -Dusb=false
63+
- -Dserial=false
6064
sources:
6165
- type: archive
62-
# pcsc-lite 2.3.0 (upstream ships .tar.xz; verified + hashed 2026-06-20).
63-
# To bump: pick a newer release from https://pcsclite.apdu.fr/files/ and
64-
# curl -fsSLO "https://pcsclite.apdu.fr/files/pcsc-lite-<ver>.tar.xz" && sha256sum it.
65-
# flatpak-builder refuses to build unless the sha256 matches.
66-
url: https://pcsclite.apdu.fr/files/pcsc-lite-2.3.0.tar.xz
67-
sha256: 1acca22d2891d43ffe6d782740d32e78150d4fcc99e8a3cc763abaf546060d3d
66+
# pcsc-lite 2.5.1 (.tar.xz; verified + hashed 2026-06-30). NOTE:
67+
# pcsclite.apdu.fr keeps only the latest ~2 releases, so this URL
68+
# eventually 404s (it did for 2.3.0). When CI fails to download, bump:
69+
# curl -fsSLO "https://pcsclite.apdu.fr/files/pcsc-lite-<ver>.tar.xz" && sha256sum it
70+
# flatpak-builder refuses to build unless the sha256 matches. (Still
71+
# meson — keep buildsystem: meson.)
72+
url: https://pcsclite.apdu.fr/files/pcsc-lite-2.5.1.tar.xz
73+
sha256: bfcfe38a20afc49849c6bf55325e38f449fc4b26d3923fdc32b969ae41a8741b
6874
# We only need the libpcsclite client .so; the daemon (pcscd) is the host's.
6975
cleanup:
7076
- /bin/pcscd

0 commit comments

Comments
 (0)