# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit qmake-utils git-r3 DESCRIPTION="BulbCalculator is a software to design the bulb of RC sail yacht model." HOMEPAGE="https://www.bulbcalculator.com/" EGIT_REPO_URI="https://github.com/mgian/bulbcalculator" LICENSE="GPL-2" SLOT="0" KEYWORDS="" PATCHES=( "${FILESDIR}/bulbcalculator-3.1.0_build.patch" ) DEPEND="dev-qt/qtopengl:5 dev-qt/qtxml:5 dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 dev-qt/qtprintsupport:5 >=x11-libs/libQGLViewer-2.7.0" RDEPEND="${DEPEND}" S=${WORKDIR}/${P} src_compile() { eqmake5 -o Makefile bulbcalculator.pro emake } src_install() { INSTALL_ROOT=${D} emake install_target || die "Install BulbCalculator failed" }