diff options
author | Sughosha <sughosha@disroot.org> | 2025-05-30 23:31:00 +0530 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-06-14 20:40:53 +0200 |
commit | f804a05d390e2f526d948cb7a4ce04ac85d05938 (patch) | |
tree | 31bfaaa17ab9f8bedf987f38905ec256b85fcc71 /gnu/packages/aidc.scm | |
parent | c8218094c47482c16f4cdd1e8092c35dab117418 (diff) |
gnu: Add zint.
* gnu/packages/aidc.scm (zint): New variable.
Change-Id: Id2415cc91cceef96696fc8e70146452310f905f4
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/aidc.scm')
-rw-r--r-- | gnu/packages/aidc.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index a4816472d7..c48e800b77 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -46,9 +46,42 @@ #:use-module (gnu packages qt) #:use-module (gnu packages video) #:use-module (guix build-system cmake) + #:use-module (guix build-system qt) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk)) +(define-public zint + (package + (name "zint") + (version "2.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zint/zint") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0arnpdqspyy3bxafm3lqc020bhwq3vazfnja2fk2s8c7mr9wimgr")))) + (build-system qt-build-system) + (arguments + (list #:qtbase qtbase + #:configure-flags + #~(list "-DZINT_QT6=ON" + "-DZINT_TEST=ON" + "-DZINT_UNINSTALL=OFF"))) + (native-inputs + (list pkg-config qttools)) + (inputs + (list libpng + qtsvg)) + (synopsis "Barcode encoding library") + (description "Zint is a suite of programs to allow easy encoding of data in +any of the wide range of public domain barcode standards and to allow +integration of this capability into your own programs.") + (home-page "https://www.zint.org.uk/") + (license (list license:bsd-3 license:gpl3+)))) + (define-public zxing-cpp ;; Use the master branch as it includes unreleased build system improvements ;; allowing to use system libraries (instead of attempting to fetch them |