summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-30 10:39:39 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-05-30 10:39:39 -0300
commit1cc7ac9055928c64ebf3a342fc626f6ced066b42 (patch)
tree941e1369b553368599870fdf74d7e687c9f10fac /extra
parent6575af67294a57126aa9408ee255db0e7be47bcd (diff)
ports + eglibc removal
Diffstat (limited to 'extra')
-rw-r--r--extra/libbluray/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/libbluray/PKGBUILD b/extra/libbluray/PKGBUILD
index d6b6538d8..d73db5a9d 100644
--- a/extra/libbluray/PKGBUILD
+++ b/extra/libbluray/PKGBUILD
@@ -10,8 +10,10 @@ arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/developers/libbluray.html"
license=('LGPL2.1')
depends=('libxml2')
+if [ "$CARCH" != "mips64el" ]; then
makedepends=('apache-ant' 'jdk7-openjdk')
optdepends=('java-environment: Blu-ray Disc Java support library')
+fi
options=(!libtool)
source=(ftp://ftp.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
sha512sums=('a27eaa929ef05c544beb966a24dfc5425546d6035bfb3e86dc60987b8a4761031ce27c3836a64f71cc76b5308c3cd75efb3bc1f238185819385477e64883888a')
@@ -19,11 +21,16 @@ sha512sums=('a27eaa929ef05c544beb966a24dfc5425546d6035bfb3e86dc60987b8a4761031ce
build() {
cd "$pkgname-$pkgver"
+if [ "$CARCH" != "mips64el" ]; then
. /etc/profile.d/jdk.sh
./configure --prefix=/usr \
--enable-bdjava \
--with-jdk=${JAVA_HOME} \
--disable-static
+else
+ ./configure --prefix=/usr \
+ --disable-static
+fi
make
}
@@ -31,7 +38,9 @@ package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
#install bdj
+if [ "$CARCH" != "mips64el" ]; then
install -Dm644 src/.libs/libbluray.jar "$pkgdir/usr/share/java/libbluray.jar"
+fi
}
# vim:set ts=2 sw=2 et: