summaryrefslogtreecommitdiff
path: root/user/libbluray/APKBUILD
blob: 925ad2cfde8d5188bdfaaa6bd01d2b7fb12224db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libbluray
pkgver=1.0.0
pkgrel=1
pkgdesc="a library designed for Blu-Ray Discs playback"
url="http://www.videolan.org/developers/libbluray.html"
arch="all"
license="LGPL"
options="!check"  # Test requires an actual BD-ROM to play
makedepends="fontconfig-dev libxml2-dev"
subpackages="$pkgname-dev"
source="http://download.videolan.org/pub/videolan/libbluray/$pkgver/libbluray-$pkgver.tar.bz2"
builddir="$srcdir"/libbluray-$pkgver

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-bdjava
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="fcf2193c3b76f3436bc88ce8853cac16f29c3bb6c66447109c14202a41ea938cb6814502a8f724fb1b31add6bd36b42d3aed3eb4a8010c123537e073bd7a0be1  libbluray-1.0.0.tar.bz2"