logo

overlay

My (experimental) gentoo overlay
commit: 2243fd78ddc4843e1d0a8e81628dff220827b772
parent: 39d35988d390485cfb7be1146d79f376498768ad
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  2 Sep 2019 11:52:34 +0200

media-libs/vips: Bump to 8.8.2

Diffstat:

Mmedia-libs/vips/Manifest1+
Amedia-libs/vips/vips-8.8.2.ebuild99+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+), 0 deletions(-)

diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest @@ -1 +1,2 @@ DIST vips-8.8.1.tar.gz 16867732 BLAKE2B 32121132ec3de2137ee28a5f8f606b05fc4da76afc99227bbf83a848f60708f6e54d8f86e907a29c19f0ace1cafb221672e371ec6e98a736a9204e3ff2f98825 SHA512 eb8fc78716bd62b202423dabca0e1ab1dc891bae51d40bff8edfe0bf73bc0771b3db9dc7790d0f00439a635049aad9e0e09f2d7c107b1dc6848eb1e889efdfbe +DIST vips-8.8.2.tar.gz 16972136 BLAKE2B bbdf338df1b85179a008352c3d573dd698d6671bf5f84c03b4ff8c096a97f34b2994c6d4a16ee8eea5b2b32af9408c279f31398a99ebb99b9561d3fdf27f9107 SHA512 0a1623087a1441f0d15066a26053298b9d0184c85be7133da2144d40197d62dc8fceeb6468b013a3228b32c643b9906d5f051dce75308db049b409cd25984d25 diff --git a/media-libs/vips/vips-8.8.2.ebuild b/media-libs/vips/vips-8.8.2.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils autotools multilib-minimal + +DESCRIPTION="VIPS Image Processing Library" +SRC_URI="https://github.com/libvips/libvips/releases/download/v${PV}/${P}.tar.gz" +HOMEPAGE="https://libvips.github.io/libvips/" + +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="doc debug exif fits fftw heif gsf graphicsmagick imagemagick jpeg lcms matio openexr orc pango pdf png svg static-libs tiff webp zlib" + +# FIXME: nitfi (FIND_NIFTI) +# openslide? ( >=media-libs/openslide-3.3.0 ) +RDEPEND=" + >=dev-libs/glib-2.6:2 + dev-libs/expat:= + debug? ( dev-libs/dmalloc ) + fftw? ( sci-libs/fftw:3.0= ) + imagemagick? ( + graphicsmagick? ( media-gfx/graphicsmagick ) + !graphicsmagick? ( media-gfx/imagemagick ) + ) + exif? ( >=media-libs/libexif-0.6 ) + fits? ( sci-libs/cfitsio ) + heif? ( media-libs/libheif:= ) + jpeg? ( virtual/jpeg:0= ) + gsf? ( gnome-extra/libgsf:= ) + lcms? ( media-libs/lcms ) + matio? ( >=sci-libs/matio-1.3.4 ) + openexr? ( >=media-libs/openexr-1.2.2 ) + orc? ( >=dev-lang/orc-0.4.11 ) + pango? ( x11-libs/pango ) + pdf? ( app-text/poppler[cairo] ) + png? ( >=media-libs/libpng-1.2.9:0= ) + svg? ( gnome-base/librsvg ) + tiff? ( media-libs/tiff:0= ) + webp? ( media-libs/libwebp ) + zlib? ( sys-libs/zlib ) +" +DEPEND=" + ${RDEPEND} + doc? ( + dev-util/gtk-doc + dev-util/gtk-doc-am + ) +" + +DOCS=(ChangeLog NEWS THANKS TODO README.md) + +src_prepare() { + default + + eautoreconf + + multilib_copy_sources +} + +multilib_src_configure() { + local magick="--without-magick"; + use imagemagick && magick="--with-magickpackage=MagickCore" + use graphicsmagick && magick="--with-magickpackage=GraphicsMagick" + + econf \ + ${magick} \ + $(multilib_native_use_enable doc gtk-doc) \ + $(use_enable debug) \ + $(use_with debug dmalloc) \ + $(use_with exif libexif) \ + $(use_with fftw) \ + $(use_with fits cfitsio) \ + $(use_with gsf) \ + $(use_with jpeg) \ + $(use_with lcms) \ + $(use_with matio ) \ + $(use_with openexr OpenEXR) \ +# $(use_with openslide) \ + $(use_with orc) \ + $(use_with pango pangoft2) \ + $(use_with pdf poppler) \ + $(use_with png) \ + $(use_with svg rsvg) \ + $(use_with tiff) \ + $(use_with webp libwebp) \ + $(use_with zlib) \ + $(use_enable static-libs static) \ + --with-html-dir="/usr/share/gtk-doc/html" +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} +multilib_src_install_all() { + einstalldocs + prune_libtool_files +}