aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvdnav/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-11-11 12:48:04 +0200
committerTimo Teräs <timo.teras@iki.fi>2014-11-11 12:48:04 +0200
commit527eb0303e680031cbc3c36e52d0348c8e83e5ff (patch)
treee681e11e456582498e8777bac1f352ff4e6c5ad3 /main/libdvdnav/APKBUILD
parent525bc5e3ed9f93a873745ece746d0c70fd9a5f69 (diff)
downloadaports-527eb0303e680031cbc3c36e52d0348c8e83e5ff.tar.bz2
aports-527eb0303e680031cbc3c36e52d0348c8e83e5ff.tar.xz
main/libdvdnav: upgrade to 5.0.1
Diffstat (limited to 'main/libdvdnav/APKBUILD')
-rw-r--r--main/libdvdnav/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/main/libdvdnav/APKBUILD b/main/libdvdnav/APKBUILD
index 20730cbec6..102613290c 100644
--- a/main/libdvdnav/APKBUILD
+++ b/main/libdvdnav/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvdnav
-pkgver=4.2.1
+pkgver=5.0.1
pkgrel=0
pkgdesc="a library for sophisticated DVD navigation features"
url="http://dvdnav.mplayerhq.hu/"
@@ -12,7 +12,7 @@ depends_dev="libdvdread-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
-source="http://dvdnav.mplayerhq.hu/releases/$pkgname-$pkgver.tar.xz"
+source="http://www.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/libdvdnav-$pkgver
prepare() {
@@ -27,7 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure2 --prefix=/usr --disable-static --disable-debug --enable-shared || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ --enable-shared \
+ || return 1
make || return 1
}
@@ -37,6 +43,6 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="8a1b2ebfe81daecb590893cb9093f832 libdvdnav-4.2.1.tar.xz"
-sha256sums="7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372 libdvdnav-4.2.1.tar.xz"
-sha512sums="3b7b18069b77a5a48ff5ad74f823b88f5dbf5058f11737ffef9d388d755616a581688c95dc1c3d9ab2377bce1dafaf53c9d46981a12588e6b3d8b70ce582e756 libdvdnav-4.2.1.tar.xz"
+md5sums="81e30fb57eaf9f61aa6513a7bd85bd74 libdvdnav-5.0.1.tar.bz2"
+sha256sums="72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9 libdvdnav-5.0.1.tar.bz2"
+sha512sums="4c86a664b0f32b2dc3cf0e332d6603cd24cae12cf8f8ca6b3d825db51d35ee222a566909103444e35e588347e3e5a8ff15ad8d00263b99e52020585bc823de29 libdvdnav-5.0.1.tar.bz2"