From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/vips/
Date: Mon, 26 Apr 2021 12:28:15 +0000 (UTC) [thread overview]
Message-ID: <1619439923.2da3a3264d6e46db17bc09964c450191a1bc5c6b.lanodan@gentoo> (raw)
commit: 2da3a3264d6e46db17bc09964c450191a1bc5c6b
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Apr 26 12:25:06 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Apr 26 12:25:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2da3a326
media-libs/vips: New Package, based on my overlay
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
media-libs/vips/Manifest | 1 +
media-libs/vips/metadata.xml | 17 ++++++
media-libs/vips/vips-8.10.6.ebuild | 105 +++++++++++++++++++++++++++++++++++++
3 files changed, 123 insertions(+)
diff --git a/media-libs/vips/Manifest b/media-libs/vips/Manifest
new file mode 100644
index 000000000..7d90c971b
--- /dev/null
+++ b/media-libs/vips/Manifest
@@ -0,0 +1 @@
+DIST vips-8.10.6.tar.gz 19532428 BLAKE2B ccc3fd55a8231a1efb65e12acc5b749c9331ce95fcdce6a95a3b3a6cb26da1846da68a44c16c71837ec7f4de0c14f60cf4b5605ab05b70209ae607ae257d0ec9 SHA512 e3e623ad7b44dfb65078c49d2694d94bb11294300630d9e3c53ff1f9e9aaf58d196881d52c191b4604d9f63453199b7da3601425ffc9554f1c25cf08d630ef8b
diff --git a/media-libs/vips/metadata.xml b/media-libs/vips/metadata.xml
new file mode 100644
index 000000000..c174db958
--- /dev/null
+++ b/media-libs/vips/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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>
diff --git a/media-libs/vips/vips-8.10.6.ebuild b/media-libs/vips/vips-8.10.6.ebuild
new file mode 100644
index 000000000..59394e697
--- /dev/null
+++ b/media-libs/vips/vips-8.10.6.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 fftw fits heif gsf graphicsmagick imagemagick imagequant jpeg lcms matio openexr orc pango pdf png svg static-libs tiff webp zlib"
+REQUIRED_USE="imagequant? ( png )"
+
+# 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? ( 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 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 imagequant) \
+ $(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 pango pangocairo) \
+ $(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
+ prune_libtool_files
+}
next reply other threads:[~2021-04-26 12:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 12:28 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-27 23:24 [gentoo-commits] repo/proj/guru:master commit in: media-libs/vips/ Theo Anderson
2021-04-27 23:23 ` [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-04-29 10:44 Ronny Gutbrod
2021-04-29 11:06 Ronny Gutbrod
2021-04-29 16:32 Ronny Gutbrod
2021-07-24 15:58 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-07-24 15:55 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-12-15 11:11 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-12-15 11:11 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-05-09 18:40 Andrew Ammerlaan
2023-05-12 10:07 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-05-12 9:52 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
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=1619439923.2da3a3264d6e46db17bc09964c450191a1bc5c6b.lanodan@gentoo \
--to=contact@hacktivis.me \
--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