public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vips/
Date: Sun, 24 Nov 2024 11:01:19 +0000 (UTC)	[thread overview]
Message-ID: <1732445607.cda772f1055c2976fc81f2d619ee07aa801e13d7.ionen@gentoo> (raw)

commit:     cda772f1055c2976fc81f2d619ee07aa801e13d7
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 09:59:58 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 10:53:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cda772f1

media-libs/vips: add 8.16.0

"Think" ebuild does not need changes compared to 8.15.5, but there was
a lot of minor build system changes making the diff noisy and may have
overlooked something.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/vips/Manifest           |   1 +
 media-libs/vips/vips-8.16.0.ebuild | 167 +++++++++++++++++++++++++++++++++++++
 2 files changed, 168 insertions(+)

diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest
index b186f246ff3a..8f82163298c6 100644
--- a/media-libs/vips/Manifest
+++ b/media-libs/vips/Manifest
@@ -1,2 +1,3 @@
 DIST vips-8.15.2.tar.xz 18653840 BLAKE2B fa46d58d77ec835cbb7036764bcc40554a72c2d6a854adee31905d04cb189de131340f990b432293935bc8563236816d14fa45c08ba858de6b1be5ee3ea148ec SHA512 f746e4590f0105cb40dbb4ee35fe4b177acbf09d7fc4202f623812018030b9cfdfcbe585742724b35f40ef9b68717ebd015243f3db293086621d9eac3d89a5b2
 DIST vips-8.15.5.tar.xz 18652672 BLAKE2B bebd8078cb6cedffb4aee98aab17f62538439f81378b4953085ec0cd6e9ce2c6fb17831e77113980bc91c0ed4355d765c2008232b1cf64246467a9cd936e2245 SHA512 d8f87292fa395e108f36769accc64b67ea49aadbea4a6bd97fc457f340c0f78c0365a43ae4b14ac5f154e696a8b2abc100078a8c5ac58aae2dd1b04347fbf4d8
+DIST vips-8.16.0.tar.xz 29542092 BLAKE2B d285e27858b3c2d68edff4acad3e8e7744708071e5e2eb637bcabc66af9226ed72b2a6c72cd9a52e171e37e36c6c4429d3efacd9df7f67ba317f9efcc26e78bb SHA512 4035c6c08a19cb281ec0d901f8d0c2077e3312a79c1191b5b070aa411e5de0176d7d4e246da8f40c50cd93cf89433ac330b3ee618c1a996a79d58d1d66ec57f4

diff --git a/media-libs/vips/vips-8.16.0.ebuild b/media-libs/vips/vips-8.16.0.ebuild
new file mode 100644
index 000000000000..d95b054a4b0f
--- /dev/null
+++ b/media-libs/vips/vips-8.16.0.ebuild
@@ -0,0 +1,167 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit flag-o-matic meson python-single-r1 toolchain-funcs vala
+
+DESCRIPTION="VIPS Image Processing Library"
+HOMEPAGE="https://libvips.github.io/libvips/"
+SRC_URI="https://github.com/libvips/libvips/releases/download/v${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
+}


             reply	other threads:[~2024-11-24 11:01 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-24 11:01 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-31 23:51 [gentoo-commits] repo/gentoo:master commit in: media-libs/vips/ Ionen Wolkens
2024-12-19 18:56 Sam James
2024-12-16  8:42 Ionen Wolkens
2024-11-24 15:47 Jakov Smolić
2024-11-04 16:15 Ionen Wolkens
2024-10-19 16:53 Ionen Wolkens
2024-10-03 14:04 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2024-04-27 12:11 Ionen Wolkens
2024-04-03  9:14 Arthur Zamarin
2024-03-13 12:56 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-01-31 22:47 Ionen Wolkens
2024-01-29 16:47 Arthur Zamarin
2024-01-24  8:35 Michał Górny
2024-01-16  5:46 Viorel Munteanu
2024-01-10 22:02 Ionen Wolkens
2024-01-10 22:01 Ionen Wolkens
2023-12-18 18:43 Ionen Wolkens
2023-11-11 21:21 Ionen Wolkens
2023-10-27 15:20 Michał Górny
2023-10-10 20:20 Ionen Wolkens
2023-09-18 16:58 Ionen Wolkens
2023-09-12 16:15 Ionen Wolkens
2023-08-15 15:09 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-07-20 15:32 Ionen Wolkens
2023-07-14 21:32 Ionen Wolkens
2023-05-21 20:43 Ionen Wolkens
2023-05-13  9:16 Ionen Wolkens
2023-05-12 10:58 Ionen Wolkens
2023-05-12  9:02 Ionen Wolkens
2018-01-28 16:29 Mikle Kolyada
2018-01-13 18:51 Ulrich Müller
2017-03-22  7:17 Michał Górny
2016-09-14 10:49 Andrew Savchenko
2016-03-20 19:12 Fabian Groffen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732445607.cda772f1055c2976fc81f2d619ee07aa801e13d7.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox