Accepting request 266070 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/266070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbluray?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2014-12-23 10:50:10 +00:00 committed by Git OBS Bridge
commit 326ea6819c
3 changed files with 20 additions and 0 deletions

11
libbluray-jvm_dir.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/libbluray/bdj/bdj.c.orig 2014-09-01 14:06:01.000000000 +0200
+++ src/libbluray/bdj/bdj.c 2014-12-19 10:34:11.196480400 +0100
@@ -159,7 +159,7 @@
"/usr/lib/jvm/java-6-openjdk",
"/usr/lib/jvm/java-7-openjdk",
"/etc/java-config-2/current-system-vm"};
- static const char jvm_dir[] = "jre/lib/" JAVA_ARCH "/server";
+ static const char jvm_dir[] = "lib/" JAVA_ARCH "/server";
static const char jvm_lib[] = "libjvm";
# endif
#endif

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 19 09:53:26 UTC 2014 - joerg.lorenzen@ki.tng.de
- Added patch libbluray-jvm_dir.patch to set the correct path to
java lib because variable JAVA_HOME on openSUSE is defined
as '/usr/<LIB>/jvm/jre' by update-alternatives.
-------------------------------------------------------------------
Thu Dec 18 11:15:47 UTC 2014 - joerg.lorenzen@ki.tng.de

View File

@ -28,6 +28,7 @@ Group: Productivity/Multimedia/Other
Url: http://bd.videolan.org
Source: ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Patch1: libbluray-autotools.patch
Patch2: libbluray-jvm_dir.patch
Source99: baselibs.conf
BuildRequires: libtool
BuildRequires: pkg-config
@ -84,6 +85,7 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%prep
%setup -q
%patch1 -p0
%patch2 -p0
%build
autoreconf -fiv
%configure --disable-static --enable-bdjava