diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /x11-libs/qwtplot3d/qwtplot3d-0.2.ebuild | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'x11-libs/qwtplot3d/qwtplot3d-0.2.ebuild')
-rw-r--r-- | x11-libs/qwtplot3d/qwtplot3d-0.2.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/x11-libs/qwtplot3d/qwtplot3d-0.2.ebuild b/x11-libs/qwtplot3d/qwtplot3d-0.2.ebuild new file mode 100644 index 000000000000..94347022ede3 --- /dev/null +++ b/x11-libs/qwtplot3d/qwtplot3d-0.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOCS_BUILDER="doxygen" +DOCS_DIR="doc" +DOCS_CONFIG_NAME="Doxyfile.doxygen" + +inherit docs qmake-utils + +DESCRIPTION="3D plotting library for Qt5" +HOMEPAGE="http://qwtplot3d.sourceforge.net/ https://github.com/SciDAVis/qwtplot3d/" +SRC_URI="https://github.com/SciDAVis/qwtplot3d/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="doc examples" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + x11-libs/gl2ps +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-examples.patch" + "${FILESDIR}/${PN}-doxygen.patch" + "${FILESDIR}/${PN}-gcc44.patch" + "${FILESDIR}/${PN}-qt-4.8.0.patch" + "${FILESDIR}/${PN}-sys-gl2ps.patch" +) + +src_prepare() { + default + cat >> ${PN}.pro <<-EOF || die + target.path = "${EPREFIX}/usr/$(get_libdir)" + headers.path = "${EPREFIX}/usr/include/${PN}" + headers.files = \$\$HEADERS + INSTALLS = target headers + EOF +} + +src_configure() { + eqmake5 +} + +src_compile() { + default + docs_compile +} + +src_install () { + emake INSTALL_ROOT="${D}" install + einstalldocs + if use examples; then + insinto /usr/share/${PN} + doins -r examples + fi +} |