micoscope-1.1_p182edgets
download
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit qmake-utils desktop xdg
DESCRIPTION="Use your PC sound card as an oscilloscope, function-generator, and UART tester"
HOMEPAGE="https://sourceforge.net/projects/micoscope/"
MY_REV="r${PV#*_p}"
SRC_URI="https://sourceforge.net/code-snapshots/svn/m/mi/micoscope/src/micoscope-src-${MY_REV}.zip -> ${P}.zip"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
S="${WORKDIR}/micoscope-src-${MY_REV}"
BDEPEND="app-arch/unzip"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtsql:5
dev-qt/qtwidgets:5
sci-libs/fftw:3.0=
"
DEPEND="${RDEPEND}"
src_configure() {
eqmake5 MicOscope.pro
}
src_install() {
newbin MicOscope micoscope
doicon -s 48 res/micoscope.png
make_desktop_entry micoscope MicOscope micoscope "Electronics;Science" "StartupWMClass=micoscope"
}