summaryrefslogtreecommitdiff
path: root/extra/libbluray
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-01 14:47:52 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-01 14:47:52 +0200
commitc8bd9200906149d53827aaa64e85a7008d51339f (patch)
tree9e366130f0f7afde9d7a478b5c898d873aed0483 /extra/libbluray
parentd9a9508e07a00015e2a2f278719a9665ff565961 (diff)
parent752015395fc8b95cc4a86b68189cb747fe9a8499 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/jack2/PKGBUILD extra/pulseaudio/PKGBUILD extra/vim/PKGBUILD multilib/lib32-gnutls/PKGBUILD testing/dmraid/PKGBUILD testing/dmraid/dmraid_hook testing/dmraid/dmraid_install testing/e2fsprogs/PKGBUILD testing/openssh/PKGBUILD testing/openssh/sshd.pam testing/php/PKGBUILD testing/php/php-fpm.conf.in.patch testing/php/php.ini.patch testing/xfce4-session/PKGBUILD
Diffstat (limited to 'extra/libbluray')
-rw-r--r--extra/libbluray/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/extra/libbluray/PKGBUILD b/extra/libbluray/PKGBUILD
index d7c6b2216..d6b6538d8 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' 'mips64el')
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: