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


                                              
            



                                             
                                                 
          




                                                                                             










                                  



                  


                                      
                                                                                                                                                                       
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: 
pkgname=libdvdread
pkgver=6.1.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"
depends=""
makedepends="libdvdcss-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="f02c2d33ec3e79a4efd0b4ed9172935b092c9f827eb6810ed354328c34b5206ee4ffd646239ce50b9401cab1758f1a746113e004461b20df4f44bc7fa6bc2278  libdvdread-6.1.1.tar.bz2"