From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7E191382C5 for ; Fri, 2 Mar 2018 11:11:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF2A4E0934; Fri, 2 Mar 2018 11:11:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB732E0934 for ; Fri, 2 Mar 2018 11:11:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70E68335C0A for ; Fri, 2 Mar 2018 11:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95E2C1E7 for ; Fri, 2 Mar 2018 11:11:46 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1519989098.4d9883b22033932633769292ac6a2b98f8d3fd08.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/qwtpolar/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild X-VCS-Directories: x11-libs/qwtpolar/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 4d9883b22033932633769292ac6a2b98f8d3fd08 X-VCS-Branch: master Date: Fri, 2 Mar 2018 11:11:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b481dc33-e6f2-44be-8bfd-872445d2cd16 X-Archives-Hash: 6f28f092215d5147e053fc5923dbd318 commit: 4d9883b22033932633769292ac6a2b98f8d3fd08 Author: Michael Palimaka gentoo org> AuthorDate: Fri Mar 2 11:10:54 2018 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Fri Mar 2 11:11:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9883b2 x11-libs/qwtpolar: revision bump removes qt4 support and adds missing dependencies Package-Manager: Portage-2.3.19, Repoman-2.3.6 x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild b/x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild new file mode 100644 index 00000000000..994d5637f4e --- /dev/null +++ b/x11-libs/qwtpolar/qwtpolar-1.1.1-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="Library for displaying values on a polar coordinate system" +HOMEPAGE="http://qwtpolar.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="qwt" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + x11-libs/qwt:6=[designer,qt5(+),svg] +" +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 +" + +src_prepare() { + default + + local qtplugindir="${EPREFIX}$(qt5_get_plugindir)" + + sed \ + -e "/QWT_POLAR_INSTALL_PREFIX /s:=.*$:= ${EPREFIX}/usr:g" \ + -e "/QWT_POLAR_INSTALL_LIBS/s:lib:$(get_libdir):g" \ + -e "/QWT_POLAR_INSTALL_DOCS/s:doc:share/doc/${PF}:g" \ + -e "/QWT_POLAR_INSTALL_PLUGINS/s:=.*$:= ${qtplugindir}/designer/:g" \ + -e "/QWT_POLAR_INSTALL_FEATURES/s:=.*$:= ${qtplugindir}/features/:g" \ + -e "/= QwtPolarDesigner/ d" \ + -e "/= QwtPolarExamples/d" \ + -i ${PN}config.pri || die + + sed \ + -e "s:{QWT_POLAR_ROOT}/lib:{QWT_POLAR_ROOT}/$(get_libdir):" \ + -i src/src.pro || die + echo "INCLUDEPATH += ${EPREFIX}/usr/include/qwt6" >> 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 +}