# Description: Blu-Ray access library.
# URL: https://www.videolan.org/developers/libbluray.html
# Maintainer: unmaintained
# Depends on: fontconfig libxml2

name=libbluray
version=1.3.4
release=1
source=(https://download.videolan.org/pub/videolan/libbluray/$version/libbluray-$version.tar.bz2)

build() {
  cd $name-$version

  ./configure \
    $([ -e /usr/bin/ant ] || echo --disable-bdjava-jar) \
    --prefix=/usr

  make
  make DESTDIR=$PKG install
}
