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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E9BCF158020 for ; Wed, 16 Nov 2022 18:56:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EDABE0825; Wed, 16 Nov 2022 18:56:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 28030E0825 for ; Wed, 16 Nov 2022 18:56:22 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C7D9340D8A for ; Wed, 16 Nov 2022 18:56:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCCFA523 for ; Wed, 16 Nov 2022 18:56:19 +0000 (UTC) From: "John Helmert III" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John Helmert III" Message-ID: <1668624967.ef829652925fbe6e01dafe871e78e5a2637e18a0.ajak@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/enblend/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild X-VCS-Directories: media-gfx/enblend/ X-VCS-Committer: ajak X-VCS-Committer-Name: John Helmert III X-VCS-Revision: ef829652925fbe6e01dafe871e78e5a2637e18a0 X-VCS-Branch: master Date: Wed, 16 Nov 2022 18:56:19 +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: e7f51054-6061-4d79-8f3f-07e043c9f05f X-Archives-Hash: f8ad96f3ad40a066ae62d393e6ccdfe7 commit: ef829652925fbe6e01dafe871e78e5a2637e18a0 Author: Bernd Waibel posteo net> AuthorDate: Tue Nov 15 17:26:24 2022 +0000 Commit: John Helmert III gentoo org> CommitDate: Wed Nov 16 18:56:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef829652 media-gfx/enblend: disable OpenEXR support Package doesn't recognize OpenEXR-3. Restricting the dependency to =media-libs/openexr-3. Bug: https://bugs.gentoo.org/878149 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/28289 Signed-off-by: John Helmert III gentoo.org> .../enblend/enblend-4.2.0_p20161007-r2.ebuild | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild b/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild new file mode 100644 index 000000000000..e9138b6c09a2 --- /dev/null +++ b/media-gfx/enblend/enblend-4.2.0_p20161007-r2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Image Blending with Multiresolution Splines" +HOMEPAGE="http://enblend.sourceforge.net/" +SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz" + +LICENSE="GPL-2+ FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="cpu_flags_x86_sse2 debug doc openmp tcmalloc" + +REQUIRED_USE="tcmalloc? ( !debug )" + +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig + doc? ( + dev-lang/perl + dev-perl/Readonly + dev-tex/hevea + gnome-base/librsvg + media-gfx/graphviz + media-gfx/transfig + sci-visualization/gnuplot[gd] + virtual/imagemagick-tools + virtual/latex-base + ) +" +RDEPEND=" + media-libs/lcms:2 + media-libs/tiff:0 + media-libs/vigra[openexr] + sci-libs/gsl:= + debug? ( dev-libs/dmalloc ) + tcmalloc? ( dev-util/google-perftools ) +" +DEPEND="${RDEPEND} + dev-libs/boost + media-libs/libpng:0 + media-libs/libjpeg-turbo:= +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.2-doc-install-dir-fix.patch + "${FILESDIR}"/${P}-cmake.patch + "${FILESDIR}"/${P}-gcc-10.patch +) + +src_prepare() { + cmake_src_prepare + + sed -i -e "s:share/doc/enblend:share/doc/${PF}:" doc/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DENABLE_SSE2=$(usex cpu_flags_x86_sse2) + -DENABLE_DMALLOC=$(usex debug) + -DDOC=$(usex doc) + -DENABLE_OPENMP=$(usex openmp) + -DENABLE_TCMALLOC=$(usex tcmalloc) + ) + if use doc; then + -DINSTALL_HTML_DOC=ON + -DINSTALL_PDF_DOC=ON + fi + + cmake_src_configure +} + +src_compile() { + # To allow icon resizing with renderers (no way to disable) + addpredict /dev/dri + + # To compile fonts in the temp directory + export VARTEXFONTS="${T}/fonts" + + # forcing -j1 as every parallel compilation process needs about 1 GB RAM. + cmake_src_compile -j1 +}