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 4790E15814C for ; Mon, 13 Nov 2023 07:34:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CADB2BC01E; Mon, 13 Nov 2023 07:34:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 221782BC01E for ; Mon, 13 Nov 2023 07:34:51 +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 19B03335D8A for ; Mon, 13 Nov 2023 07:34:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73BD6136E for ; Mon, 13 Nov 2023 07:34:48 +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: <1699860745.89c0c30fcc889083a5f8d87e43b0362a2fb3e474.sam@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-r6.ebuild X-VCS-Directories: media-gfx/enblend/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 89c0c30fcc889083a5f8d87e43b0362a2fb3e474 X-VCS-Branch: master Date: Mon, 13 Nov 2023 07:34:48 +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: 108bb6de-7015-46be-8a88-7d2299355168 X-Archives-Hash: 610f4ae9be2d9f03ee5eb1a236fccd0d commit: 89c0c30fcc889083a5f8d87e43b0362a2fb3e474 Author: Sam James gentoo org> AuthorDate: Mon Nov 13 07:32:25 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Nov 13 07:32:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c0c30f media-gfx/enblend: migrate to fig2dev Closes: https://bugs.gentoo.org/917251 Signed-off-by: Sam James gentoo.org> .../enblend/enblend-4.2.0_p20161007-r6.ebuild | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/media-gfx/enblend/enblend-4.2.0_p20161007-r6.ebuild b/media-gfx/enblend/enblend-4.2.0_p20161007-r6.ebuild new file mode 100644 index 000000000000..6212ba098cc1 --- /dev/null +++ b/media-gfx/enblend/enblend-4.2.0_p20161007-r6.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2023 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? ( + app-text/ghostscript-gpl + app-text/texlive + dev-lang/perl + dev-perl/Readonly + dev-tex/hevea + gnome-base/librsvg + media-gfx/graphviz + >=media-gfx/fig2dev-3.2.9-r1 + sci-visualization/gnuplot[cairo,gd] + virtual/imagemagick-tools[tiff] + ) +" +RDEPEND=" + media-libs/lcms:2 + media-libs/tiff:= + media-libs/vigra[openexr] + sci-libs/gsl:= + debug? ( dev-libs/dmalloc[threads] ) + 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 + "${FILESDIR}"/${P}-doc-scaleable-fonts.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 + mycmakeargs+=( + -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 +}