package/libdvdcss: bump version to 1.5.0

Release notes:
https://code.videolan.org/videolan/libdvdcss/-/blob/1.5.0/NEWS

Added patch to fix build errors.

Updated _SITE, switched tarball to xz and build system to meson.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: fix check-package error in hash file]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-11-16 09:56:09 +01:00
committed by Julien Olivain
parent 75dc8e1842
commit cd3a2f0ff3
3 changed files with 54 additions and 8 deletions

View File

@@ -0,0 +1,46 @@
From be34d026f44389745e29a7da977f84712066d3d0 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Sat, 15 Nov 2025 19:41:09 +0100
Subject: [PATCH] Fixed compilation problems with PATH_MAX
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
In file included from ../src/cpxm.c:38:
../src/libdvdcss.h:65:26: error: PATH_MAX undeclared here (not in a function)
65 | char psz_cachefile[PATH_MAX];
In file included from ../src/error.c:26:
../src/libdvdcss.h:65:26: error: PATH_MAX undeclared here (not in a function)
65 | char psz_cachefile[PATH_MAX];
In file included from ../src/libdvdcpxm.c:47:
../src/libdvdcss.h:65:26: error: PATH_MAX undeclared here (not in a function)
65 | char psz_cachefile[PATH_MAX];
Upstream: https://code.videolan.org/videolan/libdvdcss/-/merge_requests/24
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/libdvdcss.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libdvdcss.h b/src/libdvdcss.h
index f9d36ba..997af34 100644
--- a/src/libdvdcss.h
+++ b/src/libdvdcss.h
@@ -26,6 +26,11 @@
#include <limits.h>
+#include <config.h>
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
+
#include "dvdcss/dvdcss.h"
#include "cpxm.h"
#include "css.h"
--
2.47.3

View File

@@ -1,7 +1,7 @@
# From http://download.videolan.org/pub/videolan/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2.sha1
sha1 fcea8b2749ead8183636e48300bea8791abc79ee libdvdcss-1.4.3.tar.bz2
# From http://download.videolan.org/pub/videolan/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2.sha256
sha256 233cc92f5dc01c5d3a96f5b3582be7d5cee5a35a52d3a08158745d3d86070079 libdvdcss-1.4.3.tar.bz2
# From https://download.videolan.org/pub/videolan/libdvdcss/1.5.0/libdvdcss-1.5.0.tar.xz.sha1
sha1 bb21a27a32fa2a1d1e81448722fdc62c521a8803 libdvdcss-1.5.0.tar.xz
# From https://download.videolan.org/pub/videolan/libdvdcss/1.5.0/libdvdcss-1.5.0.tar.xz.sha256
sha256 529463e4d1befef82e5c6e470db7661a2db0343e092a2fb0d6c037cab8a5c399 libdvdcss-1.5.0.tar.xz
# Hash for license file:
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@@ -4,11 +4,11 @@
#
################################################################################
LIBDVDCSS_VERSION = 1.4.3
LIBDVDCSS_SOURCE = libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2
LIBDVDCSS_SITE = http://www.videolan.org/pub/videolan/libdvdcss/$(LIBDVDCSS_VERSION)
LIBDVDCSS_VERSION = 1.5.0
LIBDVDCSS_SOURCE = libdvdcss-$(LIBDVDCSS_VERSION).tar.xz
LIBDVDCSS_SITE = https://download.videolan.org/pub/videolan/libdvdcss/$(LIBDVDCSS_VERSION)
LIBDVDCSS_INSTALL_STAGING = YES
LIBDVDCSS_LICENSE = GPL-2.0+
LIBDVDCSS_LICENSE_FILES = COPYING
$(eval $(autotools-package))
$(eval $(meson-package))