mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to libheif-1.21.1
similar to older diff from Brad that never went in, patch added there is no longer needed
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
COMMENT= HEIF and AVIF file format decoder and encoder
|
||||
|
||||
V= 1.19.7
|
||||
REVISION= 0
|
||||
V= 1.21.1
|
||||
DISTNAME= libheif-$V
|
||||
|
||||
SHARED_LIBS += heif 2.3
|
||||
SHARED_LIBS += heif 3.0
|
||||
|
||||
CATEGORIES= multimedia graphics
|
||||
|
||||
@@ -15,7 +14,7 @@ PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} aom c dav1d de265 gdk_pixbuf-2.0
|
||||
WANTLIB += glib-2.0 gobject-2.0 intl jpeg m openh264 png sharpyuv
|
||||
WANTLIB += tiff x265 z
|
||||
WANTLIB += tiff x264 x265 z
|
||||
|
||||
SITES= https://github.com/strukturag/libheif/releases/download/v$V/
|
||||
|
||||
@@ -30,12 +29,15 @@ LIB_DEPENDS= graphics/gdk-pixbuf2 \
|
||||
multimedia/libde265 \
|
||||
multimedia/openh264 \
|
||||
graphics/jpeg \
|
||||
multimedia/x264 \
|
||||
multimedia/x265
|
||||
# examples
|
||||
# examples (if heif-view is enabled, also pulls in SDL2).
|
||||
LIB_DEPENDS+= graphics/png
|
||||
|
||||
CONFIGURE_ARGS= -DCMAKE_COMPILE_WARNING_AS_ERROR=Off \
|
||||
CXXFLAGS+= -I/usr/local/include
|
||||
CONFIGURE_ARGS= -DCMAKE_COMPILE_WARNING_AS_ERROR=Off \
|
||||
-DWITH_DAV1D=On \
|
||||
-DWITH_EXAMPLE_HEIF_VIEW=Off \
|
||||
-DWITH_JPEG_DECODER=On \
|
||||
-DWITH_JPEG_ENCODER=On \
|
||||
-DWITH_RAV1E=Off \
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (libheif-1.19.7.tar.gz) = FhwELSECZl/O497YUceKDrXy1L/jn7pIum5Yj9bpZPM=
|
||||
SIZE (libheif-1.19.7.tar.gz) = 1717186
|
||||
SHA256 (libheif-1.21.1.tar.gz) = l5m0scGQBvBSvPOZx2HMFH4nl2JoPO+vFocdu5tOoqE=
|
||||
SIZE (libheif-1.21.1.tar.gz) = 1854592
|
||||
|
||||
@@ -3,7 +3,7 @@ gcc8: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
|
||||
Index: libheif/CMakeLists.txt
|
||||
--- libheif/CMakeLists.txt.orig
|
||||
+++ libheif/CMakeLists.txt
|
||||
@@ -180,6 +180,8 @@ target_compile_definitions(heif
|
||||
@@ -243,6 +243,8 @@ target_compile_definitions(heif
|
||||
LIBHEIF_EXPORTS
|
||||
HAVE_VISIBILITY)
|
||||
|
||||
|
||||
@@ -5,11 +5,29 @@ bin/heif-convert
|
||||
@bin bin/heif-thumbnailer
|
||||
include/libheif/
|
||||
include/libheif/heif.h
|
||||
include/libheif/heif_aux_images.h
|
||||
include/libheif/heif_brands.h
|
||||
include/libheif/heif_color.h
|
||||
include/libheif/heif_context.h
|
||||
include/libheif/heif_cxx.h
|
||||
include/libheif/heif_decoding.h
|
||||
include/libheif/heif_encoding.h
|
||||
include/libheif/heif_entity_groups.h
|
||||
include/libheif/heif_error.h
|
||||
include/libheif/heif_image.h
|
||||
include/libheif/heif_image_handle.h
|
||||
include/libheif/heif_items.h
|
||||
include/libheif/heif_library.h
|
||||
include/libheif/heif_metadata.h
|
||||
include/libheif/heif_plugin.h
|
||||
include/libheif/heif_properties.h
|
||||
include/libheif/heif_regions.h
|
||||
include/libheif/heif_security.h
|
||||
include/libheif/heif_sequences.h
|
||||
include/libheif/heif_tai_timestamps.h
|
||||
include/libheif/heif_text.h
|
||||
include/libheif/heif_tiling.h
|
||||
include/libheif/heif_uncompressed.h
|
||||
include/libheif/heif_version.h
|
||||
lib/cmake/libheif/
|
||||
lib/cmake/libheif/libheif-config${MODCMAKE_BUILD_SUFFIX}
|
||||
|
||||
Reference in New Issue
Block a user