summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:51:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:51:21 (GMT)
commit7bf2e79c73dc06505a896c7cf164d8f620c16ba6 (patch)
tree8b8aee820afbf50ba5fd71f8b45920ab4d6679e5 /abs/extra
parent144bcf3751dacaa23416bf8caa3c189ce58b1917 (diff)
downloadlinhes_pkgbuild-7bf2e79c73dc06505a896c7cf164d8f620c16ba6.zip
linhes_pkgbuild-7bf2e79c73dc06505a896c7cf164d8f620c16ba6.tar.gz
linhes_pkgbuild-7bf2e79c73dc06505a896c7cf164d8f620c16ba6.tar.bz2
libblueray: replaces libbluray-git
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/libbluray/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/extra/libbluray/PKGBUILD b/abs/extra/libbluray/PKGBUILD
new file mode 100644
index 0000000..083cc1a
--- /dev/null
+++ b/abs/extra/libbluray/PKGBUILD
@@ -0,0 +1,37 @@
+# $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.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=('a27eaa929ef05c544beb966a24dfc5425546d6035bfb3e86dc60987b8a4761031ce27c3836a64f71cc76b5308c3cd75efb3bc1f238185819385477e64883888a')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ . /etc/profile.d/jdk.sh
+ ./configure --prefix=/usr \
+ --enable-bdjava \
+ --with-jdk=${JAVA_HOME} \
+ --disable-static
+ make
+}
+
+package() {
+ 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: