[packages/libklvanc] - updated to 1.6.0

qboosh qboosh at pld-linux.org
Thu Apr 6 17:29:21 CEST 2023


commit 6de49186b8635a826cf169124500a48c98990616
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 6 17:31:54 2023 +0200

    - updated to 1.6.0

 libklvanc-sh.patch | 32 ++++----------------------------
 libklvanc.spec     | 17 ++++++-----------
 2 files changed, 10 insertions(+), 39 deletions(-)
---
diff --git a/libklvanc.spec b/libklvanc.spec
index 3d13541..2bdab27 100644
--- a/libklvanc.spec
+++ b/libklvanc.spec
@@ -6,16 +6,13 @@
 Summary:	Library to parse/generate Vertical Ancillary Data
 Summary(pl.UTF-8):	Biblioteka do analizy/generowania danych VANC
 Name:		libklvanc
-# from configure.ac /AC_INIT
-Version:	1.0
-%define	rel	2
-%define	snap	20190806
-%define	gitref	c38d31b428d0e02061f32c14562d172ec3bd9608
-Release:	0.%{snap}.%{rel}
+Version:	1.6.0
+Release:	1
 License:	LGPL v2.1
 Group:		Libraries
-Source0:	https://github.com/stoth68000/libklvanc/archive/%{gitref}/%{name}-%{snap}.tar.gz
-# Source0-md5:	a870bc96decfe8951e5f5ec89e4b6a04
+#Source0Download: https://github.com/stoth68000/libklvanc/tags
+Source0:	https://github.com/stoth68000/libklvanc/archive/vid.obe.%{version}/%{name}-vid.obe.%{version}.tar.gz
+# Source0-md5:	392ccb9f57a8c34c2d6dedac6ae398cf
 Patch0:		%{name}-sh.patch
 URL:		https://github.com/stoth68000/libklvanc
 BuildRequires:	autoconf >= 2.68
@@ -72,7 +69,7 @@ API documentation for libklvanc library.
 Dokumentacja API biblioteki libklvanc.
 
 %prep
-%setup -q -n %{name}-%{gitref}
+%setup -q -n %{name}-vid.obe.%{version}
 %patch0 -p1
 
 %build
@@ -80,9 +77,7 @@ Dokumentacja API biblioteki libklvanc.
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
-# --disable-dep-curses: nothing actually uses it
 %configure \
-	--disable-dep-curses \
 	--disable-silent-rules \
 	%{!?with_static_libs:--disable-static}
 %{__make}
diff --git a/libklvanc-sh.patch b/libklvanc-sh.patch
index 22082f9..d5db644 100644
--- a/libklvanc-sh.patch
+++ b/libklvanc-sh.patch
@@ -1,7 +1,7 @@
---- libklvanc-c38d31b428d0e02061f32c14562d172ec3bd9608/configure.ac.orig	2019-11-13 22:38:45.000000000 +0100
-+++ libklvanc-c38d31b428d0e02061f32c14562d172ec3bd9608/configure.ac	2019-11-20 21:07:08.114284576 +0100
-@@ -14,10 +14,10 @@
- AC_PROG_CXX
+--- libklvanc-vid.obe.1.6.0/configure.ac.orig	2019-11-13 22:38:45.000000000 +0100
++++ libklvanc-vid.obe.1.6.0/configure.ac	2019-11-20 21:07:08.114284576 +0100
+@@ -13,8 +13,8 @@ AC_PROG_CC
+ AC_PROG_CC_C99
  if test `uname -s` = "Darwin"
  then
 -CFLAGS+=" -I/usr/local/include "
@@ -9,29 +9,5 @@
 +CFLAGS="$CFLAGS -I/usr/local/include "
 +LDFLAGS="$LDFLAGS -L/usr/local/lib "
  fi
--CFLAGS+=" -DKL_USERSPACE "
-+CFLAGS="$CFLAGS -DKL_USERSPACE "
  
  # We always build with -fPIC in case our static libraries end up
- # being linked into a consumer's shared library
-@@ -52,16 +52,16 @@
- 
- # Check for curses (optional)
- AC_CHECK_HEADERS([curses.h], HEADER_LIBCURSES="yes")
--if test "x$HEADER_LIBCURSES" == "xyes" ; then
--    if test "x$enablecurses" == "xtrue" ; then
--        LDFLAGS+=" -lcurses "
-+if test "x$HEADER_LIBCURSES" = "xyes" ; then
-+    if test "x$enablecurses" = "xtrue" ; then
-+        LDFLAGS="$LDFLAGS -lcurses "
-     fi
- fi
- AM_CONDITIONAL(LIBCURSES, test x"$HEADER_LIBCURSES" == x"yes")
- 
- AC_CHECK_HEADERS([libklmonitoring/klmonitoring.h], HEADER_LIBKLMONITORING="yes")
- if test "x$HEADER_LIBKLMONITORING" == "xyes" ; then
--    LDFLAGS+=" -lklmonitoring "
-+    LDFLAGS="$LDFLAGS -lklmonitoring "
- fi
- AM_CONDITIONAL(LIBKLMONITORING, test x"$HEADER_LIBKLMONITORING" == x"yes")
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libklvanc.git/commitdiff/6de49186b8635a826cf169124500a48c98990616



More information about the pld-cvs-commit mailing list