[arch-commits] Commit in libbluray/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Sun Apr 29 11:01:43 EDT 2012


    Date: Sunday, April 29, 2012 @ 11:01:43
  Author: ibiru
Revision: 157789

update to 0.2.2

Modified:
  libbluray/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 14:11:24 UTC (rev 157788)
+++ PKGBUILD	2012-04-29 15:01:43 UTC (rev 157789)
@@ -3,26 +3,35 @@
 # Contributor: Andrew Cook <ariscop at gmail.com>
 
 pkgname=libbluray
-pkgver=0.2.1
+pkgver=0.2.2
 pkgrel=1
 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=('libxml2')
+makedepends=('apache-ant' 'jdk7-openjdk')
+optdepends=('java-environment: Blu-ray Disc Java support library')
 options=(!libtool)
 source=(ftp://ftp.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
-sha512sums=('b938ca838d6e4ceaac74ca8850efb9d8c312638b70a9b42ebffd63bf703341eab3ce98b6edeea9b3284ba1d0f8b46fe803db1f668e72752e1e23e96435ac77dc')
+sha512sums=('a27eaa929ef05c544beb966a24dfc5425546d6035bfb3e86dc60987b8a4761031ce27c3836a64f71cc76b5308c3cd75efb3bc1f238185819385477e64883888a')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr --disable-static
+  cd "$pkgname-$pkgver"
+
+  . /etc/profile.d/jdk.sh
+  ./configure --prefix=/usr \
+    --enable-bdjava \
+    --with-jdk=${JAVA_HOME} \
+    --disable-static
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  #install bdj
+  install -Dm644 src/.libs/libbluray.jar "$pkgdir/usr/share/java/libbluray.jar"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list