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 A5DFD158041 for ; Wed, 13 Mar 2024 12:56:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B868AE29BE; Wed, 13 Mar 2024 12:56:11 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9669AE29BE for ; Wed, 13 Mar 2024 12:56:11 +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 70212335C36 for ; Wed, 13 Mar 2024 12:56:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B23FFC2 for ; Wed, 13 Mar 2024 12:56:09 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1710334558.fac86035834523933c402c919867d45306e480d5.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vips/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/vips/Manifest media-libs/vips/vips-8.15.2.ebuild X-VCS-Directories: media-libs/vips/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: fac86035834523933c402c919867d45306e480d5 X-VCS-Branch: master Date: Wed, 13 Mar 2024 12:56:09 +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: 69ad2a4d-68f0-4a69-a42b-74c6d818663a X-Archives-Hash: b7969a89ada5ce2cb8c099288447161e commit: fac86035834523933c402c919867d45306e480d5 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Mar 13 12:50:33 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Mar 13 12:55:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac86035 media-libs/vips: add 8.15.2 Upstream did a last minute ChangeLog correction by doing v8.15.2a but the tarball, source dir name, and official release version is still 8.15.2. For convenience keep it as 8.15.2 but add the "a" only to the URI. Signed-off-by: Ionen Wolkens gentoo.org> media-libs/vips/Manifest | 1 + media-libs/vips/vips-8.15.2.ebuild | 169 +++++++++++++++++++++++++++++++++++++ 2 files changed, 170 insertions(+) diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest index 667bf5f7d8c9..bd28d3845ea2 100644 --- a/media-libs/vips/Manifest +++ b/media-libs/vips/Manifest @@ -1 +1,2 @@ DIST vips-8.15.1.tar.xz 18648116 BLAKE2B 734f9d6bba794cf01ef38de0f0ed25fe93d2924579bbe966de94739ff1c7309815924e8926a86f90d9138daeeb6fba255be4be41496c1725e44cb52f22873628 SHA512 41f81c3bcb49e570c548d47494b0b705c5dbf870e16d67a85098a00c3f198a6f04e43899d97f92efe9bfdd5cedde79f51cc112c6953574748e1905d91d083dfa +DIST vips-8.15.2.tar.xz 18653840 BLAKE2B fa46d58d77ec835cbb7036764bcc40554a72c2d6a854adee31905d04cb189de131340f990b432293935bc8563236816d14fa45c08ba858de6b1be5ee3ea148ec SHA512 f746e4590f0105cb40dbb4ee35fe4b177acbf09d7fc4202f623812018030b9cfdfcbe585742724b35f40ef9b68717ebd015243f3db293086621d9eac3d89a5b2 diff --git a/media-libs/vips/vips-8.15.2.ebuild b/media-libs/vips/vips-8.15.2.ebuild new file mode 100644 index 000000000000..1334fa469c63 --- /dev/null +++ b/media-libs/vips/vips-8.15.2.ebuild @@ -0,0 +1,169 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit flag-o-matic meson python-single-r1 toolchain-funcs vala + +MY_PV=${PV}a # cleanup next bump + +DESCRIPTION="VIPS Image Processing Library" +HOMEPAGE="https://libvips.github.io/libvips/" +SRC_URI="https://github.com/libvips/libvips/releases/download/v${MY_PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1+ MIT" +SLOT="0/42" # soname +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE=" + archive deprecated doc exif fftw fits fontconfig graphicsmagick + gtk-doc heif +highway imagemagick imagequant +introspection +jpeg + jpeg2k jpegxl lcms matio openexr orc pango pdf +png python svg + test tiff vala webp +" +REQUIRED_USE=" + fontconfig? ( pango ) + graphicsmagick? ( imagemagick ) + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( jpeg png webp ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/expat + virtual/libintl + archive? ( app-arch/libarchive:= ) + exif? ( media-libs/libexif ) + fftw? ( sci-libs/fftw:3.0= ) + fits? ( sci-libs/cfitsio:= ) + fontconfig? ( media-libs/fontconfig ) + heif? ( media-libs/libheif:= ) + highway? ( >=dev-cpp/highway-1.0.5 ) + !highway? ( + orc? ( dev-lang/orc ) + ) + imagemagick? ( + graphicsmagick? ( media-gfx/graphicsmagick:= ) + !graphicsmagick? ( media-gfx/imagemagick:= ) + ) + imagequant? ( media-gfx/libimagequant ) + introspection? ( dev-libs/gobject-introspection ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:= ) + jpegxl? ( media-libs/libjxl:= ) + lcms? ( media-libs/lcms:2 ) + matio? ( sci-libs/matio:= ) + openexr? ( media-libs/openexr:= ) + pango? ( + x11-libs/cairo + x11-libs/pango + ) + pdf? ( + app-text/poppler[cairo] + x11-libs/cairo + ) + png? ( media-libs/libpng:= ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') + ) + svg? ( + gnome-base/librsvg:2 + sys-libs/zlib:= + x11-libs/cairo + ) + tiff? ( media-libs/tiff:= ) + webp? ( media-libs/libwebp:= ) +" +DEPEND=" + ${RDEPEND} + pango? ( x11-base/xorg-proto ) + pdf? ( x11-base/xorg-proto ) + svg? ( x11-base/xorg-proto ) + test? ( + tiff? ( media-libs/tiff[jpeg] ) + ) +" +BDEPEND=" + dev-util/glib-utils + sys-devel/gettext + doc? ( + app-text/doxygen + media-gfx/graphviz + ) + gtk-doc? ( dev-util/gtk-doc ) + python? ( ${PYTHON_DEPS} ) + vala? ( $(vala_depend) ) +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + use vala && vala_setup + + sed -i "s/'vips-doc'/'${PF}'/" cplusplus/meson.build || die + + sed -i "/subdir('fuzz')/d" meson.build || die +} + +src_configure() { + # workaround for bug in lld (bug #921728) + tc-ld-is-lld && filter-lto + + local emesonargs=( + $(meson_use deprecated) + $(meson_use doc doxygen) + -Dexamples=false + $(meson_use gtk-doc gtk_doc) + $(meson_use vala vapi) + -Dcgif=disabled # not packaged, and not used to view gif (only saving) + $(meson_feature archive) + $(meson_feature exif) + $(meson_feature fftw) + $(meson_feature fits cfitsio) + $(meson_feature fontconfig) + $(meson_feature heif) + $(meson_feature highway) + $(meson_feature imagemagick magick) + -Dmagick-package=$(usex graphicsmagick GraphicsMagick MagickCore) + $(meson_feature imagequant) + $(meson_feature introspection) + $(meson_feature jpeg) + $(meson_feature jpeg2k openjpeg) + $(meson_feature jpegxl jpeg-xl) + $(meson_feature lcms) + $(meson_feature matio) + -Dnifti=disabled # not packaged + $(meson_feature openexr) + -Dopenslide=disabled # not packaged + $(meson_feature orc) # no-op if USE=highway is set + $(meson_feature pango pangocairo) + -Dpdfium=disabled # not packaged, can use poppler instead + $(meson_feature png) + $(meson_feature pdf poppler) + -Dquantizr=disabled # not packaged, can use imagequant instead + -Dspng=disabled # not packaged, can use libpng instead + $(meson_feature svg rsvg) + $(meson_feature tiff) + $(meson_feature webp) + $(meson_feature svg zlib) # zlib is currently only used by svgload.c + ) + + meson_src_configure +} + +src_install() { + meson_src_install + + if use python; then + python_fix_shebang "${ED}"/usr/bin/vipsprofile + else + rm -- "${ED}"/usr/{bin/vipsprofile,share/man/man1/vipsprofile.1} || die + fi +}