1 |
commit: b1442df99b11c7e8346bcfc892a52a98289da6a9 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 6 21:48:55 2015 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 6 21:50:52 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1442df9 |
7 |
|
8 |
sci-electronics/xoscope: Version bump (bug 561926, thanks Vladimir). |
9 |
|
10 |
Package-Manager: portage-2.2.21 |
11 |
|
12 |
sci-electronics/xoscope/Manifest | 1 + |
13 |
.../xoscope/files/xoscope-2.1-man_no_-Tutf8.patch | 11 ++++++++ |
14 |
sci-electronics/xoscope/xoscope-2.1.ebuild | 30 ++++++++++++++++++++++ |
15 |
3 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/sci-electronics/xoscope/Manifest b/sci-electronics/xoscope/Manifest |
18 |
index 20e837e..185282d 100644 |
19 |
--- a/sci-electronics/xoscope/Manifest |
20 |
+++ b/sci-electronics/xoscope/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST xoscope-2.0.tgz 334875 SHA256 a8a3027971dd1bd902861ea8f099ea003a19b6e86f87ae97a4811aeef1deb403 SHA512 8a7506dd40133c1bfaf101102f84a5d81712b4cc28d75002f14d5c5b2e08162813dfb68a3e15e1056545d225d563c66ac8a5a81deede3c93a5bb943b81c8fc70 WHIRLPOOL 4afd660cb05a9a70ce49a5553c4f08d5877f32a85adcf86ada1014d7d90c358817cdb6da7f4b2d08edfb406375848434f679ea976c15ad16bf3ca2b8691a944c |
23 |
+DIST xoscope-2.1.tar.gz 302170 SHA256 ff14532ced6ac140064093e7aafaf6a032a50eb09f6b3608c45f81d00dc836ac SHA512 2ecc75d04d36634d83b7c6636dc7e45fb068ae37e0ee1b0e97c65f9cd56f7fe0e511828821fa0ca2cfe4c6cd6a05e8d23275ec96253dc6faec91db4cbdecd13d WHIRLPOOL e8dc3e9b56e776431d3d4f6dc30865666d7dc5d3bb0df12ebec62018db040fbb2518023688502dce01a98a7139a23e5222f258a8481511832e9233eadcef00c7 |
24 |
|
25 |
diff --git a/sci-electronics/xoscope/files/xoscope-2.1-man_no_-Tutf8.patch b/sci-electronics/xoscope/files/xoscope-2.1-man_no_-Tutf8.patch |
26 |
new file mode 100644 |
27 |
index 0000000..f00cd8c |
28 |
--- /dev/null |
29 |
+++ b/sci-electronics/xoscope/files/xoscope-2.1-man_no_-Tutf8.patch |
30 |
@@ -0,0 +1,11 @@ |
31 |
+--- xoscope-2.1/configure.ac |
32 |
++++ xoscope-2.1/configure.ac |
33 |
+@@ -132,7 +132,7 @@ |
34 |
+ |
35 |
+ AC_DEFINE(MSECREFRESH, 30, [minimum number of milliseconds between refresh on libsx version]) |
36 |
+ |
37 |
+-AC_DEFINE(HELPCOMMAND, "man -Tutf8 xoscope 2>&1", [shell command for X11 help]) |
38 |
++AC_DEFINE(HELPCOMMAND, "man xoscope 2>&1", [shell command for X11 help]) |
39 |
+ |
40 |
+ AC_DEFINE(FILENAME, "oscope.dat", [default file name]) |
41 |
+ |
42 |
|
43 |
diff --git a/sci-electronics/xoscope/xoscope-2.1.ebuild b/sci-electronics/xoscope/xoscope-2.1.ebuild |
44 |
new file mode 100644 |
45 |
index 0000000..a8352fa |
46 |
--- /dev/null |
47 |
+++ b/sci-electronics/xoscope/xoscope-2.1.ebuild |
48 |
@@ -0,0 +1,30 @@ |
49 |
+# Copyright 1999-2013 Gentoo Foundation |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+# $Id$ |
52 |
+ |
53 |
+EAPI=5 |
54 |
+ |
55 |
+inherit autotools eutils linux-info |
56 |
+ |
57 |
+DESCRIPTION="Soundcard Oscilloscope for X" |
58 |
+HOMEPAGE="http://xoscope.sourceforge.net" |
59 |
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz" |
60 |
+ |
61 |
+LICENSE="GPL-2" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+IUSE="" |
65 |
+ |
66 |
+RDEPEND="x11-libs/gtkdatabox |
67 |
+ virtual/man" |
68 |
+DEPEND="${RDEPEND} |
69 |
+ virtual/pkgconfig" |
70 |
+ |
71 |
+CONFIG_CHECK="~!SND_PCM_OSS" |
72 |
+ERROR_SND_PCM_OSS="CONFIG_SND_PCM_OSS is needed to support sound card input via /dev/dsp" |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ epatch "${FILESDIR}"/${P}-man_no_-Tutf8.patch |
76 |
+ |
77 |
+ eautoreconf |
78 |
+} |