# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit qmake-utils DESCRIPTION="Library for displaying values on a polar coordinate system" HOMEPAGE="https://qwtpolar.sourceforge.io/" SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.bz2" LICENSE="qwt" SLOT="0" KEYWORDS="amd64 x86" RDEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtprintsupport:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 > src/src.pro cat >> designer/designer.pro <<- EOF INCLUDEPATH += "${EPREFIX}"/usr/include/qwt6 LIBS += -L"${S}/$(get_libdir)" EOF } src_configure() { eqmake5 } src_install() { emake DESTDIR="${D}" INSTALL_ROOT="${D}" install einstalldocs }