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 0000000000000..09c923d958755 --- /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 +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 0000000000000..81f491b18b880 --- /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 +}