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


                                              
            



                                             
                                                 

























                                                                                             
                                                                                                                                                                       
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: 
pkgname=libdvdread
pkgver=6.0.1
pkgrel=0
pkgdesc="Library for reading DVD video discs"
url="http://dvdnav.mplayerhq.hu/"
arch="all"
license="GPL-2.0+ AND LGPL-2.1+ AND GPL-2.0-only"
makedepends="libdvdcss-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--enable-shared \
		--with-libdvdcss
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="550c01f6afcaca217d8852fdd9f4a54790239b674a45bb7c1c23a58fb5dec009e3028049a54f0904c08f15f5ad994e66bd6bea9cc8d5a8808e8b638ff8e27c4b  libdvdread-6.0.1.tar.bz2"