linamh/sci-electronics/qucs/qucs-0.0.20_rc2.ebuild

40 lines
840 B
Bash
Raw Permalink Normal View History

# Copyright 1999-2022 Gentoo Authors
2022-02-23 19:17:30 +01:00
# Distributed under the terms of the GNU General Public License v2
2023-07-20 20:28:34 +02:00
EAPI=8
2022-02-23 19:17:30 +01:00
inherit flag-o-matic toolchain-funcs autotools
DESCRIPTION="Quite Universal Circuit Simulator in Qt5"
HOMEPAGE="http://qucs.sourceforge.net/"
#SRC_URI="mirror://sourceforge/${PN}/${fn}.tar.gz"
SRC_URI="https://github.com/Qucs/qucs/archive/qucs-${PV//_/-}.tar.gz -> qucs-${PV}-source.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
2022-02-23 19:17:30 +01:00
IUSE="doc"
RDEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
x11-libs/libX11
sci-electronics/adms"
DEPEND="${RDEPEND}
doc? ( sci-mathematics/octave )"
S=${WORKDIR}/qucs-qucs-${PV//_/-}
src_prepare() {
default
./bootstrap
}
src_configure() {
local myeconfargs=(
--enable-maintainer-mode
)
econf $myeconfargs $(use_enable doc) # https://github.com/Qucs/qucs/issues/582
}