summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:05:09 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 03:05:09 -0500
commitb68c27dee5509c45baaa5c01a3b51c96cfa7d0d9 (patch)
tree52eb40706799ae5b24a49c9e53861055e6ca3c01
parent240c87682f5d1ab182a1de95bd9d01d8593fecfc (diff)
downloadpackages-b68c27dee5509c45baaa5c01a3b51c96cfa7d0d9.tar.gz
packages-b68c27dee5509c45baaa5c01a3b51c96cfa7d0d9.tar.bz2
packages-b68c27dee5509c45baaa5c01a3b51c96cfa7d0d9.tar.xz
packages-b68c27dee5509c45baaa5c01a3b51c96cfa7d0d9.zip
user/libdvdnav: pull in, fix up, modernise, bump to 6.0.0
-rw-r--r--user/libdvdnav/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libdvdnav/APKBUILD b/user/libdvdnav/APKBUILD
new file mode 100644
index 000000000..d8350045f
--- /dev/null
+++ b/user/libdvdnav/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer:
+pkgname=libdvdnav
+pkgver=6.0.0
+pkgrel=0
+pkgdesc="Library for sophisticated DVD navigation features"
+url="http://dvdnav.mplayerhq.hu/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+depends_dev="libdvdread-dev>=5.0.3"
+makedepends="$depends_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
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="89d1e976d8f1cc92692e86e793403759b4d705682ba7418dcfd7dd3c38861238cead303fe4baa2059ebd7e9b82a77bbdbf32e50b20848e78939ee9e75d1b96d4 libdvdnav-6.0.0.tar.bz2"