View | Details | Raw Unified | Return to bug 249291 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/libheif/Makefile (-2 / +10 lines)
Lines 24-40 Link Here
24
USE_GITHUB=		yes
24
USE_GITHUB=		yes
25
GH_ACCOUNT=		strukturag
25
GH_ACCOUNT=		strukturag
26
26
27
OPTIONS_DEFINE=			AOM LIBDE265 X265
27
OPTIONS_DEFINE=			AOM DAV1D LIBDE265 RAV1E X265
28
OPTIONS_DEFAULT=		AOM LIBDE265 X265
28
OPTIONS_DEFAULT=		AOM DAV1D LIBDE265 X265
29
OPTIONS_SUB=			yes
29
OPTIONS_SUB=			yes
30
30
31
AOM_DESC=			AV1 encoding/decoding via libaom
31
AOM_DESC=			AV1 encoding/decoding via libaom
32
AOM_CMAKE_BOOL=			WITH_AOM
32
AOM_CMAKE_BOOL=			WITH_AOM
33
AOM_LIB_DEPENDS=		libaom.so:multimedia/aom
33
AOM_LIB_DEPENDS=		libaom.so:multimedia/aom
34
34
35
DAV1D_DESC=			AV1 encoding/decoding via dav1d
36
DAV1D_CMAKE_BOOL=		WITH_DAV1D
37
DAV1D_LIB_DEPENDS=		libdav1d.so:multimedia/dav1d
38
35
LIBDE265_DESC=			Use libde265 (support for HEVC decoding)
39
LIBDE265_DESC=			Use libde265 (support for HEVC decoding)
36
LIBDE265_CMAKE_BOOL=		WITH_LIBDE265
40
LIBDE265_CMAKE_BOOL=		WITH_LIBDE265
37
LIBDE265_LIB_DEPENDS=		libde265.so:multimedia/libde265
41
LIBDE265_LIB_DEPENDS=		libde265.so:multimedia/libde265
42
43
RAV1E_DESC=			AV1 encoding/decoding via librav1e
44
RAV1E_CMAKE_BOOL=		WITH_RAV1E
45
RAV1E_LIB_DEPENDS=		librav1e.so:multimedia/librav1e
38
46
39
X265_DESC=			Use x265 (support for HEVC encoding)
47
X265_DESC=			Use x265 (support for HEVC encoding)
40
X265_CMAKE_BOOL=		WITH_X265
48
X265_CMAKE_BOOL=		WITH_X265
(-)graphics/libheif/files/patch-CMakeLists.txt (+19 lines)
Line 0 Link Here
1
--- CMakeLists.txt.orig
2
+++ CMakeLists.txt
3
@@ -64,8 +64,14 @@
4
 if (WITH_AOM)
5
     find_package(LibAOM)
6
 endif()
7
-find_package(Rav1e)
8
-find_package(Dav1d)
9
+option(WITH_RAV1E "Build rav1e encoder" ON)
10
+if (WITH_RAV1E)
11
+    find_package(Rav1e)
12
+endif ()
13
+option(WITH_DAV1D "Build dav1e decoder" ON)
14
+if (WITH_DAV1D)
15
+    find_package(Dav1d)
16
+endif ()
17
 
18
 if (LIBDE265_FOUND)
19
     message("HEIF decoder, libde265: found")
(-)graphics/libheif/pkg-descr (-8 / +9 lines)
Lines 1-10 Link Here
1
libheif is an ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.
1
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format)
2
2
file format decoder and encoder.
3
HEIF is a new image file format employing HEVC (h.265) image coding for the
3
 
4
best compression ratios currently possible.
4
HEIF and AVIF are new image file formats employing HEVC (h.265) or AV1
5
5
image coding, respectively, for the best compression ratios currently
6
libheif makes use of libde265 for the actual image decoding and x265 for
6
possible.
7
encoding. Alternative codecs for, e.g., AVC and JPEG can be provided as
7
 
8
plugins.
8
libheif makes use of libde265 for HEIF image decoding and x265 for
9
encoding. For AVIF, libaom, dav1d, or rav1e are used as codecs.
9
10
10
WWW: https://github.com/strukturag/libheif
11
WWW: https://github.com/strukturag/libheif

Return to bug 249291