summaryrefslogtreecommitdiff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-02 08:52:02 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-09 10:21:00 +0200
commit12d8efb1a98a803c4de4368cb0890dbffeb2f619 (patch)
tree283127f58d0d67e57b9db0a802f8a0cb2bd76959 /gnu/packages/pdf.scm
parente2e5df596f5e682d78043b12463cc47d14291ba9 (diff)
gnu: capypdf: Update to 0.5.0.
* gnu/packages/pdf.scm (capypdf): Update to 0.5.0. [arguments]<#:configure-flags>: Add “-Dcpp_std=c++23” <#:phases>: Drop ‘add-missing-header’.
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm10
1 files changed, 3 insertions, 7 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index e270bdf27f..b71add6f25 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -117,7 +117,7 @@
(define-public capypdf
(package
(name "capypdf")
- (version "0.4.0")
+ (version "0.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -125,18 +125,14 @@
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1kn46n3j5fygivmd6ldnv8vdwfv48ffaizq61yy4z9w2jm6fgxim"))))
+ (base32 "1mb3i0jq04gg5cm1l07mn9kal5s748miql97j6fpaf1x1j2lcrsx"))))
(build-system meson-build-system)
(arguments
(list #:meson meson/newer
+ #:configure-flags #~(list "-Dcpp_std=c++23")
#:test-options '(list "plainc")
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'add-missing-header
- (lambda _
- (substitute* "src/pdfgen.cpp"
- (("#include <cassert>" all)
- (string-append all "\n#include <unistd.h>")))))
(add-after 'unpack 'fix-glib-application-flags
(lambda _
;; XXX: remove when bumping glib