From bbcbca9eb1240c3493895dbdcf03a4b2c2803d29 Mon Sep 17 00:00:00 2001 From: Manatsawin Hanmongkolchai Date: Mon, 14 Nov 2022 01:35:12 +0700 Subject: Add meson build support --- jpegutils/meson.build | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 jpegutils/meson.build (limited to 'jpegutils') diff --git a/jpegutils/meson.build b/jpegutils/meson.build new file mode 100644 index 0000000..7260e8c --- /dev/null +++ b/jpegutils/meson.build @@ -0,0 +1,26 @@ +src = [ + 'jpegint.h', + 'transupp.h', +] + +if jpeg_80 + src += [ + 'jpegint-8a.h', + 'transupp-8a.c', + 'transupp-8a.h', + ] +else + src += [ + 'transupp-6b.c', + 'transupp-6b.h', + ] +endif + +jpegutils = static_library( + 'eom-jpegutils', + src, + dependencies: all_deps, + include_directories: top_inc, +) + +jpegutils_inc = include_directories('.') -- cgit v1.2.1