public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/qwtpolar/
Date: Fri,  2 Mar 2018 11:11:46 +0000 (UTC)	[thread overview]
Message-ID: <1519989098.4d9883b22033932633769292ac6a2b98f8d3fd08.kensington@gentoo> (raw)

commit:     4d9883b22033932633769292ac6a2b98f8d3fd08
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 11:10:54 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> 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
+}


             reply	other threads:[~2018-03-02 11:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02 11:11 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-18 21:42 [gentoo-commits] repo/gentoo:master commit in: x11-libs/qwtpolar/ Andreas Sturmlechner
2024-11-15 22:13 Sam James
2024-11-15 22:13 Sam James
2024-09-23 14:56 Andrew Ammerlaan
2022-10-21 15:05 Andrew Ammerlaan
2020-05-21 19:29 Andreas Sturmlechner
2018-04-12 21:42 Andreas Sturmlechner
2018-04-12 19:07 Thomas Deutschmann
2018-04-09 16:27 Aaron Bauman
2017-03-02 19:39 Andreas Sturmlechner
2017-03-02 10:47 Agostino Sarubbo
2017-03-02 10:30 Agostino Sarubbo
2017-01-26 11:37 Andreas Sturmlechner
2017-01-23 23:21 Andreas Sturmlechner
2017-01-23  2:38 Andreas Sturmlechner
2017-01-23  2:38 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1519989098.4d9883b22033932633769292ac6a2b98f8d3fd08.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox