Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsr/
Date: Sat, 28 Oct 2017 10:07:31
Message-Id: 1509185193.8df6dce32e204a482dd88ceb8e04df5adc6939fb.monsieurp@gentoo
1 commit: 8df6dce32e204a482dd88ceb8e04df5adc6939fb
2 Author: Domonkos Lezsák <lezsakdomi1 <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 21 08:22:14 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 28 10:06:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8df6dce3
7
8 x11-misc/xsr: new ebuild.
9
10 X Steps Recorder is a clone of PSR for Windows.
11
12 Closes: https://github.com/gentoo/gentoo/pull/6000
13 Closes: https://bugs.gentoo.org/633660
14
15 x11-misc/xsr/Manifest | 1 +
16 x11-misc/xsr/metadata.xml | 32 ++++++++++++++++++++++++++++++++
17 x11-misc/xsr/xsr-1.0.0.ebuild | 28 ++++++++++++++++++++++++++++
18 3 files changed, 61 insertions(+)
19
20 diff --git a/x11-misc/xsr/Manifest b/x11-misc/xsr/Manifest
21 new file mode 100644
22 index 00000000000..0de8fb09bbd
23 --- /dev/null
24 +++ b/x11-misc/xsr/Manifest
25 @@ -0,0 +1 @@
26 +DIST xsr-1.0.0.tar.gz 8028 SHA256 46cb94d45c90762fa08edcbe2ff03165424978f855c33969062a742b835b2e59 SHA512 0fd7326452a50d0493d30cd956ded07fc3eed551af31c042c0a8f0a9c3af69319719868cfc43fff8b542191b5b9c959894d3db13b15c4127e8ff6020a04f7f15 WHIRLPOOL 6d98693369ac60023cb6ca941a3bd88ebe38f64aa3b96c41ba15f4ea8b20f88d75c215d485472c4d6e9cd6c85ee76d2e145a70d029678b548f9115e9ed285db6
27
28 diff --git a/x11-misc/xsr/metadata.xml b/x11-misc/xsr/metadata.xml
29 new file mode 100644
30 index 00000000000..c2e7935c2ea
31 --- /dev/null
32 +++ b/x11-misc/xsr/metadata.xml
33 @@ -0,0 +1,32 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="person">
38 + <email>lezsakdomi1@×××××.com</email>
39 + <name>Domonkos Lezsák</name>
40 + </maintainer>
41 + <maintainer type="project">
42 + <email>proxy-maint@g.o</email>
43 + <name>Proxy Maintainers</name>
44 + </maintainer>
45 +
46 + <longdescription lang="en">
47 + X Steps Recorder is a clone of PSR for Windows, a program that allows users
48 + to make a recording of all of the steps they took. (It's like a screen
49 + recorder except it doesn't record a video.)
50 +
51 + The main differences are that this only runs on Linux, that it records
52 + your keystrokes too (!), and that it saves the output as standard html
53 + (base64-uri-encoded images) rather than mhtml. This allows for easy
54 + editing of the resultant file, such as to remove passwords you typed
55 + (which is why psr doesn't record keystrokes in the first place).
56 + </longdescription>
57 +
58 + <use>
59 + <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>
60 + </use>
61 +
62 + <upstream>
63 + <remote-id type="github">nonnymoose/xsr</remote-id>
64 + </upstream>
65 +</pkgmetadata>
66
67 diff --git a/x11-misc/xsr/xsr-1.0.0.ebuild b/x11-misc/xsr/xsr-1.0.0.ebuild
68 new file mode 100644
69 index 00000000000..f933fb6d964
70 --- /dev/null
71 +++ b/x11-misc/xsr/xsr-1.0.0.ebuild
72 @@ -0,0 +1,28 @@
73 +# Copyright 1999-2017 Gentoo Foundation
74 +# Distributed under the terms of the GNU General Public License v2
75 +
76 +EAPI=6
77 +
78 +DESCRIPTION="X Steps Recorder"
79 +HOMEPAGE="https://github.com/nonnymoose/xsr"
80 +SRC_URI="https://github.com/nonnymoose/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
81 +
82 +LICENSE="MIT"
83 +SLOT="0"
84 +KEYWORDS="~amd64"
85 +IUSE="cursor"
86 +
87 +RDEPEND="
88 + dev-lang/perl
89 + media-gfx/scrot
90 + cursor? (
91 + media-gfx/imagemagick
92 + x11-misc/xdotool
93 + )"
94 +
95 +src_install() {
96 + dobin "${PN}"
97 + insinto /usr/share/xsr
98 + doins Cursor.png
99 + einstalldocs
100 +}