[packages/vapoursynth-plugin-ocr] - meson patch from upstream git
qboosh
qboosh at pld-linux.org
Tue Apr 25 19:29:38 CEST 2023
commit aa2833baf0f2a32518debe114a2bfeb338b9b871
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 25 19:32:25 2023 +0200
- meson patch from upstream git
vs-ocr-meson.patch | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
---
diff --git a/vs-ocr-meson.patch b/vs-ocr-meson.patch
new file mode 100644
index 0000000..cf11cda
--- /dev/null
+++ b/vs-ocr-meson.patch
@@ -0,0 +1,37 @@
+From d1e80c6a9d6efe7921300c01ffc0f311927ba443 Mon Sep 17 00:00:00 2001
+From: dmo <marillat at users.noreply.github.com>
+Date: Sun, 26 Sep 2021 22:25:42 +0200
+Subject: [PATCH] Add meson build
+
+---
+ meson.build | 21 +++++++++++++++++++++
+ 1 file changed, 21 insertions(+)
+ create mode 100644 meson.build
+
+diff --git a/meson.build b/meson.build
+new file mode 100644
+index 0000000..f741289
+--- /dev/null
++++ b/meson.build
+@@ -0,0 +1,21 @@
++project('ocr', 'c', 'cpp',
++ version : '1',
++ default_options : ['warning_level=3'])
++
++add_project_arguments('-ffast-math', language : 'c')
++
++sources = [
++ 'src/ocr.c'
++]
++
++vapoursynth_dep = dependency('vapoursynth', version: '>=55').partial_dependency(compile_args : true, includes : true)
++libtesseract_dep = dependency('tesseract')
++
++deps = [vapoursynth_dep, libtesseract_dep]
++
++shared_module('ocr', sources,
++ dependencies : deps,
++ install : true,
++ install_dir : join_paths(vapoursynth_dep.get_pkgconfig_variable('libdir'), 'vapoursynth'),
++ gnu_symbol_visibility : 'hidden'
++)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vapoursynth-plugin-ocr.git/commitdiff/aa2833baf0f2a32518debe114a2bfeb338b9b871
More information about the pld-cvs-commit
mailing list