summaryrefslogtreecommitdiff
path: root/user/libdvdread
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:03:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:03:53 -0500
commit240c87682f5d1ab182a1de95bd9d01d8593fecfc (patch)
tree60f45f60fae81be73b2c9eef5f50bf2b02253dea /user/libdvdread
parent845a5a2257288c17dbdcf59e3f0ce0d1b0ad9b59 (diff)
downloadpackages-240c87682f5d1ab182a1de95bd9d01d8593fecfc.tar.gz
packages-240c87682f5d1ab182a1de95bd9d01d8593fecfc.tar.bz2
packages-240c87682f5d1ab182a1de95bd9d01d8593fecfc.tar.xz
packages-240c87682f5d1ab182a1de95bd9d01d8593fecfc.zip
user/libdvdread: pull in, fix up, modernise, bump to 6.0.0
Diffstat (limited to 'user/libdvdread')
-rw-r--r--user/libdvdread/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libdvdread/APKBUILD b/user/libdvdread/APKBUILD
new file mode 100644
index 000000000..c8fd76b4c
--- /dev/null
+++ b/user/libdvdread/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer:
+pkgname=libdvdread
+pkgver=6.0.0
+pkgrel=0
+pkgdesc="Library for reading DVD video discs"
+url="http://dvdnav.mplayerhq.hu/"
+arch="all"
+license="GPL"
+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="b07179f2f665adf6ddd7bf8b7c48cd279f3f413c5719b8ca8467e53c7cd0cac02a40101f3717186dc0e4e69e5d9c7ac6bf98a76901412d74150b9fc7bfdd2479 libdvdread-6.0.0.tar.bz2"