From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC9D8158086 for ; Wed, 6 Oct 2021 03:34:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA69DE090E; Wed, 6 Oct 2021 03:34:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D0FEE0917 for ; Wed, 6 Oct 2021 03:34:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DA6C343293 for ; Wed, 6 Oct 2021 03:34:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05001114 for ; Wed, 6 Oct 2021 03:34:36 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1633491146.60495b58afdd5336195a0edd74812ba0c3360fcd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/mandelbulber/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/mandelbulber/Manifest media-gfx/mandelbulber/mandelbulber-2.26.ebuild X-VCS-Directories: media-gfx/mandelbulber/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 60495b58afdd5336195a0edd74812ba0c3360fcd X-VCS-Branch: master Date: Wed, 6 Oct 2021 03:34:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 43302fb3-14bc-4475-bbd2-a2f017eb6b66 X-Archives-Hash: 4a4cdec43bed6e781426cfbceb280270 commit: 60495b58afdd5336195a0edd74812ba0c3360fcd Author: Alexander Miller gmx de> AuthorDate: Mon Oct 4 17:47:09 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 6 03:32:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60495b58 media-gfx/mandelbulber: Bump to version 2.26 * EAPI=8, * IUSE+=joystick (needs dev-qt/qtgamepad), * add missing dependency on opencl? (dev-libs/clhpp ), * add github SRC_URI. Some changes taken from the patch by Samuel Bauer in bug #722890. Closes: https://bugs.gentoo.org/688410 Closes: https://bugs.gentoo.org/722890 Signed-off-by: Alexander Miller gmx.de> Signed-off-by: Sam James gentoo.org> media-gfx/mandelbulber/Manifest | 1 + media-gfx/mandelbulber/mandelbulber-2.26.ebuild | 86 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/media-gfx/mandelbulber/Manifest b/media-gfx/mandelbulber/Manifest index eca3ca3f3ad..5814dad8fe2 100644 --- a/media-gfx/mandelbulber/Manifest +++ b/media-gfx/mandelbulber/Manifest @@ -1 +1,2 @@ DIST mandelbulber2-2.12-1.tar.gz 47092910 BLAKE2B 1e5ca64a4819052882bc7cdc047c6d755046f2ceebcf7b26db41511fde219aa523a3c6884f0667aed1365104c4502a6e6b1b2d7d40a4a024fdb5051d5ac13cd2 SHA512 5dc8dcaa45bc8747024ed16379cc4d622535099c925abf3c2aa01c0338fe8c1f272e6113b6bf28da6a4bb087e6d6e6a4c6634feca993d2c89f12b79582ff271c +DIST mandelbulber2-2.26.tar.gz 113563064 BLAKE2B 6fd333a42f5e4b106b950079277ff1bb6cc2395382e12ea37424df137ed11cf5fb103185b325d9615bd890404fe596133644a5cdd3911140eabb2f8c0c1d0e14 SHA512 cc547cab6e2b672a35be5d3d214ad3b292eaf1b3b06daf12cecce0f69e612fcfb4123cd837fd87003eea3103086947639fd04cae4b0ed7cd231d78e5d775e299 diff --git a/media-gfx/mandelbulber/mandelbulber-2.26.ebuild b/media-gfx/mandelbulber/mandelbulber-2.26.ebuild new file mode 100644 index 00000000000..2a64d2e1740 --- /dev/null +++ b/media-gfx/mandelbulber/mandelbulber-2.26.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}2-${PV}" +inherit desktop qmake-utils xdg-utils + +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 mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="CC-BY-4.0 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="joystick opencl openexr sndfile tiff" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + dev-libs/lzo + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + media-libs/libpng:0= + sci-libs/gsl:= + joystick? ( dev-qt/qtgamepad:5 ) + opencl? ( + dev-libs/clhpp + virtual/opencl + ) + openexr? ( + media-libs/ilmbase:= + media-libs/openexr:= + ) + sndfile? ( media-libs/libsndfile ) + tiff? ( media-libs/tiff:0 ) +" +DEPEND="${RDEPEND} + dev-qt/designer:5 +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + use joystick || sed -i -e "s/qtHaveModule(gamepad)/false/" makefiles/common.pri || die + use openexr || sed -i -e "s/packagesExist(IlmBase)/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/* + + insinto /usr/share/applications + doins ${PN}2.desktop + + newicon -s 256 qt/icons/${PN}.png ${PN}2.png +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}