fix libheif manifest
[oi-userland.git] / components / encumbered / libheif / Makefile
blobfadb3f1d8ea33846384d2a754fef4dc5e5100d83
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2019 Michal Nowak
15 BUILD_STYLE= cmake
16 USE_PARALLEL_BUILD= yes
17 USE_DEFAULT_TEST_TRANSFORMS= yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libheif
21 COMPONENT_VERSION= 1.19.5
22 COMPONENT_SUMMARY= libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format) file format decoder and encoder
23 COMPONENT_PROJECT_URL= https://github.com/strukturag/$(COMPONENT_NAME)
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_ARCHIVE_HASH= sha256:d3cf0a76076115a070f9bc87cf5259b333a1f05806500045338798486d0afbaf
28 COMPONENT_FMRI= library/video/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
30 COMPONENT_LICENSE= LGPL-3
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_MAKE_RULES)/encumbered.mk
34 include $(WS_MAKE_RULES)/common.mk
36 CFLAGS += $(XPG6MODE)
38 CMAKE_OPTIONS += -DWITH_LIBDE265_PLUGIN=ON
39 CMAKE_OPTIONS += -DWITH_X265_PLUGIN=ON
40 CMAKE_OPTIONS += -DWITH_DAV1D=ON
41 CMAKE_OPTIONS += -DWITH_JPEG_DECODER=ON
42 CMAKE_OPTIONS += -DWITH_UNCOMPRESSED_CODEC=ON
44 # Manually added build dependencies
45 REQUIRED_PACKAGES += developer/documentation-tool/doxygen
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
49 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
50 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
51 REQUIRED_PACKAGES += codec/dav1d
52 REQUIRED_PACKAGES += image/library/libpng16
53 REQUIRED_PACKAGES += image/library/libtiff
54 REQUIRED_PACKAGES += image/library/openjpeg
55 REQUIRED_PACKAGES += library/brotli
56 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
57 REQUIRED_PACKAGES += library/glib2
58 REQUIRED_PACKAGES += library/libwebp
59 REQUIRED_PACKAGES += library/video/libde265
60 REQUIRED_PACKAGES += library/video/x265-41
61 REQUIRED_PACKAGES += library/zlib
62 REQUIRED_PACKAGES += system/library
63 REQUIRED_PACKAGES += system/library/math