@@ -5131,7 +5131,7 @@ (define-public warzone2100
("openssl" ,openssl)
("sdl2" ,sdl2)
("sqlite" ,sqlite)
- ("utfcpp" ,utfcpp)))
+ ("utfcpp" ,utfcpp-2)))
(home-page "https://wz2100.net")
(synopsis "3D Real-time strategy and real-time tactics game")
(description
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
+;;; Copyright © 2021 Josh Marshall <joshua.r.marshall.1991@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -668,6 +669,28 @@ (define-public catdoc
(define-public utfcpp
(package
+ (name "utfcpp")
+ (version "3.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nemtrif/utfcpp")
+ (commit (string-append "v" version))
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0gsbwif97i025bxgyax4fbf6v9z44zrca4s6wwd8x36ac8qzjppf"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/nemtrif/utfcpp")
+ (synopsis "Portable C++ library for handling UTF-8")
+ (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
+in a portable way.")
+ (license license:boost1.0)))
+
+(define-public utfcpp-2
+ (package
+ (inherit utfcpp)
(name "utfcpp")
(version "2.3.5")
(source (origin
@@ -691,12 +714,7 @@ (define-public utfcpp
(doc (string-append out "/share/doc/" ,name)))
(copy-recursively "source" include)
(install-file "README.md" doc)
- #t))))))
- (home-page "https://github.com/nemtrif/utfcpp")
- (synopsis "Portable C++ library for handling UTF-8")
- (description "UTF8-CPP is a C++ library for handling UTF-8 encoded text
-in a portable way.")
- (license license:boost1.0)))
+ #t))))))))
(define-public dbacl
(package
@@ -991,7 +991,7 @@ (define-public mkvtoolnix
pugixml
qtbase-5
qtmultimedia
- utfcpp
+ utfcpp-2
zlib))
(native-inputs
`(("docbook-xsl" ,docbook-xsl)