commit 8642e8326b9eb97c4e22f24820b5166c31ff0a2a
Author: Jakub Bogusz <[email protected]>
Date:   Sun Apr 23 21:01:31 2023 +0200

    - now separate from vapoursynth

 vapoursynth-plugin-vivtc.spec | 46 +++++++++++++++++++++++++++++++++++++++++++
 vivtc-meson.patch             | 36 +++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
---
diff --git a/vapoursynth-plugin-vivtc.spec b/vapoursynth-plugin-vivtc.spec
new file mode 100644
index 0000000..d9970bd
--- /dev/null
+++ b/vapoursynth-plugin-vivtc.spec
@@ -0,0 +1,46 @@
+Summary:       Set of Vapoursynth filtes that can be used for inverse telecine
+Summary(pl.UTF-8):     Zestaw filtrów Vapoursynth, które można użyć do 
odwrotnego procesu telekina
+Name:          vapoursynth-plugin-vivtc
+Version:       1
+Release:       1
+License:       LGPL v2.1+
+Group:         Libraries
+Source0:       
https://github.com/vapoursynth/vivtc/archive/R%{version}/vivtc-R%{version}.tar.gz
+# Source0-md5: 49f2890f78878b9540e6fd767331a4ed
+Patch0:                vivtc-meson.patch
+URL:           https://github.com/vapoursynth/vivtc
+BuildRequires: meson
+BuildRequires: ninja >= 1.5
+BuildRequires: vapoursynth-devel >= 55
+Requires:      vapoursynth >= 55
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+VIVTC is a set of filters that can be used for inverse telecine. It is
+a rewrite of some of tritical's TIVTC filters.
+
+%description -l pl.UTF-8
+VIVTC to zbiór filtrów, które można wykorzystać do odwrotnego procesu
+telekina. Jest to przepisana część filtrów TIVTC tritical.
+
+%prep
+%setup -q -n vivtc-R%{version}
+%patch0 -p1
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/vivtc.rst
+%attr(755,root,root) %{_libdir}/vapoursynth/libvivtc.so
diff --git a/vivtc-meson.patch b/vivtc-meson.patch
new file mode 100644
index 0000000..379797d
--- /dev/null
+++ b/vivtc-meson.patch
@@ -0,0 +1,36 @@
+From a54c3c48f7910dcea47282a36fa43cb38feee730 Mon Sep 17 00:00:00 2001
+From: dmo <[email protected]>
+Date: Sun, 26 Sep 2021 22:28:47 +0200
+Subject: [PATCH] Add meson build
+
+---
+ meson.build | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
+ create mode 100644 meson.build
+
+diff --git a/meson.build b/meson.build
+new file mode 100644
+index 0000000..2e33e65
+--- /dev/null
++++ b/meson.build
+@@ -0,0 +1,20 @@
++project('vivtc', 'c', 'cpp',
++  version : '1',
++  default_options : ['warning_level=3'])
++
++add_project_arguments('-ffast-math', language : 'c')
++
++sources = [
++     'src/vivtc.c'
++]
++
++vapoursynth_dep = dependency('vapoursynth', version: 
'>=55').partial_dependency(compile_args : true, includes : true)
++
++deps = [vapoursynth_dep]
++
++shared_module('vivtc', 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-vivtc.git/commitdiff/8642e8326b9eb97c4e22f24820b5166c31ff0a2a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to