summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-15 22:49:59 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-11-18 22:41:31 +0100
commit9190178422bd1ebb3123861fea1d96da9474ce60 (patch)
tree619ae67cacebf74d9796a14f43ce48564bb60311 /x11-libs/qwt
parentapp-text/highlight: drop 4.1, 4.6 (diff)
downloadgentoo-9190178422bd1ebb3123861fea1d96da9474ce60.tar.gz
gentoo-9190178422bd1ebb3123861fea1d96da9474ce60.tar.bz2
gentoo-9190178422bd1ebb3123861fea1d96da9474ce60.zip
x11-libs/qwt: drop 5.2.3_p20210211, 6.2.0-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r--x11-libs/qwt/Manifest1
-rw-r--r--x11-libs/qwt/qwt-5.2.3_p20210211.ebuild92
-rw-r--r--x11-libs/qwt/qwt-6.2.0-r1.ebuild127
3 files changed, 0 insertions, 220 deletions
diff --git a/x11-libs/qwt/Manifest b/x11-libs/qwt/Manifest
index e33a6b4b3b9f..fd565656c1d5 100644
--- a/x11-libs/qwt/Manifest
+++ b/x11-libs/qwt/Manifest
@@ -1,4 +1,3 @@
-DIST qwt-5.2.3_p20210211.tar.gz 2324714 BLAKE2B 86556c9cf65af80500b3cba7ef78be8aec0f2413a1d485641f8870b447a1b1370b9821ad6b4a58c74f87a73172e4b2fa3eb2f02bb525c0ab3982aec550914666 SHA512 8268213c9e809015d83f3f7d42e66c85b6c9cb16efb9586ad4e5da2fa60fdcc5bdf52e0a422adcdfe928e36df0f63d8bbed1fabded91ef36d226e6cc7fa372bb
DIST qwt-5.2.3_p20210828.tar.gz 2324516 BLAKE2B f86ee55dab0e70bb255f90384ee920985d71ff998aa74bb087c2bd7bf3cdc23034786bce0d4e652dd4a7b1551719e4723de6689c76500e5f618838f40f7ca838 SHA512 c5eb64593a476d9ff1ec6c16593896bf3b90738a17775bd8186ffc7f86911ae0b91ceb8e7c1736329e9871fd9e1e5653a85df0a4cdb780a1f2f993f33ee07f62
DIST qwt-6.1.5.tar.bz2 4408268 BLAKE2B 5f42e0cfc95a7dade8e376438234abded91390b52a793eba6aef21027379f12ab2441fd80121e05c1fba13ac1b526bb6c1a6c0e8442c87cb06dcf2c520269373 SHA512 0dd1a8278751f0bb26e33ccbf120a20e406109a440d314e4525ce9a2d6f1fc56dccff2dc11c500fe2cfcbd42f4a641e87a231f93f321edc588d9353ffaccbd22
DIST qwt-6.2.0.tar.bz2 4815773 BLAKE2B 30011de7ef9b555584644ccb0994bfe56af2d7efe16690b236aa1aa0860a4408800fbd31003fd7a7a0ddf8572f573b4d0ff77069f291cd2858b31a2840952b3b SHA512 d992f9dddb09ad0e1d09e23a24a9331c950ca19a413d2627cf423e1ddc2a4ad4eb951646f789e8c7a9ab42668c30d7108071f3f8bbd8e1f4118cadb67c34939d
diff --git a/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild b/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild
deleted file mode 100644
index aa64d85aa9c9..000000000000
--- a/x11-libs/qwt/qwt-5.2.3_p20210211.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils
-
-COMMIT="2a9f1ae2f394abf3a000906b507a0d925b1e4b25"
-
-DESCRIPTION="2D plotting library for Qt5"
-HOMEPAGE="https://qwt.sourceforge.io/ https://github.com/SciDAVis/qwt5-qt5"
-SRC_URI="https://github.com/SciDAVis/qwt5-qt5/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="qwt"
-KEYWORDS="amd64 ~arm ppc ppc64 x86"
-SLOT="5"
-IUSE="designer examples"
-
-DEPEND="
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtprintsupport:5
- dev-qt/qtwidgets:5
- dev-qt/qtsvg:5
- designer? ( dev-qt/designer:5 )
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}5-qt5-${COMMIT}"
-
-src_prepare() {
- default
- sed -e "/QwtVersion/s:5.2.2.:${PV/_*}:g" -i ${PN}.prf || die
-
- cat > qwtconfig.pri <<-EOF || die
- target.path = "${EPREFIX}/usr/$(get_libdir)"
- headers.path = "${EPREFIX}/usr/include/qwt5"
- doc.path = "${EPREFIX}/usr/share/doc/${PF}"
- CONFIG += qt warn_on thread release
- CONFIG += QwtDll QwtPlot QwtWidgets QwtSVGItem
- VERSION = ${PV/_*}
- QWT_VERSION = ${PV/_*}
- EOF
- use designer && echo "CONFIG += QwtDesigner" >> qwtconfig.pri
- # Fails to compile with MathML enabled
- #use mathml && echo "CONFIG += QwtMathML" >> qwtconfig.pri
-
- cat >> qwtconfig.pri <<-EOF || die
- QWT_INSTALL_PLUGINS = "${EPREFIX}$(qt5_get_plugindir)/designer"
- QWT_INSTALL_FEATURES = "${EPREFIX}$(qt5_get_mkspecsdir)/features"
- EOF
- sed -i -e 's/headers doc/headers/' src/src.pro || die
-}
-
-src_configure() {
- eqmake5
-}
-
-src_compile() {
- default
-}
-
-src_install () {
- emake INSTALL_ROOT="${D}" install
- einstalldocs
- doman doc/man/*/*
-
- if use examples; then
- # don't build examples - fix the qt files to build once installed
- cat > examples/examples.pri <<-EOF || die
- include( qwtconfig.pri )
- TEMPLATE = app
- MOC_DIR = moc
- INCLUDEPATH += "${EPREFIX}/usr/include/qwt5"
- DEPENDPATH += "${EPREFIX}/usr/include/qwt5"
- LIBS += -lqwt
- EOF
- sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die
- cp *.pri examples/ || die
- insinto /usr/share/${PN}5
- doins -r examples
- fi
-
- # avoid file conflict with qwt:6
- # https://github.com/gbm19/qwt5-qt5/issues/2
- pushd "${ED}/usr/share/man/man3/" || die
- for f in *; do
- mv ${f} ${f//.3/.5qt5.3} || die
- done
- popd || die
-}
diff --git a/x11-libs/qwt/qwt-6.2.0-r1.ebuild b/x11-libs/qwt/qwt-6.2.0-r1.ebuild
deleted file mode 100644
index b521e25db7b9..000000000000
--- a/x11-libs/qwt/qwt-6.2.0-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DOCS_BUILDER="doxygen"
-DOCS_DIR="doc"
-DOCS_CONFIG_NAME="Doxyfile"
-DOCS_DEPEND="media-gfx/graphviz"
-
-inherit qmake-utils docs
-
-DESCRIPTION="2D plotting library for Qt5"
-HOMEPAGE="https://qwt.sourceforge.io/"
-SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.bz2"
-
-LICENSE="qwt"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-SLOT="6/2.0"
-IUSE="designer doc examples opengl svg"
-
-DEPEND="
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtprintsupport:5
- dev-qt/qtwidgets:5
- designer? ( dev-qt/designer:5 )
- opengl? (
- dev-qt/qtopengl:5
- virtual/opengl
- )
- svg? ( dev-qt/qtsvg:5 )
-"
-RDEPEND="${DEPEND}"
-
-# tests require package to be already installed
-RESTRICT="test"
-
-DOCS=( CHANGES-6.2 README )
-
-src_prepare() {
- default
-
- cat > qwtconfig.pri <<-EOF || die
- QWT_INSTALL_LIBS = "${EPREFIX}/usr/$(get_libdir)"
- QWT_INSTALL_HEADERS = "${EPREFIX}/usr/include/qwt6"
- QWT_INSTALL_DOCS = "${EPREFIX}/usr/share/doc/${PF}"
- QWT_CONFIG += QwtPlot QwtWidgets QwtPkgConfig
- VER_MAJ = $(ver_cut 1)
- VER_MIN = $(ver_cut 2)
- VER_PAT = $(ver_cut 3)
- VERSION = ${PV/_*}
- QWT_VER_MAJ = $(ver_cut 1)
- QWT_VER_MIN = $(ver_cut 2)
- QWT_VER_PAT = $(ver_cut 3)
- QWT_VERSION = ${PV/_*}
- EOF
-
- use designer && echo "QWT_CONFIG += QwtDesigner" >> qwtconfig.pri
- use opengl && echo "QWT_CONFIG += QwtOpenGL" >> qwtconfig.pri
- use svg && echo "QWT_CONFIG += QwtSvg" >> qwtconfig.pri
-
- cat > qwtbuild.pri <<-EOF || die
- QWT_CONFIG += qt warn_on thread release no_keywords
- DEFINES += QWT_MOC_INCLUDE=1
- EOF
-
- echo "QWT_CONFIG += QwtDll" >> qwtconfig.pri
-
- cat >> qwtconfig.pri <<-EOF || die
- QWT_INSTALL_PLUGINS = "${EPREFIX}$(qt5_get_plugindir)/designer"
- QWT_INSTALL_FEATURES = "${EPREFIX}$(qt5_get_mkspecsdir)/features"
- EOF
- sed \
- -e 's/target doc/target/' \
- -e "/^TARGET/s:(qwt):(qwt6-qt5):g" \
- -e "/^TARGET/s:qwt):qwt6-qt5):g" \
- -e "s:QWT_SONAME=libqwt.so:QWT_SONAME=libqwt6-qt5.so:g" \
- -i src/src.pro || die
-
- sed \
- -e '/qwtAddLibrary/s:(qwt):(qwt6-qt5):g' \
- -e '/qwtAddLibrary/s:qwt):qwt6-qt5):g' \
- -i qwt.prf designer/designer.pro examples/examples.pri || die
-}
-
-src_configure() {
- eqmake5
-}
-
-src_compile() {
- default
- # need doxyfilter.sh in PATH
- PATH="${PATH}:${S}/doc/" docs_compile
-}
-
-src_test() {
- cd tests || die
- eqmake5 tests.pro
- emake
-}
-
-src_install() {
- emake INSTALL_ROOT="${D}" install
- einstalldocs
-
- mkdir -p "${ED}"/usr/share/man/ || die
- mv "${ED}"/usr/share/doc/${PF}/man/man3 "${ED}"/usr/share/man/ && \
- rmdir "${ED}"/usr/share/doc/${PF}/man || die
-
- if use examples; then
- # don't build examples - fix the qt files to build once installed
- cat > examples/examples.pri <<-EOF || die
- include( qwtconfig.pri )
- TEMPLATE = app
- MOC_DIR = moc
- INCLUDEPATH += "${EPREFIX}/usr/include/qwt6"
- DEPENDPATH += "${EPREFIX}/usr/include/qwt6"
- LIBS += -lqwt6
- EOF
- sed -i -e 's:../qwtconfig:qwtconfig:' examples/examples.pro || die
- cp *.pri examples/ || die
- insinto /usr/share/${PN}6
- doins -r examples
- fi
-}