[packages/klvanc-tools] - updated to 1.2.0
qboosh
qboosh at pld-linux.org
Thu Apr 6 17:31:14 CEST 2023
commit 377cbdb1ed5cf748e1c1c8a215100e266b91f82f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 6 17:33:48 2023 +0200
- updated to 1.2.0
klvanc-tools-sh.patch | 9 +++++++++
klvanc-tools.spec | 24 ++++++++++++++----------
2 files changed, 23 insertions(+), 10 deletions(-)
---
diff --git a/klvanc-tools.spec b/klvanc-tools.spec
index 7d701cf..2186105 100644
--- a/klvanc-tools.spec
+++ b/klvanc-tools.spec
@@ -1,22 +1,25 @@
+# TODO: libklmonitoring, Nielsen decoder SDK (IMonitorSdkProcessor.h, libMonitorSdk ...)?, Blackmagic SDK
Summary: Vertical Ancillary Data (VANC) tools
Summary(pl.UTF-8): Narzędzia do danych VANC (Vertical Ancillary Data)
Name: klvanc-tools
-Version: 1.0
-%define rel 2
-%define snap 20190911
-%define gitref 887b50247134b077c903ef813527ea33fa13b6c1
-Release: 0.%{snap}.%{rel}
+Version: 1.2.0
+Release: 1
License: LGPL v2.1
Group: Applications/Multimedia
-Source0: https://github.com/stoth68000/klvanc-tools/archive/%{gitref}/%{name}-%{snap}.tar.gz
-# Source0-md5: af886529a958f20fafc537bf78f17cf6
+#Source0Download: https://github.com/stoth68000/klvanc-tools/tags
+Source0: https://github.com/stoth68000/klvanc-tools/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 62efa94c9f70076607da572cf2d42630
Patch0: %{name}-am.patch
Patch1: %{name}-sh.patch
URL: https://github.com/stoth68000/klvanc-tools
-BuildRequires: libklvanc-devel
+BuildRequires: libklvanc-devel >= 1.2.0
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: libtool
BuildRequires: ncurses-devel
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig
+BuildRequires: zlib-devel >= 1.2.9
+Requires: libklvanc >= 1.2.0
+Requires: zlib >= 1.2.9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,7 +37,7 @@ Digital Interface (SDI).
Ten pakiet zawiera narzędzia zbudowane w oparciu o bibliotekę.
%prep
-%setup -q -n %{name}-%{gitref}
+%setup -q
%patch0 -p1
%patch1 -p1
@@ -61,3 +64,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README.md
%attr(755,root,root) %{_bindir}/klvanc_capture
+%attr(755,root,root) %{_bindir}/klvanc_transmitter
diff --git a/klvanc-tools-sh.patch b/klvanc-tools-sh.patch
index f888e2e..d48e5e4 100644
--- a/klvanc-tools-sh.patch
+++ b/klvanc-tools-sh.patch
@@ -31,3 +31,12 @@
fi
AM_CONDITIONAL(LIBKLMONITORING, test x"$HEADER_LIBKLMONITORING" == x"yes")
+@@ -60,7 +60,7 @@ AM_CONDITIONAL(LIBKLMONITORING, test x"$
+ AC_LANG_PUSH([C++])
+ AC_CHECK_HEADERS([IMonitorSdkProcessor.h], HEADER_NIELSENSDK="yes")
+ if test "x$HEADER_NIELSENSDK" == "xyes" ; then
+- LDFLAGS+=" -lMonitorSdk -lNaes2HybridDecoder -lNaes2HFDecoder -lNaes6Decoder -lCBETDecoder -lNielsenAudioCore "
++ LDFLAGS="$LDFLAGS -lMonitorSdk -lNaes2HybridDecoder -lNaes2HFDecoder -lNaes6Decoder -lCBETDecoder -lNielsenAudioCore "
+ fi
+ AM_CONDITIONAL(NIELSENSDK, test x"$HEADER_NIELSENSDK" == x"yes")
+ AC_LANG_POP([C++])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/klvanc-tools.git/commitdiff/377cbdb1ed5cf748e1c1c8a215100e266b91f82f
More information about the pld-cvs-commit
mailing list