Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
multimedia/libv4l: update to 1.22.1
To:
ports@openbsd.org
Date:
Tue, 09 Jan 2024 23:47:45 +0000

Download raw body.

Thread
  • Klemens Nanni:

    multimedia/libv4l: update to 1.22.1

We're getting behind in updates and this one is straight forward
compared to the pending ones, so I'd like to get that out of the way.

https://git.linuxtv.org/v4l-utils.git/tree/ChangeLog?h=stable-1.22
is already a bunch, 1.24 will need patching, 1.26 must use meson.

Works for me in light vlc and tg_owt/tdesktop testing.

Feedback? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/libv4l/Makefile,v
diff -u -p -r1.34 Makefile
--- Makefile	4 Nov 2023 10:18:58 -0000	1.34
+++ Makefile	21 Dec 2023 13:44:13 -0000
@@ -1,14 +1,14 @@
 COMMENT =		libv4l userspace library
 
-VERSION =		1.20.0
+# 1.24 fails to build, 1.26 dropped auto* for meson
+VERSION =		1.22.1
 DISTNAME =		v4l-utils-${VERSION}
 PKGNAME =		libv4l-${VERSION}
-REVISION =		5
 
-SHARED_LIBS +=	v4l1		0.0 # 0.0
-SHARED_LIBS +=	v4l2		0.0 # 0.0
-SHARED_LIBS +=	v4l2rds		0.0 # 0.0
-SHARED_LIBS +=	v4lconvert	0.0 # 0.0
+SHARED_LIBS +=	v4l1		0.1 # 0.0
+SHARED_LIBS +=	v4l2		0.1 # 0.0
+SHARED_LIBS +=	v4l2rds		0.1 # 0.0
+SHARED_LIBS +=	v4lconvert	0.1 # 0.0
 
 CATEGORIES =		multimedia
 
@@ -40,6 +40,6 @@ CPPFLAGS +=	-DCONFIG_SYS_WRAPPER
 CPPFLAGS +=	-I${LOCALBASE}/include
 
 
-AUTOCONF_VERSION =	2.69
+AUTOCONF_VERSION =	2.71
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/libv4l/distinfo,v
diff -u -p -r1.19 distinfo
--- distinfo	26 May 2020 09:54:56 -0000	1.19
+++ distinfo	21 Dec 2023 13:44:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (v4l-utils-1.20.0.tar.bz2) = lWEYcT98y0BcVccIimokkMMtVDAN2aMNjVAIwo03Jvc=
-SIZE (v4l-utils-1.20.0.tar.bz2) = 2030419
+SHA256 (v4l-utils-1.22.1.tar.bz2) = Zcb76DCkTKEFxEOwJxgsGyyQU6kdHnKthJ36s4i5TjE=
+SIZE (v4l-utils-1.22.1.tar.bz2) = 2086238
Index: patches/patch-lib_libv4lconvert_Makefile_in
===================================================================
RCS file: /cvs/ports/multimedia/libv4l/patches/patch-lib_libv4lconvert_Makefile_in,v
diff -u -p -r1.10 patch-lib_libv4lconvert_Makefile_in
--- patches/patch-lib_libv4lconvert_Makefile_in	11 Mar 2022 19:39:22 -0000	1.10
+++ patches/patch-lib_libv4lconvert_Makefile_in	21 Dec 2023 13:44:30 -0000
@@ -3,7 +3,7 @@ OpenBSD does not have an rt library.
 Index: lib/libv4lconvert/Makefile.in
 --- lib/libv4lconvert/Makefile.in.orig
 +++ lib/libv4lconvert/Makefile.in
-@@ -545,7 +545,7 @@ libv4lconvert_la_SOURCES = libv4lconvert.c tinyjpeg.c 
+@@ -548,7 +548,7 @@ libv4lconvert_la_SOURCES = libv4lconvert.c tinyjpeg.c 
  	libv4lconvert-priv.h libv4lsyscall-priv.h tinyjpeg.h \
  	tinyjpeg-internal.h $(am__append_1) $(am__append_2)
  libv4lconvert_la_CPPFLAGS = $(CFLAG_VISIBILITY) $(ENFORCE_LIBV4L_STATIC)