diff options
author | pinoaffe <pinoaffe@gmail.com> | 2023-10-04 02:15:21 +0200 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2023-10-06 21:34:22 -0300 |
commit | ced91adcc05f991ec5556b492c390334c5204fa6 (patch) | |
tree | 8b404a30721abfeb36b160cf9aa6c2a32386ce2c /gnu/packages | |
parent | add2a22ad7bcca2521432e3f486460138401d5a5 (diff) | |
download | guix-ced91adcc05f991ec5556b492c390334c5204fa6.tar.gz guix-ced91adcc05f991ec5556b492c390334c5204fa6.zip |
gnu: Add fontobene-qt5.
* gnu/packages/fontutils.scm (fontobene-qt5): New variable.
Signed-off-by: Vinicius Monego <monego@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/fontutils.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index c781ae2baf..c50b11b949 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com> ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> +;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -65,6 +66,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) #:use-module (gnu packages sqlite) #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) @@ -960,6 +962,35 @@ value (e.g. @samp{x=\"95.0\"} becomes @samp{x=\"95\"}) @end itemize") (license license:bsd-3))) +(define-public fontobene-qt5 + (package + (name "fontobene-qt5") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fontobene/fontobene-qt5") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gy3sfraf23k7dm4ha8nqpd6madzk0zmxkcb204micyn5b5l8ljg")))) + (inputs (list qtbase-5)) + (build-system cmake-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./tests/fontobene-qt5-tests"))))))) + (home-page "https://github.com/fontobene/fontobene-qt5") + (synopsis "Parser for FontoBene stroke fonts") + (description "FontoBene-Qt5 is a header-only library to parse FontoBene +stroke fonts with C++11/Qt5.") + ;; Dual-licensed, either license applies. + (license (list license:asl2.0 license:expat)))) + (define-public ttfautohint (package (name "ttfautohint") |