1 # Maintainer: Andrew Cook <ariscop@gmail.com>
6 pkgdesc="Blu-Ray access library"
9 url="http://www.videolan.org/developers/libbluray.html"
11 makedepends=('git' 'apache-ant' 'java-environment')
12 optdepends=('libaacs' 'libbdplus' 'java-runtime')
15 provides=('libbluray')
16 conflicts=('libbluray')
18 _gitroot="git://git.videolan.org/libbluray.git"
22 msg "Connecting to GIT server..."
24 if [ -d ${srcdir}/$_gitname ] ; then
25 cd $_gitname && git pull origin
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 cd ${srcdir}/libbluray
35 ./configure --prefix=/ --with-jdk=$J2SDKDIR --enable-bdjava
37 make DESTDIR=${pkgdir}/usr install || return 1