mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/qcustomplot: Port to Qt6 (as 2.1.1-r10)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
24
dev-libs/qcustomplot/files/qcustomplot-2.1.1-qmake.patch
Normal file
24
dev-libs/qcustomplot/files/qcustomplot-2.1.1-qmake.patch
Normal file
@@ -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
|
||||
|
||||
38
dev-libs/qcustomplot/qcustomplot-2.1.1-r10.ebuild
Normal file
38
dev-libs/qcustomplot/qcustomplot-2.1.1-r10.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user