Archived
1
0
Fork 0

gnu: cairomm: Update to 1.16.0.

* gnu/packages/gtk.scm (cairomm)[version]: Update to 1.16.0.
[build-system]: Change from gnu to meson.
[arguments]<#:glib-or-gtk?>: New argument.
<#:configure-flags>[-Dboost-shared]: New flag.
<#:make-flags>: Remove argument.
[native-inputs]: Add boost and mm-common.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
Raghav Gururajan 2021-03-25 06:49:16 -04:00
parent dfa9cea350
commit a1b965f882
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -58,6 +58,7 @@
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages boost)
#:use-module (gnu packages build-tools) #:use-module (gnu packages build-tools)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages check) #:use-module (gnu packages check)
@ -1264,19 +1265,24 @@ guile-gnome-platform (GNOME developer libraries), and guile-gtksourceview.")
(define-public cairomm (define-public cairomm
(package (package
(name "cairomm") (name "cairomm")
(version "1.12.2") (version "1.16.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://www.cairographics.org/releases/" (uri (string-append "https://www.cairographics.org/releases/"
name "-" version ".tar.gz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"16fmigxsaz85c3lgcls7biwyz8zy8c8h3jndfm54cxxas3a7zi25")))) "1ya4y7qa000cjawqwswbqv26y5icfkmhs5iiiil4dxgrqn91923y"))))
(build-system gnu-build-system) (build-system meson-build-system)
(arguments (arguments
;; The examples lack -lcairo. `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
'(#:make-flags '("LDFLAGS=-lcairo"))) #:configure-flags
(native-inputs `(("pkg-config" ,pkg-config))) (list
"-Dboost-shared=true")))
(native-inputs
`(("boost" ,boost)
("mm-common" ,mm-common)
("pkg-config" ,pkg-config)))
(propagated-inputs (propagated-inputs
`(("libsigc++" ,libsigc++) `(("libsigc++" ,libsigc++)
("freetype" ,freetype) ("freetype" ,freetype)