From 937b71dfce3cc203c30cb882095c4c590edd43a3 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 23 Feb 2017 13:47:03 +0100 Subject: [PATCH] gnu: slop: Update to 5.3.21. * gnu/packages/xdisorg.scm (slop): Update to 5.3.21. [arguments]: Specify -std=gnu++11 in #:configure-flags. [inputs]: Drop LIBX11, LIBXRANDR, IMLIB2 and GLEW. Add GLM. --- gnu/packages/xdisorg.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index a1c89a5caa..d94455f834 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -51,6 +51,7 @@ (define-module (gnu packages xdisorg) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) + #:use-module (gnu packages maths) #:use-module (gnu packages m4) #:use-module (gnu packages ncurses) #:use-module (gnu packages perl) @@ -437,7 +438,7 @@ (define-public scrot (define-public slop (package (name "slop") - (version "4.3.21") + (version "5.3.21") (source (origin (method url-fetch) (uri (string-append @@ -446,15 +447,14 @@ (define-public slop (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0z0p4a3p5mc6fjh5f8js9ppb0maxyvfxpiw2n6nqc5nim1kv6bim")))) + "0qlyksiaknd40jabra0fv71k4qc4y6dgxihjmmv9a1g4hdmmqklb")))) (build-system cmake-build-system) - (arguments '(#:tests? #f)) ; no "check" target + (arguments + '(#:configure-flags '("-DCMAKE_CXX_FLAGS=-std=gnu++11") + #:tests? #f)) ; no "check" target (inputs - `(("libx11" ,libx11) - ("libxrandr" ,libxrandr) + `(("glm" ,glm) ("libxext" ,libxext) - ("imlib2" ,imlib2) - ("glew" ,glew) ("mesa" ,mesa))) (home-page "https://github.com/naelstrof/slop") (synopsis "Select a region and print its bounds to stdout")