summaryrefslogblamecommitdiff
path: root/user/libdvdread/APKBUILD
blob: 879a36a29908d5e97e75f49606ad8e802490af68 (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.2
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="e8831a67bbf1a144e9298b59e5462889c8b0197592a3c169523b5d84d9b9c1aaa719ccde2aa98c490e04f2a94c3fa7244b286e8faed674ae8c70400a0ece9c6c  libdvdread-6.0.2.tar.bz2"