diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-12-07 19:35:39 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-12-07 23:40:01 +0100 |
commit | 5461d93b3d28cba121b6b3a618b73ab416ba89bb (patch) | |
tree | a39c18697365f83a99cfe5fae2de9ed37df7409d /x11-libs/qwt | |
parent | x11-libs/qwtplot3d: add new snapshot (diff) | |
download | gentoo-5461d93b3d28cba121b6b3a618b73ab416ba89bb.tar.gz gentoo-5461d93b3d28cba121b6b3a618b73ab416ba89bb.tar.bz2 gentoo-5461d93b3d28cba121b6b3a618b73ab416ba89bb.zip |
x11-libs/qwt: add mew snapshot for slot 5
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'x11-libs/qwt')
-rw-r--r-- | x11-libs/qwt/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/qwt/qwt-5.2.3_p20210828.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/x11-libs/qwt/Manifest b/x11-libs/qwt/Manifest index 4bd6322fbbee..dab884758c08 100644 --- a/x11-libs/qwt/Manifest +++ b/x11-libs/qwt/Manifest @@ -1,2 +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 diff --git a/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild b/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild new file mode 100644 index 000000000000..638c58e8eea8 --- /dev/null +++ b/x11-libs/qwt/qwt-5.2.3_p20210828.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 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" + +inherit docs cmake + +COMMIT="f7519200f102676fb04fb7bd0be555e0a419d378" + +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" +S="${WORKDIR}/${PN}5-qt5-${COMMIT}" + +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}" + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(usex examples) + -DQWT_DESIGNER=$(usex designer) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + docs_compile +} + +src_install() { + cmake_src_install + + # 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 +} |