From b37ce83936fc4d374e5b67b868bc850b76ee6edb Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 25 Dec 2024 12:30:59 +0300 Subject: [PATCH] import libklvanc-1.6.0-1.el10 --- .gitignore | 1 + .libklvanc.metadata | 1 + SPECS/libklvanc.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 .gitignore create mode 100644 .libklvanc.metadata create mode 100644 SPECS/libklvanc.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0f1805f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/vid.obe.1.6.0.tar.gz diff --git a/.libklvanc.metadata b/.libklvanc.metadata new file mode 100644 index 0000000..1197bfc --- /dev/null +++ b/.libklvanc.metadata @@ -0,0 +1 @@ +7d0203464ccdb43171a00a078a6d7030c9d606c6 SOURCES/vid.obe.1.6.0.tar.gz diff --git a/SPECS/libklvanc.spec b/SPECS/libklvanc.spec new file mode 100644 index 0000000..97d814a --- /dev/null +++ b/SPECS/libklvanc.spec @@ -0,0 +1,84 @@ +Name: libklvanc +Version: 1.6.0 +Release: 1%{?dist} +Summary: VANC Processing Framework +License: LGPL-2.1 +URL: https://github.com/stoth68000/libklvanc + +Source0: https://github.com/stoth68000/%{name}/archive/vid.obe.%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: doxygen +BuildRequires: gcc +BuildRequires: libtool + +%description +Libklvanc is a library which can be used for parsing/generation of Vertical +Ancillary Data (VANC) commonly found in the Serial Digital Interface (SDI) wire +protocol. + +The library includes a general parser/decoder and an encoder for VANC lines, as +well as the ability to both decode and generate protocols commonly found in SDI, +including: + +- SMPTE ST 334 - CEA-708 closed captions in VANC +- SMPTE ST 2016 Active Format Descriptor (AFD) and Bar Data +- SCTE-104 Ad triggers +- SMPTE ST 2038 arbitrary VANC encapsulation +- SMPTE ST 12-2 Timecodes +- SMPTE RDD 8 Subtitle Distribution packets +- SMPTE ST 2108-1 HDR/WCG Metadata Packing and Signaling + +By providing both encoders and decoders, the library can be used for common use +cases involving both capture of SDI (and subsequent decoding) as well as +generation of VANC for inclusion in an SDI output interface. This includes +computing/validating checksums at various levels and dealing with subtle edge +cases related to VANC line formatting such as ensuring packets are contiguous. + +The library also provides utility functions for various colorspaces VANC may be +represented in, including the V210 format typically used by BlackMagic Decklink +SDI cards. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -n %{name}-vid.obe.%{version} + +%build +autoreconf -vif +%configure --disable-static + +%make_build + +doxygen doxygen/%{name}.doxyconf + +%install +%make_install + +# Drop sample application +rm -fr %{buildroot}%{_bindir} + +%files +%license lgpl-2.1.txt +%doc README.md +%{_libdir}/%{name}.so.0.0.0 +%{_libdir}/%{name}.so.0 + +%files devel +%doc html +%{_includedir}/%{name} +%{_libdir}/%{name}.so + +%changelog +* Wed Dec 25 2024 Arkady L. Shane - 1.6.0-1 +- Rebuilt for MSVSphere 10 + +* Sun Jan 14 2024 Simone Caronni - 1.6.0-1 +- First build.