diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-17 12:30:17 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-01-17 12:31:24 +0100 |
commit | 5f7c3451da05562ce6dd979e805148400bbe7961 (patch) | |
tree | de34aaccf690a00896cdb9ff922d1f1c130d591f /sci-visualization/zhu3d | |
parent | net-analyzer/iftop: Add upstream patch to fix IPv6 DNS resolution suggested b... (diff) | |
download | gentoo-5f7c3451da05562ce6dd979e805148400bbe7961.tar.gz gentoo-5f7c3451da05562ce6dd979e805148400bbe7961.tar.bz2 gentoo-5f7c3451da05562ce6dd979e805148400bbe7961.zip |
sci-visualization/zhu3d: Drop old
No need to keep this stable.
Closes: https://bugs.gentoo.org/643970
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'sci-visualization/zhu3d')
-rw-r--r-- | sci-visualization/zhu3d/files/zhu3d-4.2.4-gold.patch | 11 | ||||
-rw-r--r-- | sci-visualization/zhu3d/metadata.xml | 7 | ||||
-rw-r--r-- | sci-visualization/zhu3d/zhu3d-4.2.6.ebuild | 77 |
3 files changed, 0 insertions, 95 deletions
diff --git a/sci-visualization/zhu3d/files/zhu3d-4.2.4-gold.patch b/sci-visualization/zhu3d/files/zhu3d-4.2.4-gold.patch deleted file mode 100644 index 64a6ad42b3d4..000000000000 --- a/sci-visualization/zhu3d/files/zhu3d-4.2.4-gold.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- zhu3d.pro -+++ zhu3d.pro -@@ -48,7 +48,7 @@ - CONFIG += release
- TARGET = zhu3d
- QT += opengl
--
-+LIBS += -lGLU
-
- # ============================================================================
- # Optimisation switches. For both GCC/ICC compilers -O3 is default.
diff --git a/sci-visualization/zhu3d/metadata.xml b/sci-visualization/zhu3d/metadata.xml index e07884452afe..e112f3bfca7b 100644 --- a/sci-visualization/zhu3d/metadata.xml +++ b/sci-visualization/zhu3d/metadata.xml @@ -16,11 +16,4 @@ <upstream> <remote-id type="sourceforge">zhu3d</remote-id> </upstream> - <use> - <flag name="linguas_cs">Czech locale</flag> - <flag name="linguas_de">German locale</flag> - <flag name="linguas_es">Spanish locale</flag> - <flag name="linguas_fr">French locale</flag> - <flag name="linguas_zh">Chinese locale</flag> - </use> </pkgmetadata> diff --git a/sci-visualization/zhu3d/zhu3d-4.2.6.ebuild b/sci-visualization/zhu3d/zhu3d-4.2.6.ebuild deleted file mode 100644 index 3b66a050cc08..000000000000 --- a/sci-visualization/zhu3d/zhu3d-4.2.6.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -LANGS="cs de es fr zh" - -inherit eutils qt4-r2 - -DESCRIPTION="Interactive 3D mathematical function viewer" -HOMEPAGE="https://sourceforge.net/projects/zhu3d" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND=" - virtual/glu - virtual/opengl - dev-qt/qtcore:4 - dev-qt/qtgui:4 - dev-qt/qtopengl:4" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-4.2.4-gold.patch ) - -src_prepare() { - qt4-r2_src_prepare - - local datadir=/usr/share/${PN} - sed \ - -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \ - -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \ - -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \ - -e "s:^DOCDIR=:DOCDIR=/usr/share/doc/${PF}/html:" \ - -i ${PN}.pri || die "sed zhu3d.pri failed" - - sed \ - -e "/# Optimisation/,/# Include/d" \ - -i zhu3d.pro || die "optimisation sed failed" -} - -src_install() { - # not working: emake install INSTALL_ROOT="${D}" || die - dobin zhu3d - - dodoc {readme,src/changelog}.txt - dohtml doc/*.png doc/${PN}_en.html - - local lang - for lang in ${LANGS} ; do - if use linguas_${lang} ; then - - insinto /usr/share/${PN}/system/languages - doins system/languages/${PN}_${lang}.qm - - if [ -e doc/${PN}_${lang}.html ] ; then - dohtml doc/${PN}_${lang}.html - fi - fi - done - - insinto /usr/share/${PN} - doins -r work/textures - - insinto /usr/share/${PN}/work - doins -r work/*.zhu work/slideshow - - insinto /usr/share/${PN}/system - doins -r system/*.zhu system/icons - - doicon system/icons/${PN}.png - make_desktop_entry ${PN} "Zhu3D Function Viewer" \ - ${PN} "Education;Science;Math;Qt" -} |