summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2022-12-25 11:33:10 +0800
committerJob Bautista <jobbautista9@protonmail.com>2022-12-25 11:33:10 +0800
commitdcf9837607386834c2518776cf43e414d0725d4b (patch)
tree4538fdc87846d8552c309c80955c5a2191a550e5 /media
parentcfc61b4c5d3de7b4a92545925c609a70feb4ac77 (diff)
downloaduxp-dcf9837607386834c2518776cf43e414d0725d4b.tar.gz
Issue #2061 Follow-up: Fix moz.build to compile on all platforms.
Remove stuff from /extra/ and the JPEG transcoding file from compilation, as we don't need them. A disable define for box decoding is also added, but currently commented out as there's no need to disable the function right now. Co-authored-by: Moonchild <moonchild@palemoon.org>
Diffstat (limited to 'media')
-rw-r--r--media/libjxl/moz.build7
1 files changed, 3 insertions, 4 deletions
diff --git a/media/libjxl/moz.build b/media/libjxl/moz.build
index dca27a004c..8ac386a548 100644
--- a/media/libjxl/moz.build
+++ b/media/libjxl/moz.build
@@ -11,9 +11,6 @@ LOCAL_INCLUDES += [
]
SOURCES += [
- "/media/libjxl/src/lib/extras/dec/jxl.cc",
- "/media/libjxl/src/lib/extras/exif.cc",
- "/media/libjxl/src/lib/extras/render_hdr.cc",
"/media/libjxl/src/lib/jxl/ac_strategy.cc",
"/media/libjxl/src/lib/jxl/alpha.cc",
"/media/libjxl/src/lib/jxl/ans_common.cc",
@@ -48,7 +45,6 @@ SOURCES += [
"/media/libjxl/src/lib/jxl/dec_patch_dictionary.cc",
"/media/libjxl/src/lib/jxl/dec_xyb.cc",
"/media/libjxl/src/lib/jxl/decode.cc",
- "/media/libjxl/src/lib/jxl/decode_to_jpeg.cc",
"/media/libjxl/src/lib/jxl/enc_bit_writer.cc",
"/media/libjxl/src/lib/jxl/entropy_coder.cc",
"/media/libjxl/src/lib/jxl/epf.cc",
@@ -126,6 +122,9 @@ EXPORTS.jxl += [
"/media/libjxl/src/lib/include/jxl/types.h",
]
+# DEFINES["JPEGXL_ENABLE_BOXES"] = "0"
+DEFINES["JPEGXL_ENABLE_TRANSCODE_JPEG"] = "0"
+
FINAL_LIBRARY = "gkmedias"
# We allow warnings for third-party code that can be updated from upstream.