From ef4c2653361086353e9520141e4e742c7e627663 Mon Sep 17 00:00:00 2001
From: Marvin Scholz <epirat07@gmail.com>
Date: Thu, 8 Feb 2018 15:58:14 +0100
Subject: [PATCH] macosx/package: Package libbluray jar

(cherry picked from commit 1c9a6491a01a3bb5b27253769055e32d0364b3e6)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
---
 extras/package/macosx/package.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 157739a4a6ab..06db18cd2d49 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -56,6 +56,8 @@ endif
 	## Copy plugins
 	mkdir -p $@/Contents/MacOS/plugins
 	find $(prefix)/lib/vlc/plugins -name 'lib*_plugin.dylib' -maxdepth 2 -exec cp -a {} $@/Contents/MacOS/plugins \;
+	## Copy libbluray jar
+	find "$(CONTRIB_DIR)/share/java/" -name 'libbluray-j2se-*.jar' -maxdepth 1 -exec cp -a {} $@/Contents/MacOS/plugins \;
 	## Install binary
 	cp $(prefix)/bin/vlc $@/Contents/MacOS/VLC
 	## Generate plugin cache
-- 
GitLab