Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libheif graphics/libheif: import libheif-1.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc564d71dc6d
branches:  trunk
changeset: 437779:bc564d71dc6d
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Aug 31 17:24:12 2020 +0000

description:
graphics/libheif: import libheif-1.8.0

libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
Format) file format decoder and encoder.

HEIF and AVIF are new image file formats employing HEVC (h.265) or
AV1 image coding, respectively, for the best compression ratios
currently possible.

libheif makes use of libde265 for HEIF image decoding and x265 for
encoding.  For AVIF, libaom is used as encoder and decoder.
Alternative codecs for, e.g., AVC and JPEG can be provided as
plugins.

diffstat:

 graphics/libheif/DESCR                   |  11 +++++++++++
 graphics/libheif/Makefile                |  26 ++++++++++++++++++++++++++
 graphics/libheif/PLIST                   |  18 ++++++++++++++++++
 graphics/libheif/buildlink3.mk           |  17 +++++++++++++++++
 graphics/libheif/distinfo                |   7 +++++++
 graphics/libheif/patches/patch-configure |  15 +++++++++++++++
 6 files changed, 94 insertions(+), 0 deletions(-)

diffs (118 lines):

diff -r b163a970f47a -r bc564d71dc6d graphics/libheif/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libheif/DESCR    Mon Aug 31 17:24:12 2020 +0000
@@ -0,0 +1,11 @@
+libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
+Format) file format decoder and encoder.
+
+HEIF and AVIF are new image file formats employing HEVC (h.265) or
+AV1 image coding, respectively, for the best compression ratios
+currently possible.
+
+libheif makes use of libde265 for HEIF image decoding and x265 for
+encoding.  For AVIF, libaom is used as encoder and decoder.
+Alternative codecs for, e.g., AVC and JPEG can be provided as
+plugins.
diff -r b163a970f47a -r bc564d71dc6d graphics/libheif/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libheif/Makefile Mon Aug 31 17:24:12 2020 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/08/31 17:24:12 ryoon Exp $
+
+DISTNAME=      libheif-1.8.0
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=strukturag/}
+GITHUB_PROJECT=        libheif
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/strukturag/libheif/
+COMMENT=       HEIF and AVIF file format decoder and encoder library
+LICENSE=       gnu-lgpl-v3
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+=   libheif.pc.in
+
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../multimedia/libaom/buildlink3.mk"
+.include "../../multimedia/libde265/buildlink3.mk"
+.include "../../multimedia/x265/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b163a970f47a -r bc564d71dc6d graphics/libheif/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libheif/PLIST    Mon Aug 31 17:24:12 2020 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/31 17:24:12 ryoon Exp $
+bin/heif-convert
+bin/heif-enc
+bin/heif-info
+bin/heif-thumbnailer
+include/libheif/heif.h
+include/libheif/heif_cxx.h
+include/libheif/heif_plugin.h
+include/libheif/heif_version.h
+lib/libheif.la
+lib/pkgconfig/libheif.pc
+man/man1/heif-convert.1
+man/man1/heif-enc.1
+man/man1/heif-info.1
+man/man1/heif-thumbnailer.1
+share/mime/packages/avif.xml
+share/mime/packages/heif.xml
+share/thumbnailers/heif.thumbnailer
diff -r b163a970f47a -r bc564d71dc6d graphics/libheif/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libheif/buildlink3.mk    Mon Aug 31 17:24:12 2020 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/08/31 17:24:12 ryoon Exp $
+
+BUILDLINK_TREE+=       libheif
+
+.if !defined(LIBHEIF_BUILDLINK3_MK)
+LIBHEIF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libheif+=        libheif>=1.8.0
+BUILDLINK_PKGSRCDIR.libheif?=  ../../graphics/libheif
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../multimedia/libaom/buildlink3.mk"
+.include "../../multimedia/libde265/buildlink3.mk"
+.include "../../multimedia/x265/buildlink3.mk"
+.endif # LIBHEIF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libheif
diff -r b163a970f47a -r bc564d71dc6d graphics/libheif/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libheif/distinfo Mon Aug 31 17:24:12 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/08/31 17:24:12 ryoon Exp $
+
+SHA1 (libheif-1.8.0.tar.gz) = 22476e2697faebee6802169ee1746cdcdd7953fa
+RMD160 (libheif-1.8.0.tar.gz) = 68d53be124be293348023946ada37acee7432ea2
+SHA512 (libheif-1.8.0.tar.gz) = e6edf03c0baf7d55ace57b8de1cf05d3b6708a0bd58d4191599960ad3924509dd7e9528a021586012b768a5a5b253e5bab470b944a2ead45f85274842da4913a
+Size (libheif-1.8.0.tar.gz) = 1544438 bytes
+SHA1 (patch-configure) = 859f4ae06e77a79a723f2760d426c88787916a9c
diff -r b163a970f47a -r bc564d71dc6d graphics/libheif/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libheif/patches/patch-configure  Mon Aug 31 17:24:12 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/08/31 17:24:12 ryoon Exp $
+
+* POSIX shell portability.
+
+--- configure.orig     2020-08-14 12:12:13.000000000 +0000
++++ configure
+@@ -17595,7 +17595,7 @@ if test "x$enable_tests" = "xyes"; then 
+     CFLAG_VISIBILITY=
+ 
+ fi
+- if test "x$HAVE_TESTS" == "x1"; then
++ if test "x$HAVE_TESTS" = "x1"; then
+   HAVE_TESTS_TRUE=
+   HAVE_TESTS_FALSE='#'
+ else



Home | Main Index | Thread Index | Old Index