pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics
Module Name: pkgsrc
Committed By: nia
Date: Wed Apr 2 13:03:14 UTC 2025
Modified Files:
pkgsrc/graphics: Makefile
Added Files:
pkgsrc/graphics/libheif-cxx11: DESCR Makefile PLIST buildlink3.mk
distinfo options.mk
Log Message:
libheif-cxx11: Import last version that compiles without C++20.
NetBSD 10 does not support C++20.
To generate a diff of this commit:
cvs rdiff -u -r1.1077 -r1.1078 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/libheif-cxx11/DESCR \
pkgsrc/graphics/libheif-cxx11/Makefile \
pkgsrc/graphics/libheif-cxx11/PLIST \
pkgsrc/graphics/libheif-cxx11/buildlink3.mk \
pkgsrc/graphics/libheif-cxx11/distinfo \
pkgsrc/graphics/libheif-cxx11/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.1077 pkgsrc/graphics/Makefile:1.1078
--- pkgsrc/graphics/Makefile:1.1077 Sat Mar 22 08:31:40 2025
+++ pkgsrc/graphics/Makefile Wed Apr 2 13:03:13 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1077 2025/03/22 08:31:40 wiz Exp $
+# $NetBSD: Makefile,v 1.1078 2025/04/02 13:03:13 nia Exp $
#
COMMENT= Graphics tools and libraries
@@ -342,6 +342,7 @@ SUBDIR+= libggiwmh
SUBDIR+= libgii
SUBDIR+= libgiigic
SUBDIR+= libheif
+SUBDIR+= libheif-cxx11
SUBDIR+= libhighway
SUBDIR+= libimagequant
SUBDIR+= libimagequant-c
Added files:
Index: pkgsrc/graphics/libheif-cxx11/DESCR
diff -u /dev/null pkgsrc/graphics/libheif-cxx11/DESCR:1.1
--- /dev/null Wed Apr 2 13:03:14 2025
+++ pkgsrc/graphics/libheif-cxx11/DESCR Wed Apr 2 13:03:14 2025
@@ -0,0 +1,13 @@
+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.
+
+This is the last stable version that builds with a C++11 compiler.
Index: pkgsrc/graphics/libheif-cxx11/Makefile
diff -u /dev/null pkgsrc/graphics/libheif-cxx11/Makefile:1.1
--- /dev/null Wed Apr 2 13:03:14 2025
+++ pkgsrc/graphics/libheif-cxx11/Makefile Wed Apr 2 13:03:14 2025
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2025/04/02 13:03:14 nia Exp $
+
+DISTNAME= libheif-1.18.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=strukturag/}
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/strukturag/libheif
+COMMENT= HEIF and AVIF file format decoder and encoder library
+LICENSE= gnu-lgpl-v3
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+USE_CXX_FEATURES+= c++11
+
+CMAKE_CONFIGURE_ARGS+= -DWITH_GDK_PIXBUF=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_DAV1D=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_SvtEnc=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_RAV1E=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_OpenJPEG_ENCODER=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_OpenJPEG_DECODER=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_OPENJPH_ENCODER=OFF
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=ON
+
+PKGCONFIG_OVERRIDE+= libheif.pc.in
+
+BUILDLINK_TRANSFORM+= rm:-Werror
+
+.include "options.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/libheif-cxx11/PLIST
diff -u /dev/null pkgsrc/graphics/libheif-cxx11/PLIST:1.1
--- /dev/null Wed Apr 2 13:03:14 2025
+++ pkgsrc/graphics/libheif-cxx11/PLIST Wed Apr 2 13:03:14 2025
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2025/04/02 13:03:14 nia Exp $
+bin/heif-convert
+bin/heif-dec
+bin/heif-enc
+bin/heif-info
+bin/heif-thumbnailer
+include/libheif/heif.h
+include/libheif/heif_cxx.h
+include/libheif/heif_items.h
+include/libheif/heif_plugin.h
+include/libheif/heif_properties.h
+include/libheif/heif_regions.h
+include/libheif/heif_version.h
+lib/cmake/libheif/libheif-config-noconfig.cmake
+lib/cmake/libheif/libheif-config-version.cmake
+lib/cmake/libheif/libheif-config.cmake
+lib/libheif.so
+lib/libheif.so.1
+lib/libheif.so.${PKGVERSION}
+lib/pkgconfig/libheif.pc
+man/man1/heif-dec.1
+man/man1/heif-enc.1
+man/man1/heif-info.1
+man/man1/heif-thumbnailer.1
+share/thumbnailers/heif.thumbnailer
+@pkgdir lib/libheif
Index: pkgsrc/graphics/libheif-cxx11/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/libheif-cxx11/buildlink3.mk:1.1
--- /dev/null Wed Apr 2 13:03:14 2025
+++ pkgsrc/graphics/libheif-cxx11/buildlink3.mk Wed Apr 2 13:03:14 2025
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2025/04/02 13:03:14 nia Exp $
+
+BUILDLINK_TREE+= libheif
+
+.if !defined(LIBHEIF_BUILDLINK3_MK)
+LIBHEIF_BUILDLINK3_MK:=
+
+USE_CXX_FEATURES+= c++11
+
+BUILDLINK_API_DEPENDS.libheif+= libheif>=1.8.0
+BUILDLINK_ABI_DEPENDS.libheif+= libheif>=1.18.0<=1.19.0
+BUILDLINK_PKGSRCDIR.libheif?= ../../graphics/libheif-cxx11
+.endif # LIBHEIF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libheif
Index: pkgsrc/graphics/libheif-cxx11/distinfo
diff -u /dev/null pkgsrc/graphics/libheif-cxx11/distinfo:1.1
--- /dev/null Wed Apr 2 13:03:14 2025
+++ pkgsrc/graphics/libheif-cxx11/distinfo Wed Apr 2 13:03:14 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/04/02 13:03:14 nia Exp $
+
+BLAKE2s (libheif-1.18.2.tar.gz) = ba946cdfc2d0e627460fd4a9589e02f6422772e44c3050e09e702df5f05e7137
+SHA512 (libheif-1.18.2.tar.gz) = 8fd47dbc8e31fdb6a972c852bc4e78440492ee3dd769e139f28ad489ccc23e6cf42a90cd23b16405fa30df3c7c43c78b2b65d5ca3ffb449bf06789b457ed3072
+Size (libheif-1.18.2.tar.gz) = 1525096 bytes
Index: pkgsrc/graphics/libheif-cxx11/options.mk
diff -u /dev/null pkgsrc/graphics/libheif-cxx11/options.mk:1.1
--- /dev/null Wed Apr 2 13:03:14 2025
+++ pkgsrc/graphics/libheif-cxx11/options.mk Wed Apr 2 13:03:14 2025
@@ -0,0 +1,26 @@
+# $NetBSD: options.mk,v 1.1 2025/04/02 13:03:14 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libheif
+PKG_SUPPORTED_OPTIONS= aom x265
+PKG_SUGGESTED_OPTIONS= aom x265
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Maom)
+CMAKE_CONFIGURE_ARGS+= -DWITH_AOM_DECODER=ON
+CMAKE_CONFIGURE_ARGS+= -DWITH_AOM_ENCODER=ON
+. include "../../multimedia/libaom/buildlink3.mk"
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_AOM_DECODER=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_AOM_ENCODER=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mx265)
+CMAKE_CONFIGURE_ARGS+= -DWITH_LIBDE265=ON
+CMAKE_CONFIGURE_ARGS+= -DWITH_X265=ON
+. include "../../multimedia/libde265/buildlink3.mk"
+. include "../../multimedia/x265/buildlink3.mk"
+.else
+CMAKE_CONFIGURE_ARGS+= -DWITH_LIBDE265=OFF
+CMAKE_CONFIGURE_ARGS+= -DWITH_X265=OFF
+.endif
Home |
Main Index |
Thread Index |
Old Index