diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-18 23:07:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-18 23:07:14 +0100 |
commit | 4eeee822487f780361d7d47b4c1b999f93e15b27 (patch) | |
tree | e0f304adb25f3e070c50d4284d4d067a9a7d1ec8 /media-libs/vips | |
parent | 4be6deadf3e814bc37585cde9dc08faad2561453 (diff) |
gentoo auto-resync : 18:09:2023 - 23:07:14
Diffstat (limited to 'media-libs/vips')
-rw-r--r-- | media-libs/vips/Manifest | 2 | ||||
-rw-r--r-- | media-libs/vips/vips-8.14.5.ebuild | 159 |
2 files changed, 161 insertions, 0 deletions
diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest index 108dc79ae869..476bee59caf8 100644 --- a/media-libs/vips/Manifest +++ b/media-libs/vips/Manifest @@ -1,3 +1,5 @@ DIST vips-8.14.4.tar.xz 18662704 BLAKE2B 215c9625e1c4aae30b8a85a43ff885fb355c24bb2a12defe3002e0412afcbe0b10dfac36bd34af3f43dc33a435b3336e4a34015fd7aa2b9d2397d1af1f755858 SHA512 1843deb64613aeb0f97b5db0b5181c38e8b32a56e480814f409d28dcb65e2798a558fb92ce57380a80a078496553dcd0f3edf6dab48f2694d519b880577b3639 +DIST vips-8.14.5.tar.xz 18652928 BLAKE2B 033359fcb7e52ec11daf7cf85641789e3c4b858644bce6290742920cbee8a1d8bc2f56ffdcd52ccb6d4da9f8bf24fbab626e121bba063eb97201af28eb440d57 SHA512 ceea6e4d378ac99eb026293e91da530b91febbd5d775b57ab807bcd60f39ca44a088161a713e31b972694d3797d4acaa97028f0e1d3ce4d9db7f8078c005dbe1 EBUILD vips-8.14.4.ebuild 3893 BLAKE2B 0c2fbaa24eba581df5ebd09a30a2500affecf86305896fc3d3ab55fb3f083c9b0bdf172f5af6c655b2a580a389bdd58a776982226cf05def6feecade45eef93a SHA512 2e8eadf3378d3a0af5a8e0979ce36cde821cd30905c374d315c318e85f234c4d7332653ded7a54d68c92831f2ebf127a580dcf32b61ecd567cd71f594bef9c8a +EBUILD vips-8.14.5.ebuild 3893 BLAKE2B 0c2fbaa24eba581df5ebd09a30a2500affecf86305896fc3d3ab55fb3f083c9b0bdf172f5af6c655b2a580a389bdd58a776982226cf05def6feecade45eef93a SHA512 2e8eadf3378d3a0af5a8e0979ce36cde821cd30905c374d315c318e85f234c4d7332653ded7a54d68c92831f2ebf127a580dcf32b61ecd567cd71f594bef9c8a MISC metadata.xml 1035 BLAKE2B 494722a264943e80ada6ecd2ee945af3ca09d2b98f04d1e9014b5c8770be162e5613112a4ea198b0aaa14dd64e56e42a6505ec338d8e89ea23c4ce73f076685f SHA512 67cd4ab1d04a35864a49301b97414329f5dd5e55298c9e36954fd99bd710f0802cd7cf55ff7a07304e4f5ce32a230aca755b5769cc8442a5de691796547ea28c diff --git a/media-libs/vips/vips-8.14.5.ebuild b/media-libs/vips/vips-8.14.5.ebuild new file mode 100644 index 000000000000..50110eca65bc --- /dev/null +++ b/media-libs/vips/vips-8.14.5.ebuild @@ -0,0 +1,159 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit meson python-single-r1 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 ~x86" +IUSE=" + deprecated doc exif fftw fits fontconfig graphicsmagick gsf gtk-doc heif + 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 + exif? ( media-libs/libexif ) + fftw? ( sci-libs/fftw:3.0= ) + fits? ( sci-libs/cfitsio:= ) + fontconfig? ( media-libs/fontconfig ) + gsf? ( gnome-extra/libgsf:= ) + heif? ( media-libs/libheif:= ) + 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:= ) + orc? ( dev-lang/orc ) + 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-doc/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() { + local emesonargs=( + $(meson_use deprecated) + $(meson_use doc doxygen) + -Dexamples=false + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use vala vapi) + -Dcgif=disabled # not packaged, and not used to view gif (only saving) + $(meson_feature exif) + $(meson_feature fftw) + $(meson_feature fits cfitsio) + $(meson_feature fontconfig) + $(meson_feature gsf) + $(meson_feature heif) + $(meson_feature imagemagick magick) + -Dmagick-package=$(usex graphicsmagick GraphicsMagick MagickCore) + $(meson_feature imagequant) + $(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) + $(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 +} |