BSD Ports

graphics/libheif 1.22.2 MidnightBSD

ISO/IEC 23008-12:2017 HEIF file format de- and encoder

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
395c7cec5b
License
lgpl3+
Categories
graphics

Description

libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.

HEIF is a new image file format employing HEVC (h.265) image coding for the best compression ratios currently possible.

libheif makes use of libde265 for the actual image decoding and x265 for encoding. Alternative codecs for, e.g., AVC and JPEG can be provided as plugins.

In the other systems

SystemPortVersion
MidnightBSDgraphics/libheif1.22.2
FreeBSDgraphics/libheif1.23.6
OpenBSDmultimedia/libheif1.22.0p0
NetBSDgraphics/libheif1.23.4
DragonFlygraphics/libheif1.19.8
HardenedBSDgraphics/libheif1.22.2_3
GhostBSDgraphics/libheif1.22.2_3

Install

Binary package:

mport install libheif

From mports:

cd /usr/mports/graphics/libheif && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libheif>0:graphics/libheif
LIB_DEPENDS=	libheif.so:graphics/libheif

Dependencies

As this port's Makefile names them.

Library 2

Build dependencies 2
Run dependencies 2

Configuration

Options name: graphics_libheif

OptionDefaultDescription
AOMonAV1 encoding/decoding via libaom
DAV1DonBuild dav1e decoder
EXAMPLESoff
FFMPEGonUse FFmpeg (support for HEVC decoding)
JPEGon
LIBDE265offUse libde265 (support for HEVC decoding)
OPENH264onAVC decoding via OpenH264
OPENJPEGon
OPENJPHonHT-J2K encoding via OpenJPH
RAV1EoffBuild rav1e encoder
SVTAV1onBuild svt-av1 encoder
X265onUse x265 (support for HEVC encoding)
USES
cmake:testing compiler:c++20-lang cpe gettext-runtime gnome localbase:ldflags pathfix pkgconfig
Service scripts
none

Files

Manual pages 4
  • heif-dec(1)
  • heif-enc(1)
  • heif-info(1)
  • heif-thumbnailer(1)
pkg-plist 52
  • bin/heif-dec
  • bin/heif-enc
  • bin/heif-info
  • bin/heif-thumbnailer
  • bin/heif-view
  • include/libheif/heif.h
  • include/libheif/heif_aux_images.h
  • include/libheif/heif_brands.h
  • include/libheif/heif_color.h
  • include/libheif/heif_components.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_omaf.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/libheif-config-.cmake
  • lib/cmake/libheif/libheif-config-version.cmake
  • lib/cmake/libheif/libheif-config.cmake
  • lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders/libpixbufloader-heif.so
  • lib/libheif.so
  • lib/libheif.so.1
  • lib/libheif.so.
  • lib/libheif/libheif-dav1d.so
  • lib/libheif/libheif-j2kdec.so
  • lib/libheif/libheif-j2kenc.so
  • lib/libheif/libheif-rav1e.so
  • lib/libheif/libheif-jphenc.so
  • lib/libheif/libheif-svtenc.so
  • libdata/pkgconfig/libheif.pc
  • share/man/man1/heif-dec.1.gz
  • share/man/man1/heif-enc.1.gz
  • share/man/man1/heif-info.1.gz
  • share/man/man1/heif-thumbnailer.1.gz
  • share/thumbnailers/heif.thumbnailer
  • @dir lib/libheif
distinfo 1
FileSizeSHA256
libheif-1.22.2.tar.gz2.049684e+06eea48e4841f83fbe51d029337ffd2d14512d0203015dad40b90213d872958af3
Master sites 1
  • https://github.com/strukturag/libheif/releases/download/v1.22.2/

Commit history 2

DateCommitCreditsLog message
395c7cec5b Lucas Holt graphics/libheif: update to 1.22.2 (#1120)
Updates libheif from 1.21.2 to 1.22.2. - Retains MidnightBSD's libx264 dependency: upstream 1.22.2 still enables the x264 AVC encoder by default, and the configured build reports it as built-in. - Removes the SVT-AV1 compatibility patch now incorporated upstream. - Adds the two newly installed public headers to pkg-plist. - The library SONAME remains libheif.so.1, so no dependent revision bump is required. Validation: - bmake makesum, patch, build, fake, package - bmake test: 14/14 CTest entries completed without failures (documented skips for disabled optional codecs) - bmake check-license - portlint -C (0 fatal errors; existing NLS and maintainer-mode advisories) - git diff --check ## Summary by Sourcery Update graphics/libheif to version 1.22.2 and align the port files with …
1c7e6ed56b Lucas Holt */*: bump PORTREVISION after multimedia/openh264 update to 2.6.0
openh264 2.6.0 changed its shared library version from libopenh264.so.6 to libopenh264.so.8, so every port that links against it must be rebuilt. Bump PORTREVISION on the direct consumers. www/ungoogled-chromium is not listed because it was updated to 149.0.7827.200 in the same batch and is already built against the new library. AI-Assisted-by: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>