public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcustomplot/, dev-libs/qcustomplot/files/
@ 2025-01-27 23:22 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2025-01-27 23:22 UTC (permalink / raw
  To: gentoo-commits

commit:     00364bcc0f75a04af571be35f9f265e207ed89c4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 20:55:34 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 23:19:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00364bcc

dev-libs/qcustomplot: Port to Qt6 (as 2.1.1-r10)

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/qcustomplot-2.1.1-qmake.patch            | 24 ++++++++++++++
 dev-libs/qcustomplot/qcustomplot-2.1.1-r10.ebuild  | 38 ++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-libs/qcustomplot/files/qcustomplot-2.1.1-qmake.patch b/dev-libs/qcustomplot/files/qcustomplot-2.1.1-qmake.patch
new file mode 100644
index 000000000000..09c923d95875
--- /dev/null
+++ b/dev-libs/qcustomplot/files/qcustomplot-2.1.1-qmake.patch
@@ -0,0 +1,24 @@
+From 4c7cf0dfcccf2aa31d6117bb811b7baed84f8f4a Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 28 Jan 2025 00:18:46 +0100
+Subject: [PATCH] Fix source paths
+
+---
+ qcustomplot.pro | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/qcustomplot.pro b/qcustomplot.pro
+index a437355..779e8e6 100755
+--- a/qcustomplot.pro
++++ b/qcustomplot.pro
+@@ -31,5 +31,5 @@ CONFIG(debug, debug|release) {
+ QMAKE_TARGET_COMPANY = "www.qcustomplot.com"
+ QMAKE_TARGET_COPYRIGHT = "Copyright (C) by Emanuel Eichhammer"
+ 
+-SOURCES += ../../qcustomplot.cpp
+-HEADERS += ../../qcustomplot.h
++SOURCES += qcustomplot.cpp
++HEADERS += qcustomplot.h
+-- 
+2.48.1
+

diff --git a/dev-libs/qcustomplot/qcustomplot-2.1.1-r10.ebuild b/dev-libs/qcustomplot/qcustomplot-2.1.1-r10.ebuild
new file mode 100644
index 000000000000..81f491b18b88
--- /dev/null
+++ b/dev-libs/qcustomplot/qcustomplot-2.1.1-r10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Qt C++ widget for plotting and data visualization"
+HOMEPAGE="https://www.qcustomplot.com/"
+SRC_URI="
+	https://www.qcustomplot.com/release/${PV}/QCustomPlot-sharedlib.tar.gz -> ${PN}-sharedlib-${PV}.tar.gz
+	https://www.qcustomplot.com/release/${PV}/QCustomPlot-source.tar.gz -> ${PN}-source-${PV}.tar.gz"
+S=${WORKDIR}/${PN}-source
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-qt/qtbase:6[gui,widgets]"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-qmake.patch" )
+
+src_prepare() {
+	cp -a ../${PN}-sharedlib/sharedlib-compilation/sharedlib-compilation.pro ${PN}.pro || die
+	default
+}
+
+src_configure() {
+	eqmake6
+}
+
+src_install() {
+	dolib.so lib${PN}*
+	doheader ${PN}.h
+	dodoc changelog.txt
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-27 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-27 23:22 [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcustomplot/, dev-libs/qcustomplot/files/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox