From 63cd4d53fbe8775e59e463b7d6e5579c4bdfb54f 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. Signed-off-by: Arun Isaac --- gnu/packages/video.scm | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5338d375ee..2a1b070d87 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,44 @@ (define-public recordmydesktop 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) + ;; Although libx11, libxfixes, libxext are listed as build dependencies in + ;; README.md, the program builds and functions properly without them. + ;; 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.md: using Qt 5 causes some stability issues + (native-inputs `(("pkg-config" ,pkg-config))) + ;; Using HTTPS causes part of the page to be displayed improperly. + (home-page "http://www.maartenbaert.be/simplescreenrecorder/") + (synopsis "Screen recorder") + (description "SimpleScreenRecorder is an easy to use screen recorder with +a graphical user interface. It supports recording the entire screen, or a +part of it, and allows encoding in many different codecs and file formats. +Other features include a live preview and live streaming.") + (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")