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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 840B115812D for ; Tue, 31 Dec 2024 18:02:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83DD1E07BA; Tue, 31 Dec 2024 18:02:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E5D2E07BA for ; Tue, 31 Dec 2024 18:02:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABBA0335DCD for ; Tue, 31 Dec 2024 18:02:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E197997F for ; Tue, 31 Dec 2024 18:02:03 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1735668115.489b882d9a126fa1824bf33c954ebf49d1d70c3b.asturm@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.32.ebuild X-VCS-Directories: media-gfx/mandelbulber/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 489b882d9a126fa1824bf33c954ebf49d1d70c3b X-VCS-Branch: master Date: Tue, 31 Dec 2024 18:02:03 +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: 9507353f-cde0-4dd7-a242-94d3d88286e5 X-Archives-Hash: 6a56f395d8035e471d20015d6317b56a commit: 489b882d9a126fa1824bf33c954ebf49d1d70c3b Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 31 12:12:06 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Dec 31 18:01:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489b882d media-gfx/mandelbulber: add 2.32, ported to Qt6 Closes: https://bugs.gentoo.org/939312 Signed-off-by: Andreas Sturmlechner gentoo.org> media-gfx/mandelbulber/Manifest | 1 + media-gfx/mandelbulber/mandelbulber-2.32.ebuild | 80 +++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/media-gfx/mandelbulber/Manifest b/media-gfx/mandelbulber/Manifest index d77eac8d43a9..5c5496325a16 100644 --- a/media-gfx/mandelbulber/Manifest +++ b/media-gfx/mandelbulber/Manifest @@ -1 +1,2 @@ DIST mandelbulber2-2.31.tar.gz 133379945 BLAKE2B c7b4cfa151f3bf0161b5871d0b22cd05567edc5a7145d64f38c4059b1f4b6f19f1ac3285d7a60cfb2979cd98f10041b7c7dd9100dab9ec93258e567034a03d63 SHA512 cf70c73f80c89731da6711af6ad6e1be33d43d7b014e16a6516eabf22d39b49469ee3e7b4ecc5e5adad3a1b26c8c1892c1a82d5891fe2b71fe524cdd1c3460c7 +DIST mandelbulber2-2.32.tar.gz 134765742 BLAKE2B a43ab2e445a65901190c42d6afb947e94d322ddb41f179a9a4763feee8ae5b8e510c2ab6f842b7f17b5b800184a73088b2a3ee4b8d359ffa5e15159eb7f957ad SHA512 f42cebd4939a7d1216c1c09f669bf3bf244e249a8428c02919a735959a5dd91c8614313d21b25cb6f26acd5f7d711287e3c10239c143f542887706f4f970fff4 diff --git a/media-gfx/mandelbulber/mandelbulber-2.32.ebuild b/media-gfx/mandelbulber/mandelbulber-2.32.ebuild new file mode 100644 index 000000000000..328c2a2bef17 --- /dev/null +++ b/media-gfx/mandelbulber/mandelbulber-2.32.ebuild @@ -0,0 +1,80 @@ +# 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="opencl openexr sndfile tiff" + +# IUSE="joystick" +# joystick? ( dev-qt/qtgamepad:6 ) +RDEPEND=" + dev-libs/lzo + dev-qt/qtbase:6[concurrent,gui,network,widgets] + dev-qt/qtmultimedia:6[qml] + media-libs/libpng:= + sci-libs/gsl:= + 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/qttools:6[designer] +" +BDEPEND="virtual/pkgconfig" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp +} + +src_prepare() { + default + + sed -i -e "s/qtHaveModule(gamepad)/false/" makefiles/common.pri || die # TODO: dev-qt/qtgamepad:6 + 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 + eqmake6 makefiles/${PN}-opencl.pro + else + eqmake6 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 +}