Bug 275038

Summary: graphics/qr-code-generator: Add cmake and pkgconfig files
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Open ---    
Severity: Affects Only Me Flags: lwhsu: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Yuri Victorovich freebsd_committer freebsd_triage 2023-11-12 09:18:11 UTC
Created attachment 246255 [details]
patch

Hi Li-Wen,

I am proposing to add cmake and pkgconfig files by building qr-code-generator using the cmake wrapper project: https://github.com/EasyCoding/qrcodegen-cmake

The new version of multimedia/obs-studio requires cmake files for graphics/qr-code-generator - that's how I arrived at this proposal.


Thank you,
Yuri
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2023-11-20 04:51:39 UTC
Thanks for the patch, I've tested it and also build the ports depend on this:

devel/notcurses
net-im/telegram-desktop
security/ylva
textproc/qrcodegen

One thing I have a little concern is that this changes the path of qrcodegen.hpp, not sure if this is a good move.