From b68c27dee5509c45baaa5c01a3b51c96cfa7d0d9 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Jul 2018 03:05:09 -0500 Subject: user/libdvdnav: pull in, fix up, modernise, bump to 6.0.0 --- user/libdvdnav/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/libdvdnav/APKBUILD (limited to 'user/libdvdnav') 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 +# 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" -- cgit v1.2.3-70-g09d2