git: 5c4a548042f2 - main - multimedia/libbluray: update to version 1.3.4

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Fri, 09 Dec 2022 08:19:19 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c4a548042f287de15bd2e1152f8dc0749d2d6f4

commit 5c4a548042f287de15bd2e1152f8dc0749d2d6f4
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-12-09 08:17:58 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-12-09 08:19:06 +0000

    multimedia/libbluray: update to version 1.3.4
---
 multimedia/libbluray/Makefile                                |  8 +++-----
 multimedia/libbluray/distinfo                                |  6 +++---
 multimedia/libbluray/files/patch-src_file_mount__getfsstat.c | 10 ----------
 multimedia/libbluray/pkg-plist                               |  6 +++---
 4 files changed, 9 insertions(+), 21 deletions(-)

diff --git a/multimedia/libbluray/Makefile b/multimedia/libbluray/Makefile
index 898016b40ad3..a40eee943b5e 100644
--- a/multimedia/libbluray/Makefile
+++ b/multimedia/libbluray/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	libbluray
-DISTVERSION=	1.3.3
+DISTVERSION=	1.3.4
 PORTEPOCH=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	https://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	se@FreeBSD.org
 COMMENT=	Blu-Ray discs playback library for media players
 WWW=		https://www.videolan.org/developers/libbluray.html
 
@@ -44,11 +44,9 @@ JAVA_VERSION=	8
 JAVA_BUILD=	yes
 MAKE_ENV=	JAVA_HOME=${JAVA_HOME} \
 		PATH=${JAVA_HOME}/bin:${PATH}
-
 .endif
 
-post-patch:
-	@${RLN} ${WRKSRC}/jni/linux ${WRKSRC}/jni/freebsd
+pre-build:
 	@${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' ${WRKSRC}/src/libbluray/bdj/bdj.c
 
 .include <bsd.port.mk>
diff --git a/multimedia/libbluray/distinfo b/multimedia/libbluray/distinfo
index 755a1a6022ce..3f39a54d2869 100644
--- a/multimedia/libbluray/distinfo
+++ b/multimedia/libbluray/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663691929
-SHA256 (libbluray-1.3.3.tar.bz2) = 58ff52cdcee64c55dcc3c777a1c39fb41abd951b927978e4d2b6811b9193a488
-SIZE (libbluray-1.3.3.tar.bz2) = 761335
+TIMESTAMP = 1670573236
+SHA256 (libbluray-1.3.4.tar.bz2) = 478ffd68a0f5dde8ef6ca989b7f035b5a0a22c599142e5cd3ff7b03bbebe5f2b
+SIZE (libbluray-1.3.4.tar.bz2) = 756323
diff --git a/multimedia/libbluray/files/patch-src_file_mount__getfsstat.c b/multimedia/libbluray/files/patch-src_file_mount__getfsstat.c
deleted file mode 100644
index 1269a9f7cd38..000000000000
--- a/multimedia/libbluray/files/patch-src_file_mount__getfsstat.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/file/mount_getfsstat.c.orig	2022-09-19 14:16:13 UTC
-+++ src/file/mount_getfsstat.c
-@@ -28,6 +28,7 @@
- #include <stdlib.h>
- #include <string.h>
- 
-+#define __BSD_VISIBLE 1
- #include <sys/types.h>
- #include <sys/stat.h>
- #ifdef HAVE_GETFSSTAT
diff --git a/multimedia/libbluray/pkg-plist b/multimedia/libbluray/pkg-plist
index 6beea8e6a19b..7ef27fec7068 100644
--- a/multimedia/libbluray/pkg-plist
+++ b/multimedia/libbluray/pkg-plist
@@ -12,7 +12,7 @@ include/libbluray/overlay.h
 include/libbluray/player_settings.h
 lib/libbluray.so
 lib/libbluray.so.2
-lib/libbluray.so.2.4.2
+lib/libbluray.so.2.4.3
 libdata/pkgconfig/libbluray.pc
-%%JAVA%%%%JAVASHAREDIR%%/libbluray-awt-j2se-1.3.3.jar
-%%JAVA%%%%JAVASHAREDIR%%/libbluray-j2se-1.3.3.jar
+%%JAVASHAREDIR%%/libbluray-awt-j2se-1.3.4.jar
+%%JAVASHAREDIR%%/libbluray-j2se-1.3.4.jar