# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 inherit autotools-utils flag-o-matic toolchain-funcs DESCRIPTION="Quite Universal Circuit Simulator in Qt4" HOMEPAGE="http://qucs.sourceforge.net/" SRC_URI="https://github.com/Qucs/${PN}/archive/${P}.tar.gz" MY_P=${PN}-${P} LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" S="${WORKDIR}"/${MY_P} RDEPEND="dev-qt/qtcore:4[qt3support] dev-qt/qtgui:4[qt3support] dev-qt/qt3support:4 x11-libs/libX11 sci-electronics/electronics-menu app-text/texlive[science,publishers] dev-tex/latex2html" DEPEND="${RDEPEND}" AUTOTOOLS_IN_SOURCE_BUILD=1 src_prepare() { ./bootstrap cd qucs-core || die sed -i 's:hicumL2V2p31n.core.h::g' src/components/verilog/Makefile.in || die cd .. } src_configure() { # remove unsupported clang flags filter-flags -msahf autotools-utils_src_configure }