media-libs/vips: treeclean

Moved to ::gentoo.

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu 2023-05-12 12:51:44 +03:00
parent 78bb7293a4
commit 3e953f634c
No known key found for this signature in database
GPG Key ID: 0CE5A97D9310DAB0
3 changed files with 0 additions and 124 deletions

View File

@ -1 +0,0 @@
DIST vips-8.10.6.tar.gz 19532428 BLAKE2B ccc3fd55a8231a1efb65e12acc5b749c9331ce95fcdce6a95a3b3a6cb26da1846da68a44c16c71837ec7f4de0c14f60cf4b5605ab05b70209ae607ae257d0ec9 SHA512 e3e623ad7b44dfb65078c49d2694d94bb11294300630d9e3c53ff1f9e9aaf58d196881d52c191b4604d9f63453199b7da3601425ffc9554f1c25cf08d630ef8b

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<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="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>
<!--<flag name="nsgif">Enable support for nsgif load</flag>-->
<flag name="imagequant">Enable support for 8bpp PNG via <pkg>media-gfx/libimagequant</pkg></flag>
</use>
<upstream>
<remote-id type="github">libvips/libvips</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,106 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit 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 fftw fits heif gsf graphicsmagick imagemagick imagequant jpeg lcms matio openexr orc pango pdf png svg static-libs test tiff webp zlib"
REQUIRED_USE="imagequant? ( png ) test? ( jpeg png )"
RESTRICT="!test? ( test )"
# 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 )
)
imagequant? ( media-gfx/libimagequant:= )
exif? ( >=media-libs/libexif-0.6 )
fits? ( sci-libs/cfitsio )
heif? ( >=media-libs/libheif-1.3.0:= )
jpeg? ( media-libs/libjpeg-turbo: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 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"
# NOTE: Replace pangoft2 with pangocairo in > 8.10.6.
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 imagequant) \
$(use_with jpeg) \
$(use_with lcms) \
$(use_with matio ) \
$(use_with openexr OpenEXR) \
$(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)
}
# FIXME: Add the fancier pytest-based testsuite
# You can find how it's used in ${S}/.travis.yml
multilib_src_install() {
emake DESTDIR="${D}" install
}
multilib_src_install_all() {
einstalldocs
find "${D}" -name '*.la' -type f -delete || die
}