diff options
author | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
commit | 752015395fc8b95cc4a86b68189cb747fe9a8499 (patch) | |
tree | 3e64f1f739447b52eab8498bf13bcbc9410cde8e /extra/libbluray | |
parent | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff) |
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'extra/libbluray')
-rw-r--r-- | extra/libbluray/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/extra/libbluray/PKGBUILD b/extra/libbluray/PKGBUILD index cad6d04c5..083cc1a4d 100644 --- a/extra/libbluray/PKGBUILD +++ b/extra/libbluray/PKGBUILD @@ -1,28 +1,37 @@ -# $Id: PKGBUILD 144944 2011-12-11 14:37:09Z ibiru $ +# $Id: PKGBUILD 157790 2012-04-29 15:02:33Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Andrew Cook <ariscop@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: |