diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-30 08:00:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-30 08:00:51 +0100 |
commit | d5ee59790ee8298b8599b0aa0fa21a98b972a44d (patch) | |
tree | 2cc4393cdcfae28879cee110e5975f6e6b798f91 /media-gfx/mandelbulber | |
parent | d855918b46ba8714cf1320fe63b55fd0ed1748a6 (diff) |
gentoo auto-resync : 30:06:2024 - 08:00:50
Diffstat (limited to 'media-gfx/mandelbulber')
-rw-r--r-- | media-gfx/mandelbulber/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/mandelbulber/mandelbulber-2.31.ebuild | 83 |
2 files changed, 85 insertions, 0 deletions
diff --git a/media-gfx/mandelbulber/Manifest b/media-gfx/mandelbulber/Manifest index 5ce2d5caa8d4..7e5d628298b3 100644 --- a/media-gfx/mandelbulber/Manifest +++ b/media-gfx/mandelbulber/Manifest @@ -1,3 +1,5 @@ DIST mandelbulber2-2.28.tar.gz 122800825 BLAKE2B a1bc8b3b743687003aeccaea7763b8100736b03dcd5044e43193f07bb519a7e78075c63cd0466373e8240a317fc2bbb6481bc07b51b137241cbb477e679093c3 SHA512 9bb2ecdcc2a2976efb6af930d49f067462713c6fd48f54631477102f3153479df6336b43b160c98c4e01f00d48188b314ccc86a84055a05cac5eb009db4e52e2 +DIST mandelbulber2-2.31.tar.gz 133379945 BLAKE2B c7b4cfa151f3bf0161b5871d0b22cd05567edc5a7145d64f38c4059b1f4b6f19f1ac3285d7a60cfb2979cd98f10041b7c7dd9100dab9ec93258e567034a03d63 SHA512 cf70c73f80c89731da6711af6ad6e1be33d43d7b014e16a6516eabf22d39b49469ee3e7b4ecc5e5adad3a1b26c8c1892c1a82d5891fe2b71fe524cdd1c3460c7 EBUILD mandelbulber-2.28-r1.ebuild 1839 BLAKE2B 5798e1c9fe1aa064c43b2100113c880cea5825e420e18148e55649855c3a452377f6cd25b9ae0cf67d36f6595802e24e92ef475deb12e22f55a364299a0e08a5 SHA512 9eedabd79d50453d5e434caa343f04cca54aca03974cc4034afe6f2492a5905f3a60b363b3cbb0192069ca5ca9afb070a08de6343159758af5ea8fdee1ea81d5 +EBUILD mandelbulber-2.31.ebuild 1863 BLAKE2B d1a7927405460bc941413465390474c67bee261471153213f608f3ccff52428c9e02e18100964c9179086438445301cd246c0cd883fb4bc80c65efac55a923f8 SHA512 083d021b54ad6ace70beb157a9d111c64f0990de0f2235881a0f9216ba7c7be0ae5fe88e06bf8cff3f5550c77cbe6c6c4c7efd60cd34048e9cfb440da601f992 MISC metadata.xml 672 BLAKE2B 8b7d423df1cd3f405b43bbeea9f6de9438951cf55b2020016b3174376e5498f2bc903295afde6626bf342b77050210eec78db8672cf2555f344f12248f1e58be SHA512 4005cd3324e642b6ea382e992949c1a3f459cef6f6094eb896e58fbc5651cd1d88c6575ef76896673bd0589e46285d3df9858a110f9b4b4c867c797a329dee77 diff --git a/media-gfx/mandelbulber/mandelbulber-2.31.ebuild b/media-gfx/mandelbulber/mandelbulber-2.31.ebuild new file mode 100644 index 000000000000..6f8b833cce36 --- /dev/null +++ b/media-gfx/mandelbulber/mandelbulber-2.31.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}2-${PV}" +inherit desktop qmake-utils toolchain-funcs xdg + +DESCRIPTION="Tool to render 3D fractals" +HOMEPAGE="https://www.mandelbulber.com" +SRC_URI="https://github.com/buddhi1980/${PN}2/releases/download/${PV}/${MY_P}.tar.gz https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="CC-BY-4.0 GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="joystick opencl openexr sndfile tiff" + +RDEPEND=" + dev-libs/lzo + dev-qt/qtcore:5 + dev-qt/qtconcurrent:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + media-libs/libpng:= + sci-libs/gsl:= + joystick? ( dev-qt/qtgamepad:5 ) + opencl? ( + dev-cpp/clhpp + virtual/opencl + ) + openexr? ( + dev-libs/imath:= + media-libs/openexr:= + ) + sndfile? ( media-libs/libsndfile ) + tiff? ( media-libs/tiff:= ) +" +DEPEND="${RDEPEND} + dev-qt/designer:5 +" +BDEPEND="virtual/pkgconfig" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp +} + +src_prepare() { + default + + use joystick || sed -i -e "s/qtHaveModule(gamepad)/false/" makefiles/common.pri || die + use openexr || sed -i -e "s/packagesExist(OpenEXR)/false/" makefiles/common.pri || die + use sndfile || sed -i -e "s/packagesExist(sndfile)/false/" makefiles/common.pri || die + use tiff || sed -i -e "s/packagesExist(libtiff-4)/false/" makefiles/common.pri || die +} + +src_configure() { + if use opencl; then + eqmake5 makefiles/${PN}-opencl.pro + else + eqmake5 makefiles/${PN}.pro + fi +} + +src_install() { + dobin ${PN}2 + + dodoc README NEWS usr/share/doc/${PN}2/Mandelbulber_Manual.pdf + + insinto /usr/share/${PN}2 + doins -r usr/share/${PN}2/* + + domenu ${PN}2.desktop + + newicon -s 256 qt/icons/${PN}.png ${PN}2.png +} |