aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Neubauer <m.ne@gmx.net>2022-05-23 14:51:06 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2022-05-23 14:51:06 +0000
commitb1598a98ce0b8e12038e24a6f34fb08a79949506 (patch)
treeca4c66cea50efffd42f0705159a12dc33f9c39dc
parentaa77a46d8e503395519bb056eca1e89f5fe9cdba (diff)
downloadports-b1598a98ce0b8e12038e24a6f34fb08a79949506.tar.gz
ports-b1598a98ce0b8e12038e24a6f34fb08a79949506.zip
multimedia/libbluray: Update to 1.3.1
-rw-r--r--multimedia/libbluray/Makefile3
-rw-r--r--multimedia/libbluray/distinfo6
-rw-r--r--multimedia/libbluray/files/patch-src_libbluray_bdj_java_java_io_BDFileSystem.java20
-rw-r--r--multimedia/libbluray/pkg-plist6
4 files changed, 27 insertions, 8 deletions
diff --git a/multimedia/libbluray/Makefile b/multimedia/libbluray/Makefile
index 7dbe3421dc05..aa1676bd9c18 100644
--- a/multimedia/libbluray/Makefile
+++ b/multimedia/libbluray/Makefile
@@ -1,8 +1,7 @@
# Created by: kamikaze@bsdforen.de
PORTNAME= libbluray
-DISTVERSION= 1.3.0
-PORTREVISION= 2
+DISTVERSION= 1.3.1
PORTEPOCH= 1
CATEGORIES= multimedia
MASTER_SITES= https://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/
diff --git a/multimedia/libbluray/distinfo b/multimedia/libbluray/distinfo
index 244c7844cadd..00500b73de3b 100644
--- a/multimedia/libbluray/distinfo
+++ b/multimedia/libbluray/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618130604
-SHA256 (libbluray-1.3.0.tar.bz2) = e2dbaf99e84e0a9725f4985bcb85d41e52c2261cc651d8884b1b790b5ef016f9
-SIZE (libbluray-1.3.0.tar.bz2) = 754069
+TIMESTAMP = 1653163455
+SHA256 (libbluray-1.3.1.tar.bz2) = c24b0f41c5b737bbb65c544fe63495637a771c10a519dfc802e769f112b43b75
+SIZE (libbluray-1.3.1.tar.bz2) = 754867
diff --git a/multimedia/libbluray/files/patch-src_libbluray_bdj_java_java_io_BDFileSystem.java b/multimedia/libbluray/files/patch-src_libbluray_bdj_java_java_io_BDFileSystem.java
new file mode 100644
index 000000000000..114dbf7fdfe5
--- /dev/null
+++ b/multimedia/libbluray/files/patch-src_libbluray_bdj_java_java_io_BDFileSystem.java
@@ -0,0 +1,20 @@
+--- src/libbluray/bdj/java/java/io/BDFileSystem.java.orig 2022-03-03 17:05:27 UTC
++++ src/libbluray/bdj/java/java/io/BDFileSystem.java
+@@ -227,6 +227,17 @@ public abstract class BDFileSystem extends FileSystem
+ return fs.isAbsolute(f);
+ }
+
++ public boolean isInvalid(File f) {
++ try {
++ Method m = fs.getClass().getDeclaredMethod("isInvalid", new Class[] { File.class });
++ Object[] args = new Object[] {(Object)f};
++ Boolean result = (Boolean)m.invoke(fs, args);
++ return result.booleanValue();
++ } finally {
++ return false;
++ }
++ }
++
+ public String resolve(File f) {
+ if (!booted)
+ return fs.resolve(f);
diff --git a/multimedia/libbluray/pkg-plist b/multimedia/libbluray/pkg-plist
index 060db3881236..be2429ea31cf 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.0
+lib/libbluray.so.2.4.1
libdata/pkgconfig/libbluray.pc
-%%JAVA%%%%JAVASHAREDIR%%/libbluray-j2se-1.3.0.jar
-%%JAVA%%%%JAVASHAREDIR%%/libbluray-awt-j2se-1.3.0.jar
+%%JAVA%%%%JAVASHAREDIR%%/libbluray-j2se-1.3.1.jar
+%%JAVA%%%%JAVASHAREDIR%%/libbluray-awt-j2se-1.3.1.jar