archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libbluray / trunk / PKGBUILD
blob222dd3fe08c7ccbb7dabdd77f503a80a1b9c164d
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
4 # Contributor: Andrew Cook <ariscop@gmail.com>
6 pkgname=libbluray
7 pkgver=1.3.4
8 pkgrel=1
9 pkgdesc='Library to access Blu-Ray disks for video playback'
10 arch=(x86_64)
11 url=https://www.videolan.org/developers/libbluray.html
12 license=(LGPL2.1)
13 depends=(
14   fontconfig
15   libfreetype.so
16   libxml2
18 makedepends=(
19   apache-ant
20   git
21   java-environment
23 optdepends=('java-runtime: BD-J library')
24 provides=(libbluray.so)
25 _tag=bb5bc108ec695889855f06df338958004ff289ef
26 source=(
27   git+https://code.videolan.org/videolan/libbluray.git#tag=${_tag}
28   git+https://code.videolan.org/videolan/libudfread.git
30 b2sums=(
31   SKIP
32   SKIP
35 pkgver() {
36   cd libbluray
37   git describe --tags
40 prepare() {
41   cd libbluray
42   git config --global protocol.file.allow always
43   for submodule in contrib/libudfread; do
44     git submodule init ${submodule}
45     git config submodule.${submodule}.url ../${submodule#*/}
46     git submodule update ${submodule}
47   done
48   autoreconf -fiv
51 build() {
52   cd libbluray
53   ./configure \
54     --prefix=/usr
55   make
58 package() {
59   make DESTDIR="${pkgdir}" -C libbluray install
62 # vim: ts=2 sw=2 et: