summaryrefslogblamecommitdiff
path: root/user/libbluray/APKBUILD
blob: a9b6dce6761ba7ead3f7054cfbf13fb8f6657005 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                              
                                                 
                 


                                                        
          
                                                          
                   
                                        
                                                                                               










                                           
                                    






                                      
                                                                                                                                                                      
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libbluray
pkgver=1.0.2
pkgrel=0
pkgdesc="Library for Blu-Ray disc playback"
url="https://www.videolan.org/developers/libbluray.html"
arch="all"
options="!check"  # Test requires an actual BD-ROM to play
license="LGPL-2.1+"
makedepends="fontconfig-dev libxml2-dev"
subpackages="$pkgname-dev"
source="https://download.videolan.org/pub/videolan/libbluray/$pkgver/libbluray-$pkgver.tar.bz2"

build() {
	cd "$builddir"

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

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

sha512sums="e1360ad08aa6cc67a80efa81a09004faebbe31105f1961494f82f655e3e7378b198ee3bc534b0d0c2bfec726939b11b545cc8bbfa30794fc647432dadf71089b  libbluray-1.0.2.tar.bz2"