[packages/vapoursynth-plugin-ocr] - updated to R3
qboosh
qboosh at pld-linux.org
Mon May 27 22:42:50 CEST 2024
commit 68ab12351f5442192e9752dc4d73cbb0d37e0dcd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 27 22:40:14 2024 +0200
- updated to R3
vapoursynth-plugin-ocr.spec | 6 ++----
vs-ocr-meson.patch | 37 -------------------------------------
2 files changed, 2 insertions(+), 41 deletions(-)
---
diff --git a/vapoursynth-plugin-ocr.spec b/vapoursynth-plugin-ocr.spec
index 6c974fe..161fadc 100644
--- a/vapoursynth-plugin-ocr.spec
+++ b/vapoursynth-plugin-ocr.spec
@@ -1,15 +1,14 @@
Summary: Tesseract-based OCR plugin for Vapoursynth
Summary(pl.UTF-8): Oparta na Tesserakcie wtyczka OCR dla programu Vapoursynth
Name: vapoursynth-plugin-ocr
-Version: 1
+Version: 3
Release: 1
# it was vapoursynth.spec subpackage up to 54
Epoch: 1
License: MIT
Group: Libraries
Source0: https://github.com/vapoursynth/vs-ocr/archive/R%{version}/vs-ocr-R%{version}.tar.gz
-# Source0-md5: 108bc131d6b94479f3dc93033af7478e
-Patch0: vs-ocr-meson.patch
+# Source0-md5: 2372d12d4c7061258709106cf64c6881
URL: https://github.com/vapoursynth/vs-ocr
BuildRequires: meson
BuildRequires: ninja >= 1.5
@@ -28,7 +27,6 @@ klatkach obrazu.
%prep
%setup -q -n vs-ocr-R%{version}
-%patch0 -p1
%build
%meson build
diff --git a/vs-ocr-meson.patch b/vs-ocr-meson.patch
deleted file mode 100644
index cf11cda..0000000
--- a/vs-ocr-meson.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-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/68ab12351f5442192e9752dc4d73cbb0d37e0dcd
More information about the pld-cvs-commit
mailing list