summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-electronics/xoscope/Manifest1
-rw-r--r--sci-electronics/xoscope/xoscope-2.3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/sci-electronics/xoscope/Manifest b/sci-electronics/xoscope/Manifest
index 0a0abf655aab..60c651e80dd4 100644
--- a/sci-electronics/xoscope/Manifest
+++ b/sci-electronics/xoscope/Manifest
@@ -1 +1,2 @@
DIST xoscope-2.2.tar.gz 307319 BLAKE2B 860fe234e5958a005ff0cff5143fcc0711d69b958e2f6277589d08074001872b065ecb435493285231ff0c61aea1b50b221aa36127b25947184e059e951a70ec SHA512 77a1d7d673af3d82e5a3d563d6901c3d6f5a16a1d889e9b95ac2d7d10c8036461a94fb841266b6d131e96303d4fce47b4bc8255b3855690e9148ead6c38b74cd
+DIST xoscope-2.3.tar.gz 390105 BLAKE2B 140dd39a9fa754c9ec274041ed0f64124f58b68fabc56a940498d81698146e8474040728360b25ece367cf64bf6b31e2e04b246529d73d4829242b8570eadc3d SHA512 9f1c15a240644027927e1bc39d2a0204d03b8dbe9d1d2aed974d062777562c6877d46f6e3768cf506799d902373fd26a090d94821b0f791f8f3151f7bb2e7eee
diff --git a/sci-electronics/xoscope/xoscope-2.3.ebuild b/sci-electronics/xoscope/xoscope-2.3.ebuild
new file mode 100644
index 000000000000..7dee2f34fbac
--- /dev/null
+++ b/sci-electronics/xoscope/xoscope-2.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools 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"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-libs/alsa-lib
+ sci-libs/fftw:3.0=
+ virtual/man
+ x11-libs/gtk+:3
+ >=x11-libs/gtkdatabox-1"
+DEPEND="${RDEPEND}"
+BDEPEND="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"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.2-man_no_-Tutf8.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}