pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/libheif
Module Name: pkgsrc
Committed By: ryoon
Date: Mon Aug 31 17:24:12 UTC 2020
Added Files:
pkgsrc/graphics/libheif: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/graphics/libheif/patches: patch-configure
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libheif/DESCR \
pkgsrc/graphics/libheif/Makefile pkgsrc/graphics/libheif/PLIST \
pkgsrc/graphics/libheif/buildlink3.mk pkgsrc/graphics/libheif/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libheif/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/libheif/DESCR
diff -u /dev/null pkgsrc/graphics/libheif/DESCR:1.1
--- /dev/null Mon Aug 31 17:24:12 2020
+++ pkgsrc/graphics/libheif/DESCR Mon Aug 31 17:24:12 2020
@@ -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.
Index: pkgsrc/graphics/libheif/Makefile
diff -u /dev/null pkgsrc/graphics/libheif/Makefile:1.1
--- /dev/null Mon Aug 31 17:24:12 2020
+++ pkgsrc/graphics/libheif/Makefile Mon Aug 31 17:24:12 2020
@@ -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"
Index: pkgsrc/graphics/libheif/PLIST
diff -u /dev/null pkgsrc/graphics/libheif/PLIST:1.1
--- /dev/null Mon Aug 31 17:24:12 2020
+++ pkgsrc/graphics/libheif/PLIST Mon Aug 31 17:24:12 2020
@@ -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
Index: pkgsrc/graphics/libheif/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/libheif/buildlink3.mk:1.1
--- /dev/null Mon Aug 31 17:24:12 2020
+++ pkgsrc/graphics/libheif/buildlink3.mk Mon Aug 31 17:24:12 2020
@@ -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
Index: pkgsrc/graphics/libheif/distinfo
diff -u /dev/null pkgsrc/graphics/libheif/distinfo:1.1
--- /dev/null Mon Aug 31 17:24:12 2020
+++ pkgsrc/graphics/libheif/distinfo Mon Aug 31 17:24:12 2020
@@ -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
Index: pkgsrc/graphics/libheif/patches/patch-configure
diff -u /dev/null pkgsrc/graphics/libheif/patches/patch-configure:1.1
--- /dev/null Mon Aug 31 17:24:12 2020
+++ pkgsrc/graphics/libheif/patches/patch-configure Mon Aug 31 17:24:12 2020
@@ -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