commit:     8df6dce32e204a482dd88ceb8e04df5adc6939fb
Author:     Domonkos Lezsák <lezsakdomi1 <AT> gmail <DOT> com>
AuthorDate: Sat Oct 21 08:22:14 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 10:06:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8df6dce3

x11-misc/xsr: new ebuild.

X Steps Recorder is a clone of PSR for Windows.

Closes: https://github.com/gentoo/gentoo/pull/6000
Closes: https://bugs.gentoo.org/633660

 x11-misc/xsr/Manifest         |  1 +
 x11-misc/xsr/metadata.xml     | 32 ++++++++++++++++++++++++++++++++
 x11-misc/xsr/xsr-1.0.0.ebuild | 28 ++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/x11-misc/xsr/Manifest b/x11-misc/xsr/Manifest
new file mode 100644
index 00000000000..0de8fb09bbd
--- /dev/null
+++ b/x11-misc/xsr/Manifest
@@ -0,0 +1 @@
+DIST xsr-1.0.0.tar.gz 8028 SHA256 
46cb94d45c90762fa08edcbe2ff03165424978f855c33969062a742b835b2e59 SHA512 
0fd7326452a50d0493d30cd956ded07fc3eed551af31c042c0a8f0a9c3af69319719868cfc43fff8b542191b5b9c959894d3db13b15c4127e8ff6020a04f7f15
 WHIRLPOOL 
6d98693369ac60023cb6ca941a3bd88ebe38f64aa3b96c41ba15f4ea8b20f88d75c215d485472c4d6e9cd6c85ee76d2e145a70d029678b548f9115e9ed285db6

diff --git a/x11-misc/xsr/metadata.xml b/x11-misc/xsr/metadata.xml
new file mode 100644
index 00000000000..c2e7935c2ea
--- /dev/null
+++ b/x11-misc/xsr/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Domonkos Lezsák</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       
+       <longdescription lang="en">
+               X Steps Recorder is a clone of PSR for Windows, a program that 
allows users
+               to make a recording of all of the steps they took. (It's like a 
screen
+               recorder except it doesn't record a video.)
+
+               The main differences are that this only runs on Linux, that it 
records
+               your keystrokes too (!), and that it saves the output as 
standard html
+               (base64-uri-encoded images) rather than mhtml. This allows for 
easy
+               editing of the resultant file, such as to remove passwords you 
typed
+               (which is why psr doesn't record keystrokes in the first place).
+       </longdescription>
+       
+       <use>
+               <flag name="cursor">Capture mouse cursor using 
<pkg>x11-misc/xdotool</pkg>, and place them on the screenshots using 
<pkg>media-gfx/imagemagick</pkg></flag>
+       </use>
+
+       <upstream>
+               <remote-id type="github">nonnymoose/xsr</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/x11-misc/xsr/xsr-1.0.0.ebuild b/x11-misc/xsr/xsr-1.0.0.ebuild
new file mode 100644
index 00000000000..f933fb6d964
--- /dev/null
+++ b/x11-misc/xsr/xsr-1.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="X Steps Recorder"
+HOMEPAGE="https://github.com/nonnymoose/xsr";
+SRC_URI="https://github.com/nonnymoose/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cursor"
+
+RDEPEND="
+       dev-lang/perl
+       media-gfx/scrot
+       cursor? (
+               media-gfx/imagemagick
+               x11-misc/xdotool
+       )"
+
+src_install() {
+       dobin "${PN}"
+       insinto /usr/share/xsr
+       doins Cursor.png
+       einstalldocs
+}

Reply via email to