summaryrefslogtreecommitdiff
path: root/x11-libs/qwtpolar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-24 01:25:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-24 01:25:20 +0100
commitd80b870c42fbe218389ffaf86f0f2a39404deca1 (patch)
tree3be15ebcfb876f660fe2f2b0d02f8bca68e41622 /x11-libs/qwtpolar
parentde59eb4554f5fe0d506a66bb96630a35f99c09f7 (diff)
gentoo auto-resync : 24:09:2024 - 01:25:19
Diffstat (limited to 'x11-libs/qwtpolar')
-rw-r--r--x11-libs/qwtpolar/Manifest1
-rw-r--r--x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/x11-libs/qwtpolar/Manifest b/x11-libs/qwtpolar/Manifest
index 575bff33214e..9486b4a610d1 100644
--- a/x11-libs/qwtpolar/Manifest
+++ b/x11-libs/qwtpolar/Manifest
@@ -1,3 +1,4 @@
DIST qwtpolar-1.1.1.tar.bz2 565546 BLAKE2B 7067a006c44d49fab1dc16e115c528aaf72fa172d92487bd38e112bdff99e8ea4d83f0dafcb7f17af4bad9190c809468e47db652ca712645504b350dc9f03ed3 SHA512 5b752e5426ae15740737277c2ba244cab947c54d573b4eedd1f54359b6eab1fa738d40f68f6c806106d01596eabc9f6d7ee825dde11a4925bebd643f42021621
EBUILD qwtpolar-1.1.1-r3.ebuild 1466 BLAKE2B faed155fab9a21cd565d840f28bbfcdfd8290c5e1e1a9b55a8c388361985f6282ec2824755abafd6723301b90dba23731ba433d94a88e34ce391e40c3748b963 SHA512 f13b2fc984b3a59e29988db037bafb547b50125d418c7bd0975b035cf21f3b26c2f82af8a7d3161efe1679bc8d7457edb80956fe90dde41f8119f475b8f167cf
+EBUILD qwtpolar-1.1.1-r4.ebuild 1480 BLAKE2B 928cd10db0130e5004d4bdbf256acb17eef213a8fb34f0fd1c5e1920f094eb76a1f77a7f82329f0231cf877bf575df1ff66a3b5e70b4654de4477d6af7ec38f6 SHA512 ad4a745ed0fbe083746e9796d97750185c55717c4295ed548b80cabcaa95b1100497b5d584df57d9103fa5ad2c59422f5ed193b97a0af4efa821268cc8f45516
MISC metadata.xml 348 BLAKE2B 3cbd28f9c682cf2caec49ea1ca00fb991ead2b5c9692473550d9492c9fce7c3598492ac7bf719f8be991459c357e7ed2818577d7263dfd057a7316be59feb97f SHA512 cefce0b3816b27d9cdb557339ac258caab08f5090610aee3dd94098233616e8e2a0f642e4fd9b136ebb87138ba7d2fff6d442dba40390c4d63b350d59158d7ae
diff --git a/x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild b/x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild
new file mode 100644
index 000000000000..ff4af44583b7
--- /dev/null
+++ b/x11-libs/qwtpolar/qwtpolar-1.1.1-r4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Library for displaying values on a polar coordinate system"
+HOMEPAGE="https://qwtpolar.sourceforge.io/"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="qwt"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+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.2:6=[designer,qt5(+),svg,-polar(-)]
+"
+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
+}