summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2015-10-06 23:48:55 +0200
committerMichael Weber <xmw@gentoo.org>2015-10-06 23:50:52 +0200
commitb1442df99b11c7e8346bcfc892a52a98289da6a9 (patch)
treec1ba84fb3e7fa82f09a9758881c6965e06733fb4 /sci-electronics/xoscope
parentdev-python/vulture: new package (diff)
downloadgentoo-b1442df99b11c7e8346bcfc892a52a98289da6a9.tar.gz
gentoo-b1442df99b11c7e8346bcfc892a52a98289da6a9.tar.bz2
gentoo-b1442df99b11c7e8346bcfc892a52a98289da6a9.zip
sci-electronics/xoscope: Version bump (bug 561926, thanks Vladimir).
Package-Manager: portage-2.2.21
Diffstat (limited to 'sci-electronics/xoscope')
-rw-r--r--sci-electronics/xoscope/Manifest1
-rw-r--r--sci-electronics/xoscope/files/xoscope-2.1-man_no_-Tutf8.patch11
-rw-r--r--sci-electronics/xoscope/xoscope-2.1.ebuild30
3 files changed, 42 insertions, 0 deletions
diff --git a/sci-electronics/xoscope/Manifest b/sci-electronics/xoscope/Manifest
index 20e837e9a8a..185282d0c79 100644
--- a/sci-electronics/xoscope/Manifest
+++ b/sci-electronics/xoscope/Manifest
@@ -1 +1,2 @@
DIST xoscope-2.0.tgz 334875 SHA256 a8a3027971dd1bd902861ea8f099ea003a19b6e86f87ae97a4811aeef1deb403 SHA512 8a7506dd40133c1bfaf101102f84a5d81712b4cc28d75002f14d5c5b2e08162813dfb68a3e15e1056545d225d563c66ac8a5a81deede3c93a5bb943b81c8fc70 WHIRLPOOL 4afd660cb05a9a70ce49a5553c4f08d5877f32a85adcf86ada1014d7d90c358817cdb6da7f4b2d08edfb406375848434f679ea976c15ad16bf3ca2b8691a944c
+DIST xoscope-2.1.tar.gz 302170 SHA256 ff14532ced6ac140064093e7aafaf6a032a50eb09f6b3608c45f81d00dc836ac SHA512 2ecc75d04d36634d83b7c6636dc7e45fb068ae37e0ee1b0e97c65f9cd56f7fe0e511828821fa0ca2cfe4c6cd6a05e8d23275ec96253dc6faec91db4cbdecd13d WHIRLPOOL e8dc3e9b56e776431d3d4f6dc30865666d7dc5d3bb0df12ebec62018db040fbb2518023688502dce01a98a7139a23e5222f258a8481511832e9233eadcef00c7
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
new file mode 100644
index 00000000000..f00cd8c2545
--- /dev/null
+++ b/sci-electronics/xoscope/files/xoscope-2.1-man_no_-Tutf8.patch
@@ -0,0 +1,11 @@
+--- xoscope-2.1/configure.ac
++++ xoscope-2.1/configure.ac
+@@ -132,7 +132,7 @@
+
+ AC_DEFINE(MSECREFRESH, 30, [minimum number of milliseconds between refresh on libsx version])
+
+-AC_DEFINE(HELPCOMMAND, "man -Tutf8 xoscope 2>&1", [shell command for X11 help])
++AC_DEFINE(HELPCOMMAND, "man xoscope 2>&1", [shell command for X11 help])
+
+ AC_DEFINE(FILENAME, "oscope.dat", [default file name])
+
diff --git a/sci-electronics/xoscope/xoscope-2.1.ebuild b/sci-electronics/xoscope/xoscope-2.1.ebuild
new file mode 100644
index 00000000000..a8352fa4349
--- /dev/null
+++ b/sci-electronics/xoscope/xoscope-2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils linux-info
+
+DESCRIPTION="Soundcard Oscilloscope for X"
+HOMEPAGE="http://xoscope.sourceforge.net"
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtkdatabox
+ virtual/man"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+CONFIG_CHECK="~!SND_PCM_OSS"
+ERROR_SND_PCM_OSS="CONFIG_SND_PCM_OSS is needed to support sound card input via /dev/dsp"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-man_no_-Tutf8.patch
+
+ eautoreconf
+}