summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomonkos Lezsák <lezsakdomi1@gmail.com>2017-10-21 10:22:14 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-10-28 12:06:33 +0200
commit8df6dce32e204a482dd88ceb8e04df5adc6939fb (patch)
tree09005fd5cbeff3ab276c48a2fd8187331c9f01db /x11-misc/xsr
parentnet-dns/dnsdist: version bump to 1.2.0. (diff)
downloadgentoo-8df6dce32e204a482dd88ceb8e04df5adc6939fb.tar.gz
gentoo-8df6dce32e204a482dd88ceb8e04df5adc6939fb.tar.bz2
gentoo-8df6dce32e204a482dd88ceb8e04df5adc6939fb.zip
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
Diffstat (limited to 'x11-misc/xsr')
-rw-r--r--x11-misc/xsr/Manifest1
-rw-r--r--x11-misc/xsr/metadata.xml32
-rw-r--r--x11-misc/xsr/xsr-1.0.0.ebuild28
3 files changed, 61 insertions, 0 deletions
diff --git a/x11-misc/xsr/Manifest b/x11-misc/xsr/Manifest
new file mode 100644
index 000000000000..0de8fb09bbd4
--- /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 000000000000..c2e7935c2eab
--- /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>lezsakdomi1@gmail.com</email>
+ <name>Domonkos Lezsák</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</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 000000000000..f933fb6d9645
--- /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
+}