logo

overlay

My (experimental) gentoo overlay
commit: 179d1a42738040b88b26cb586141e12d54c5fb92
parent: 9c240f20129e53e4f633321b93d3d776a700caa5
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 16 Aug 2019 12:02:58 +0200

media-libs/vips: clean-bump to 8.8.1

Diffstat:

Mmedia-libs/vips/Manifest2+-
Mmedia-libs/vips/metadata.xml7+++++--
Dmedia-libs/vips/vips-8.6.4.ebuild112-------------------------------------------------------------------------------
Amedia-libs/vips/vips-8.8.1.ebuild99+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 105 insertions(+), 115 deletions(-)

diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest @@ -1 +1 @@ -DIST vips-8.6.4.tar.gz 12176633 BLAKE2B 04d33045c22e21f0699461ac5c950143b2aa54145e02430c153517f4fb45940cd806edc0cc51e9180139520cdfc738be4c9adba38a4cfc4b279e02c0f8c2e677 SHA512 4bda7b3786ba2f657fbc393ae7ecf9a0291d1db027a6e7e6ea974a96fb6284e88ac64c395bb54bf31fd9cce0a8a9080a6438a7182bc04bc4042051b067ed17ec +DIST vips-8.8.1.tar.gz 16867732 BLAKE2B 32121132ec3de2137ee28a5f8f606b05fc4da76afc99227bbf83a848f60708f6e54d8f86e907a29c19f0ace1cafb221672e371ec6e98a736a9204e3ff2f98825 SHA512 eb8fc78716bd62b202423dabca0e1ab1dc891bae51d40bff8edfe0bf73bc0771b3db9dc7790d0f00439a635049aad9e0e09f2d7c107b1dc6848eb1e889efdfbe diff --git a/media-libs/vips/metadata.xml b/media-libs/vips/metadata.xml @@ -8,9 +8,12 @@ <use> <flag name="fits">Enable support for the FITS image format through <pkg>sci-libs/cfitsio</pkg></flag> <flag name="matio">Enable support for reading images from Matlab files through <pkg>sci-libs/matio</pkg></flag> - <flag name="openslide">Enable support for reading images from OpenSlide files through <pkg>media-libs/openslide</pkg>(currently conflicts with jpeg-turbo)</flag> + <!--<flag name="openslide">Enable support for reading images from OpenSlide files through <pkg>media-libs/openslide</pkg>(currently conflicts with jpeg-turbo)</flag>--> + <flag name="gsf">Enable support for creating image pyramids with dzsave</flag> + <flag name="heif">Enable support for HEIC images</flag> + <flag name="pango">Enable support for text rendering</flag> </use> <upstream> - <remote-id type="github">jcupitt/libvips</remote-id> + <remote-id type="github">libvips/libvips</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/vips/vips-8.6.4.ebuild b/media-libs/vips/vips-8.6.4.ebuild @@ -1,112 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) -inherit eutils autotools python-single-r1 multilib-minimal - -DESCRIPTION="VIPS Image Processing Library" -SRC_URI="https://github.com/jcupitt/libvips/releases/download/v8.6.4/vips-8.6.4.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://jcupitt.github.io/libvips/" - -RESTRICT="mirror" -LICENSE="LGPL-2.1" -SLOT="1" -KEYWORDS="~amd64 ~x86" -IUSE="cxx doc debug exif fits fftw graphicsmagick imagemagick jpeg lcms matio openexr openslide +orc png python svg static-libs tiff webp" - -RDEPEND=" - debug? ( dev-libs/dmalloc ) - dev-util/gtk-doc - >=dev-libs/glib-2.6:2 - dev-libs/libxml2 - sys-libs/zlib - >=x11-libs/pango-1.8 - fftw? ( sci-libs/fftw:3.0= ) - imagemagick? ( - graphicsmagick? ( media-gfx/graphicsmagick ) - !graphicsmagick? ( media-gfx/imagemagick ) - ) - lcms? ( media-libs/lcms ) - svg? ( gnome-base/librsvg ) - matio? ( >=sci-libs/matio-1.3.4 ) - openexr? ( >=media-libs/openexr-1.2.2 ) - exif? ( >=media-libs/libexif-0.6 ) - tiff? ( media-libs/tiff:0= ) - jpeg? ( virtual/jpeg:0= ) - fits? ( sci-libs/cfitsio ) - png? ( >=media-libs/libpng-1.2.9:0= ) - python? ( ${PYTHON_DEPS} ) - webp? ( media-libs/libwebp ) - orc? ( >=dev-lang/orc-0.4.11 ) - openslide? ( media-libs/openslide ) -" -DEPEND=" - ${RDEPEND} - dev-util/gtk-doc-am - doc? ( dev-util/gtk-doc ) -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DOCS=(ChangeLog NEWS THANKS TODO README.md) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - sed -r \ - -e '/define VIPS_VERSION_STRING/s#@VIPS_VERSION_STRING@#@VIPS_VERSION@#' \ - -i "${S}"/libvips/include/vips/version.h.in || die - - default - - gtkdocize --copy --docdir doc --flavour no-tmpl - # ^ the way portage calling it doesn't work, so let's call manually - # Needs dev-util/gtk-doc in the dependencies - - 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 cxx || echo "--disable-cxx") \ - $(use_with fftw) \ - $(use_with lcms) \ - $(use_with openexr OpenEXR) \ - $(use_with matio ) \ - $(use_with exif libexif) \ - $(use_with png) \ - $(use_with svg rsvg) \ - $(use_with tiff) \ - $(use_with fits cfitsio) \ - $(use_with jpeg) \ - $(use_with orc) \ - $(use_with python) \ - $(use_with webp libwebp) \ - $(use_with openslide) \ - $(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 - use python && python_optimize - prune_libtool_files -} diff --git a/media-libs/vips/vips-8.8.1.ebuild b/media-libs/vips/vips-8.8.1.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 +}