pablo-s / passes

Manage your digital passes
GNU General Public License v3.0
66 stars 16 forks source link

libzint isn't found even when installed #36

Open fogti opened 9 months ago

fogti commented 9 months ago

https://github.com/pablo-s/passes/blob/d151ab2043bd25b76335743c5b8c3fc072f8ecb6/src/model/meson.build#L3

I installed (lib)zint on freebsd, which even installs cmake config files, but it isn't found unless I change the line above to

libzint = dependency('zint')
fogti commented 9 months ago

(perhaps, the code should fallback to a possible global version if it can't find an internal one)

fgaz commented 2 months ago

FYI in the NixOS package we have a similar workaround:

https://github.com/NixOS/nixpkgs/blob/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6/pkgs/by-name/pa/passes/package.nix#L31

Falling back to a global version may help other distros too