Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 839129 Details for
Bug 883595
sci-visualization/zhu3d-4.2.6-r1: several more options in zhu3d.pro file (sse3, debug)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for zhu3d-4.2.6-r2.ebuild
0001-sci-visualization-zhu3d-use-flags-for-sse3-and-debug.patch (text/plain), 2.68 KB, created by
Nikita Zlobin
on 2022-12-02 21:11:32 UTC
(
hide
)
Description:
Patch for zhu3d-4.2.6-r2.ebuild
Filename:
MIME Type:
Creator:
Nikita Zlobin
Created:
2022-12-02 21:11:32 UTC
Size:
2.68 KB
patch
obsolete
>From 9a25f7f65e499f611841f06475d59fe984eea662 Mon Sep 17 00:00:00 2001 >From: Nikita Zlobin <nick87720z@gmail.com> >Date: Sat, 3 Dec 2022 02:02:54 +0500 >Subject: [PATCH] sci-visualization/zhu3d: use flags for sse3 and debug support > >--- > sci-visualization/zhu3d/zhu3d-4.2.6-r2.ebuild | 88 +++++++++++++++++++ > 1 file changed, 88 insertions(+) > create mode 100644 sci-visualization/zhu3d/zhu3d-4.2.6-r2.ebuild > >diff --git a/sci-visualization/zhu3d/zhu3d-4.2.6-r2.ebuild b/sci-visualization/zhu3d/zhu3d-4.2.6-r2.ebuild >new file mode 100644 >index 000000000..8c414e60c >--- /dev/null >+++ b/sci-visualization/zhu3d/zhu3d-4.2.6-r2.ebuild >@@ -0,0 +1,88 @@ >+# Copyright 1999-2020 Gentoo Authors >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=7 >+ >+inherit desktop qmake-utils >+ >+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" >+ >+LANGS=(cs de es fr zh) >+IUSE="cpu_flags_x86_sse3 debug ${LANGS[@]/#/l10n_}" >+ >+DEPEND=" >+ dev-qt/qtcore:5 >+ dev-qt/qtgui:5 >+ dev-qt/qtopengl:5 >+ dev-qt/qtprintsupport:5 >+ dev-qt/qtwidgets:5 >+ virtual/glu >+ virtual/opengl >+" >+RDEPEND="${DEPEND}" >+ >+PATCHES=( "${FILESDIR}"/${P}-qt5.patch ) >+ >+src_prepare() { >+ default >+ >+ 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 ${PN}.pro || die "optimisation sed failed" >+ >+ use cpu_flags_x86_sse3 && sed \ >+ -e "/USE_SSE3 =/s:&:USE_SSE3 = yes:" \ >+ -i ${PN}.pro || "sse3 sed failed" >+ >+ use debug && sed \ >+ -e "/ ZHUDEBUG =/s:&:ZHUDEBUG = yes:" \ >+ -i ${PN}.pro || "debug sed failed" >+ >+ eqmake5 zhu3d.pro >+} >+ >+src_install() { >+ # not working: emake install INSTALL_ROOT="${D}" >+ dobin zhu3d >+ >+ dodoc readme.txt src/changelog.txt >+ >+ docinto html >+ dodoc doc/*.png doc/${PN}_en.html >+ >+ local lang >+ insinto /usr/share/${PN}/system/languages >+ for lang in "${LANGS[@]}" ; do >+ if use l10n_${lang} ; then >+ doins system/languages/${PN}_${lang}.qm >+ [[ -e doc/${PN}_${lang}.html ]] && dodoc doc/${PN}_${lang}.html >+ 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" >+} >-- >2.37.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 883595
:
838075
| 839129