summaryrefslogtreecommitdiff
path: root/jpegutils
diff options
context:
space:
mode:
authorManatsawin Hanmongkolchai <[email protected]>2022-11-14 01:35:12 +0700
committerraveit65 <[email protected]>2023-04-20 18:07:49 +0200
commitbbcbca9eb1240c3493895dbdcf03a4b2c2803d29 (patch)
tree9719912dab8fdd4238045f739a821fba2630a4b9 /jpegutils
parent2c38b75e422a41cfa180d1f4a5a55d52577b2989 (diff)
downloadeom-bbcbca9eb1240c3493895dbdcf03a4b2c2803d29.tar.bz2
eom-bbcbca9eb1240c3493895dbdcf03a4b2c2803d29.tar.xz
Add meson build support
Diffstat (limited to 'jpegutils')
-rw-r--r--jpegutils/meson.build26
1 files changed, 26 insertions, 0 deletions
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('.')