From 3ca05bb6f3a9c6097c72681734f1fcf754cee424 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Mon, 10 Jul 2017 23:25:26 +0800 Subject: [PATCH] gnu: Add simplescreenrecorder. * gnu/packages/video.scm (simplescreenrecorder): New variable. --- gnu/packages/video.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5338d375e..dc73114e4 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2015, 2016, 2017 Efraim Flashner ;;; Copyright © 2015 Andy Patterson ;;; Copyright © 2015 Ricardo Wurmus -;;; Copyright © 2015, 2016 Alex Vong +;;; Copyright © 2015, 2016, 2017 Alex Vong ;;; Copyright © 2016, 2017 Alex Griffin ;;; Copyright © 2016 Kei Kebreau ;;; Copyright © 2016 Dmitry Nikolaev @@ -1888,6 +1888,41 @@ your graphical desktop and encodes it as a video. This is a useful tool for making @dfn{screencasts}.") (license license:gpl2+))) +(define-public simplescreenrecorder + (package + (name "simplescreenrecorder") + (version "0.3.8") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/MaartenBaert/ssr/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0v8w35n8w772s08w7k0icynqdsdakbrcanbgx6j847bfqfsg21gg")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + ;; Although libx11, libxfixes, libxext are listed as build dependencies in + ;; README. The program builds and functions properly without it. + ;; As a result, they are omitted. Please add them back if problems appear. + (inputs `(("alsa-lib" ,alsa-lib) + ("ffmpeg" ,ffmpeg) + ("glu" ,glu) + ("jack" ,jack-1) + ("libxi" ,libxi) + ("pulseaudio" ,pulseaudio) + ("qt" ,qt-4))) ; README: using Qt 5 causes some stability issues + ;; Using HTTPS causes part of the page displayed improperly. + (home-page "http://www.maartenbaert.be/simplescreenrecorder/") + (synopsis "Screen recorder") + (description "SimpleScreenRecorder is a screen recorder. Despite the name, +this program is actually quite complex. It's @emph{simple} in the sense that +it's easier to use than ffmpeg/avconv or VLC.") + (license (list license:gpl3+ ; most files + license:zlib ; glinject/elfhacks.* + license:isc ; glinject/* + license:x11)))) ; build-aux/install-sh + (define-public libsmpeg (package (name "libsmpeg") -- 2.13.2