[arch-commits] Commit in libbluray/repos (6 files)
Maxime Gauduin
alucryd at archlinux.org
Sun May 1 22:12:35 UTC 2016
Date: Monday, May 2, 2016 @ 00:12:34
Author: alucryd
Revision: 266738
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libbluray/repos/testing-i686/
libbluray/repos/testing-i686/PKGBUILD
(from rev 266737, libbluray/trunk/PKGBUILD)
libbluray/repos/testing-i686/libbluray-jdk8.patch
(from rev 266737, libbluray/trunk/libbluray-jdk8.patch)
libbluray/repos/testing-x86_64/
libbluray/repos/testing-x86_64/PKGBUILD
(from rev 266737, libbluray/trunk/PKGBUILD)
libbluray/repos/testing-x86_64/libbluray-jdk8.patch
(from rev 266737, libbluray/trunk/libbluray-jdk8.patch)
-------------------------------------+
testing-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++
testing-i686/libbluray-jdk8.patch | 35 +++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++
testing-x86_64/libbluray-jdk8.patch | 35 +++++++++++++++++++++++++++
4 files changed, 156 insertions(+)
Copied: libbluray/repos/testing-i686/PKGBUILD (from rev 266737, libbluray/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-05-01 22:12:34 UTC (rev 266738)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andrew Cook <ariscop at gmail.com>
+
+pkgname=libbluray
+pkgver=0.9.2
+pkgrel=2
+pkgdesc='Library to access Blu-Ray disks for video playback'
+arch=('i686' 'x86_64')
+url='http://www.videolan.org/developers/libbluray.html'
+license=('LGPL2.1')
+depends=('fontconfig' 'glibc' 'libfreetype.so' 'libxml2')
+makedepends=('apache-ant')
+optdepends=('java-environment: BD-J library')
+provides=('libbluray.so')
+source=("ftp://ftp.videolan.org/pub/videolan/libbluray/${pkgver}/libbluray-${pkgver}.tar.bz2"
+ 'libbluray-jdk8.patch')
+sha256sums=('efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea'
+ '7021ed1e3d39dc021fc84700a4c8f2372e6d8a6dca9780dae5026cc0b20fb82f')
+
+build() {
+ cd libbluray-${pkgver}
+
+ patch -Np1 -i ../libbluray-jdk8.patch
+}
+
+build() {
+ cd libbluray-${pkgver}
+
+ ./configure \
+ --prefix='/usr'
+ make
+}
+
+package() {
+ cd libbluray-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: libbluray/repos/testing-i686/libbluray-jdk8.patch (from rev 266737, libbluray/trunk/libbluray-jdk8.patch)
===================================================================
--- testing-i686/libbluray-jdk8.patch (rev 0)
+++ testing-i686/libbluray-jdk8.patch 2016-05-01 22:12:34 UTC (rev 266738)
@@ -0,0 +1,35 @@
+From 448eb757893e3875336004ca8375eb1219b72634 Mon Sep 17 00:00:00 2001
+From: hpi1 <hpi1 at anonymous.org>
+Date: Thu, 28 Apr 2016 16:44:26 +0300
+Subject: [PATCH] bdj: update linux Java search path list and preferred JVM
+
+1) JAVA_HOME
+2) System default JVM
+3) OpenJDK 7
+4) OpenJDK 8
+5) OpenJDK 6
+---
+ src/libbluray/bdj/bdj.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
+index 6ad6b59..ef82ee4 100644
+--- a/src/libbluray/bdj/bdj.c
++++ b/src/libbluray/bdj/bdj.c
+@@ -202,9 +202,11 @@ static void *_load_jvm(const char **p_java_home)
+ # else
+ static const char *jvm_path[] = {NULL, JDK_HOME,
+ "/usr/lib/jvm/default-java",
+- "/usr/lib/jvm/java-6-openjdk",
+- "/usr/lib/jvm/java-7-openjdk",
++ "/usr/lib/jvm/default",
+ "/etc/java-config-2/current-system-vm",
++ "/usr/lib/jvm/java-7-openjdk",
++ "/usr/lib/jvm/java-8-openjdk",
++ "/usr/lib/jvm/java-6-openjdk",
+ };
+ static const char jvm_dir[] = "jre/lib/" JAVA_ARCH "/server";
+ static const char jvm_lib[] = "libjvm";
+--
+1.7.10.4
+
Copied: libbluray/repos/testing-x86_64/PKGBUILD (from rev 266737, libbluray/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-05-01 22:12:34 UTC (rev 266738)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andrew Cook <ariscop at gmail.com>
+
+pkgname=libbluray
+pkgver=0.9.2
+pkgrel=2
+pkgdesc='Library to access Blu-Ray disks for video playback'
+arch=('i686' 'x86_64')
+url='http://www.videolan.org/developers/libbluray.html'
+license=('LGPL2.1')
+depends=('fontconfig' 'glibc' 'libfreetype.so' 'libxml2')
+makedepends=('apache-ant')
+optdepends=('java-environment: BD-J library')
+provides=('libbluray.so')
+source=("ftp://ftp.videolan.org/pub/videolan/libbluray/${pkgver}/libbluray-${pkgver}.tar.bz2"
+ 'libbluray-jdk8.patch')
+sha256sums=('efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea'
+ '7021ed1e3d39dc021fc84700a4c8f2372e6d8a6dca9780dae5026cc0b20fb82f')
+
+build() {
+ cd libbluray-${pkgver}
+
+ patch -Np1 -i ../libbluray-jdk8.patch
+}
+
+build() {
+ cd libbluray-${pkgver}
+
+ ./configure \
+ --prefix='/usr'
+ make
+}
+
+package() {
+ cd libbluray-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: libbluray/repos/testing-x86_64/libbluray-jdk8.patch (from rev 266737, libbluray/trunk/libbluray-jdk8.patch)
===================================================================
--- testing-x86_64/libbluray-jdk8.patch (rev 0)
+++ testing-x86_64/libbluray-jdk8.patch 2016-05-01 22:12:34 UTC (rev 266738)
@@ -0,0 +1,35 @@
+From 448eb757893e3875336004ca8375eb1219b72634 Mon Sep 17 00:00:00 2001
+From: hpi1 <hpi1 at anonymous.org>
+Date: Thu, 28 Apr 2016 16:44:26 +0300
+Subject: [PATCH] bdj: update linux Java search path list and preferred JVM
+
+1) JAVA_HOME
+2) System default JVM
+3) OpenJDK 7
+4) OpenJDK 8
+5) OpenJDK 6
+---
+ src/libbluray/bdj/bdj.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
+index 6ad6b59..ef82ee4 100644
+--- a/src/libbluray/bdj/bdj.c
++++ b/src/libbluray/bdj/bdj.c
+@@ -202,9 +202,11 @@ static void *_load_jvm(const char **p_java_home)
+ # else
+ static const char *jvm_path[] = {NULL, JDK_HOME,
+ "/usr/lib/jvm/default-java",
+- "/usr/lib/jvm/java-6-openjdk",
+- "/usr/lib/jvm/java-7-openjdk",
++ "/usr/lib/jvm/default",
+ "/etc/java-config-2/current-system-vm",
++ "/usr/lib/jvm/java-7-openjdk",
++ "/usr/lib/jvm/java-8-openjdk",
++ "/usr/lib/jvm/java-6-openjdk",
+ };
+ static const char jvm_dir[] = "jre/lib/" JAVA_ARCH "/server";
+ static const char jvm_lib[] = "libjvm";
+--
+1.7.10.4
+
More information about the arch-commits
mailing list