aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/libdvdread/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/main/libdvdread/APKBUILD b/main/libdvdread/APKBUILD
index 0f8ea8dac9..c336db1ebe 100644
--- a/main/libdvdread/APKBUILD
+++ b/main/libdvdread/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvdread
-pkgver=4.9.9
+pkgver=5.0.0
pkgrel=0
pkgdesc="a simple foundation for reading DVD video disks"
url="http://dvdnav.mplayerhq.hu/"
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://dvdnav.mplayerhq.hu/releases/libdvdread-$pkgver.tar.xz"
+source="http://www.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/libdvdread-$pkgver
prepare() {
@@ -27,7 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --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="1aa8ad88e462791a8e77d628a63ee788 libdvdread-4.9.9.tar.xz"
-sha256sums="d91275471ef69d488b05cf15c60e1cd65e17648bfc692b405787419f47ca424a libdvdread-4.9.9.tar.xz"
-sha512sums="681daf9d40eaf9fcc824f65f52d4a823a2e69c78aa4c532685c417f8ad81d1f0170974c52c1b81208ee503bfcedcb009d0d02fa17562de575e21ff9471782ff9 libdvdread-4.9.9.tar.xz"
+md5sums="20b964a3fb290b8df45c6b25d37411de libdvdread-5.0.0.tar.bz2"
+sha256sums="66fb1a3a42aa0c56b02547f69c7eb0438c5beeaf21aee2ae2c6aa23ea8305f14 libdvdread-5.0.0.tar.bz2"
+sha512sums="bc6d700001b6d71642ef92c4b9eec5732892f25ca53434edf0febf62797ebb85d2e5489109528c8e5b11cc71706b87c5ceedf458ed950b60efe6f2350ce4f09b libdvdread-5.0.0.tar.bz2"