# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PARTS_P="${PN}-parts-${PV}" inherit qmake-utils DESCRIPTION="Electronic Design Automation" HOMEPAGE="http://fritzing.org/" SRC_URI="https://github.com/fritzing/fritzing-app/archive/${PV}.tar.gz -> ${P}.tar.gz https://github.com/fritzing/fritzing-parts/archive/${PV}.tar.gz -> ${PARTS_P}.tar.gz" LICENSE="CC-BY-SA-3.0 GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtprintsupport:5 dev-qt/qtserialport:5 dev-qt/qtsql:5[sqlite] dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 >=dev-libs/quazip-0.7.2[qt5(+)]" DEPEND="${RDEPEND} >=dev-libs/boost-1.40" S="${WORKDIR}/${PN}-app-${PV}" DOCS="readme.md" src_prepare() { local lang translations= # fix build with newer quazip - bug #597988 sed -i -e "s/#include