diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/Manifest.gz | bin | 37992 -> 38004 bytes | |||
-rw-r--r-- | media-gfx/enblend/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/enblend/enblend-4.2.0_p20161007-r6.ebuild | 89 |
3 files changed, 90 insertions, 0 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex 77549e331079..19d89a9ac037 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/enblend/Manifest b/media-gfx/enblend/Manifest index ae2b8d886334..fd43f11eeac2 100644 --- a/media-gfx/enblend/Manifest +++ b/media-gfx/enblend/Manifest @@ -4,4 +4,5 @@ AUX enblend-4.2.0_p20161007-doc-scaleable-fonts.patch 650 BLAKE2B 633ae86947cfcb AUX enblend-4.2.0_p20161007-gcc-10.patch 312 BLAKE2B bbc8521bb1c2b9f3f67dedffdbcab952628fc252d2ed81c37e469f06596f2cb9ab5907c7fc97de1dbfe408e29312c55d08b189b8e6f46215540e64354fbfd60a SHA512 9ed03b22237e1bf297db0daca2b5dd6aa7ad5cd9bf333e507160b7bbf24eb37be173c79314ce1cff7a7df10ba262266ca54f52c8ec6d85a7a411b78bef76d91e DIST enblend-4.2.0_p20161007.tar.xz 494060 BLAKE2B 8842dd70a1400a27170794246cb5c89d60b6798373e3a9d63e88738ad569e1174cb4303ccb5a2bc79846651e982e05f8cb9ac3e09b83ee33958b6ccf043ebda9 SHA512 ede037f19a7c3b358f533ecfb235f70824261eaf189d0bdcde6f9cedaa5952be2a6940884e688418b725cb3a67fc1b7d366483a76b7c62326ca857b8efe3a3f3 EBUILD enblend-4.2.0_p20161007-r5.ebuild 1886 BLAKE2B eacb5b3448d6d4ed63452f5162460d938a4ee7d7828cd804ac8f0f2f9cb1c7d6c79e91fe57c380a4cba458f238566a7486de53a69a3fcbd8337df74d44c010b9 SHA512 1de20ffd1f39ba34c4d91881f6eb7cd1c3e02fee9ed8a1bc37aec27cd7692723a30866b2c6cb72a56eb1811270f28d0468124cf94510c0a960c9ca1701134dd1 +EBUILD enblend-4.2.0_p20161007-r6.ebuild 1899 BLAKE2B 76a846c451a42fdaff1038637c3349104342bc370bd5fd5bc6a41640cfa42416828cc9285da2d6576897d8c487f5336106522c81c7177bc75250117af0a46458 SHA512 0815257df2da20f24ef79446fa732e5c0f3517b5c1c6f1cc0e085b9584fffbc8e3183d37198994ee619b7c7fdc5a71e815fe2032e68c5e2b8406e9fcbcc672eb MISC metadata.xml 438 BLAKE2B 6e1f7ffb0f56a8e668608a97c02e045546c76b90c18777a77c031a94f23ce59abd2df8b6688973b509872e9cca867d16d6b0c201e06f4e8026dcde7c1eb1632f SHA512 86a9f0ca54ad8c9f1409957d4bdbe7aec7b1992e4272ab5e9e3734442e4ca7fc599bafc0e1e55d30ef0220dbaaa3d4f38e7fc8e4dbe4972fb392c4b2a86e6181 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 +} |