From 920cda4709c0752be3f7e76fd795aa1f7a97130f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 5 May 2014 18:45:06 +0000
Subject: libbluray: update to 0.5.0

---
 abs/extra/libbluray/PKGBUILD | 27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/abs/extra/libbluray/PKGBUILD b/abs/extra/libbluray/PKGBUILD
index 083cc1a..26c7c22 100644
--- a/abs/extra/libbluray/PKGBUILD
+++ b/abs/extra/libbluray/PKGBUILD
@@ -1,37 +1,30 @@
-# $Id: PKGBUILD 157790 2012-04-29 15:02:33Z ibiru $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# $Id$
+# Maintainer:  Ionut Biru <ibiru@archlinux.org>
+# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
 # Contributor: Andrew Cook <ariscop@gmail.com>
 
 pkgname=libbluray
-pkgver=0.2.2
+pkgver=0.5.0
 pkgrel=1
-pkgdesc="Library to access Blu-Ray disks for video playback"
+pkgdesc='Library to access Blu-Ray disks for video playback'
 arch=('i686' 'x86_64')
-url="http://www.videolan.org/developers/libbluray.html"
+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)
+depends=('libxml2' 'freetype2')
 source=(ftp://ftp.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
-sha512sums=('a27eaa929ef05c544beb966a24dfc5425546d6035bfb3e86dc60987b8a4761031ce27c3836a64f71cc76b5308c3cd75efb3bc1f238185819385477e64883888a')
+md5sums=('04cf15d0f3581a955d3a2ccb9dc06e9e')
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
-  . /etc/profile.d/jdk.sh
   ./configure --prefix=/usr \
-    --enable-bdjava \
-    --with-jdk=${JAVA_HOME} \
     --disable-static
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  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:
-- 
cgit v0.12

