mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
zvbi: update to 0.2.43
log: https://github.com/zapping-vbi/zvbi/compare/v0.2.42...v0.2.43
This commit is contained in:
parent
878c919797
commit
6a1dc8092c
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="zvbi"
|
||||
PKG_VERSION="0.2.42"
|
||||
PKG_SHA256="e7614a847ce7dd2c05f1db84d21dcf25085565932efb014f27107ae940884d7f"
|
||||
PKG_VERSION="0.2.43"
|
||||
PKG_SHA256="437522d8d0906c43c0a51163f40a3a7e4c0f1f377c0d2d5f25c1b69c827fb3ed"
|
||||
PKG_LICENSE="GPL2"
|
||||
PKG_SITE="https://github.com/zapping-vbi/zvbi"
|
||||
PKG_URL="https://github.com/zapping-vbi/zvbi/archive/refs/tags/v${PKG_VERSION}.tar.gz"
|
||||
@ -13,7 +13,9 @@ PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-dvb \
|
||||
--disable-bktr \
|
||||
--disable-examples \
|
||||
--disable-nls \
|
||||
--disable-proxy \
|
||||
--disable-tests \
|
||||
--without-doxygen \
|
||||
--without-x"
|
||||
|
@ -9,22 +9,3 @@
|
||||
if test "x$HAVE_PNG" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBPNG, 1, [Define if you have libpng])
|
||||
fi
|
||||
--- a/examples/Makefile.am
|
||||
+++ b/examples/Makefile.am
|
||||
@@ -19,4 +19,4 @@ EXTRA_DIST = \
|
||||
INCLUDES = -I$(top_srcdir)/src
|
||||
|
||||
LDADD = $(top_builddir)/src/libzvbi.la \
|
||||
- $(PTHREAD_LIB) -lm $(PNG_LIB)
|
||||
+ $(PTHREAD_LIB) $(PNG_LIB) -lm
|
||||
--- a/examples/Makefile.in
|
||||
+++ b/examples/Makefile.in
|
||||
@@ -262,7 +262,7 @@ EXTRA_DIST = \
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src
|
||||
LDADD = $(top_builddir)/src/libzvbi.la \
|
||||
- $(PTHREAD_LIB) -lm $(PNG_LIB)
|
||||
+ $(PTHREAD_LIB) $(PNG_LIB) -lm
|
||||
|
||||
all: all-am
|
||||
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- a/contrib/ntsc-cc.c
|
||||
+++ b/contrib/ntsc-cc.c
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <locale.h>
|
||||
-#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
@@ -45,6 +44,7 @@
|
||||
#include "src/libzvbi.h"
|
||||
|
||||
#ifdef ENABLE_V4L2
|
||||
+# include <sys/ioctl.h>
|
||||
# include <asm/types.h>
|
||||
# include "src/videodev2k.h"
|
||||
#endif
|
@ -1,49 +0,0 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -22,8 +22,6 @@ SUBDIRS = \
|
||||
src \
|
||||
$(proxy_dirs) \
|
||||
contrib \
|
||||
- examples \
|
||||
- test \
|
||||
po \
|
||||
doc
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -78,7 +78,7 @@ pkgconfigDATA_INSTALL = $(INSTALL_DATA)
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
-DIST_SUBDIRS = m4 src daemon contrib examples test po doc
|
||||
+DIST_SUBDIRS = m4 src daemon contrib po doc
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(srcdir)/zvbi-0.2.pc.in $(srcdir)/zvbi.spec.in \
|
||||
$(top_srcdir)/build-aux/compile \
|
||||
@@ -268,8 +268,6 @@ SUBDIRS = \
|
||||
src \
|
||||
$(proxy_dirs) \
|
||||
contrib \
|
||||
- examples \
|
||||
- test \
|
||||
po \
|
||||
doc
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -384,7 +384,6 @@ AM_CONDITIONAL(BUILD_STATIC_LIB, [test "x$enable_static" = xyes])
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
contrib/Makefile
|
||||
- examples/Makefile
|
||||
daemon/Makefile
|
||||
daemon/zvbid.init
|
||||
doc/Doxyfile
|
||||
@@ -392,7 +391,6 @@ AC_OUTPUT([
|
||||
m4/Makefile
|
||||
src/Makefile
|
||||
src/dvb/Makefile
|
||||
- test/Makefile
|
||||
po/Makefile.in
|
||||
zvbi.spec
|
||||
zvbi-0.2.pc
|
@ -1,51 +0,0 @@
|
||||
From 429cf9337588d6e028bd1dc4633953b4eff09597 Mon Sep 17 00:00:00 2001
|
||||
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
|
||||
Date: Wed, 13 Mar 2024 17:42:18 +0200
|
||||
Subject: [PATCH] configure.ac: Move sincos function check to AC_CHECK_FUNCS
|
||||
|
||||
---
|
||||
configure.ac | 24 +-----------------------
|
||||
1 file changed, 1 insertion(+), 23 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ba6f385..476fd69 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -89,7 +89,7 @@ AC_CHECK_FUNCS([alarm dup2 gethostbyaddr gethostbyname getopt_long gettimeofday
|
||||
inet_ntoa localtime_r memmove memset mkdir modf munmap
|
||||
nl_langinfo putenv select setenv setlocale socket strcasecmp
|
||||
strchr strdup strerror strncasecmp strndup strrchr strstr
|
||||
- strtol strtoul tzset strptime getaddrinfo])
|
||||
+ strtol strtoul tzset strptime getaddrinfo sincos])
|
||||
|
||||
AM_CONDITIONAL(HAVE_STRPTIME, [test "x$HAVE_STRPTIME" = xyes])
|
||||
|
||||
@@ -112,28 +112,6 @@ dnl autoconf 2.71 required additional quotations and usages of "AC_LANG_SOURCE".
|
||||
dnl "Noteworthy changes in autoconf version 2.66 through 2.68"
|
||||
dnl <https://autotools.info/forwardporting/autoconf.html>
|
||||
|
||||
-dnl sincos() is a GNU extension (a macro, not a function).
|
||||
-dnl If not present we use a replacement.
|
||||
-AC_MSG_CHECKING([for sincos])
|
||||
-AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||
-#include <stdio.h>
|
||||
-#include <math.h>
|
||||
-int main (void) {
|
||||
-double s, c;
|
||||
-/* Make sure the compiler does not optimize sincos() away
|
||||
- so the linker can confirm its availability. */
|
||||
-scanf ("%f", &s);
|
||||
-sincos (s, &s, &c);
|
||||
-printf ("%f %f", s, c);
|
||||
-return 0;
|
||||
-}
|
||||
-])],[
|
||||
- AC_MSG_RESULT([yes])
|
||||
- AC_DEFINE(HAVE_SINCOS, 1, [Define if the sincos() function is available])
|
||||
-],[
|
||||
- AC_MSG_RESULT([no])
|
||||
-])
|
||||
-
|
||||
dnl log2() is a GNU extension (a macro, not a function).
|
||||
dnl If not present we use a replacement.
|
||||
AC_MSG_CHECKING([for log2])
|
Loading…
x
Reference in New Issue
Block a user