2013-06-27 19:53:34 +04:00
|
|
|
# Copyright 1999-2013 Gentoo Foundation
|
2012-04-13 08:50:09 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2013-06-27 19:53:34 +04:00
|
|
|
EAPI=5
|
2012-04-13 08:50:09 +04:00
|
|
|
|
2013-06-27 19:53:34 +04:00
|
|
|
inherit autotools eutils linux-info
|
2012-04-13 08:50:09 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Soundcard Oscilloscope for X"
|
|
|
|
HOMEPAGE="http://xoscope.sourceforge.net"
|
|
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2013-07-01 01:16:55 +04:00
|
|
|
KEYWORDS="amd64 x86"
|
2012-04-13 08:50:09 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="x11-libs/gtkdatabox
|
|
|
|
virtual/man"
|
|
|
|
DEPEND="${RDEPEND}
|
2012-05-04 18:27:40 +04:00
|
|
|
virtual/pkgconfig"
|
2012-04-13 08:50:09 +04:00
|
|
|
|
|
|
|
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() {
|
2013-06-27 19:53:34 +04:00
|
|
|
epatch \
|
|
|
|
"${FILESDIR}"/${P}-remove_bundled_gtkdatabox.patch \
|
|
|
|
"${FILESDIR}"/${P}-man_no_-Tutf8.patch \
|
|
|
|
"${FILESDIR}"/${P}-implicit_decls.patch \
|
|
|
|
"${FILESDIR}"/${P}-comedi_compile.patch
|
2012-04-13 08:50:09 +04:00
|
|
|
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
emake -j1
|
|
|
|
}
|