libdvdnav: update to 5.0.1.

This commit is contained in:
Juan RP 2014-11-24 10:21:32 +01:00
parent d28c37e05e
commit 360228e54e
1 changed files with 5 additions and 9 deletions

View File

@ -1,33 +1,29 @@
# Template file for 'libdvdnav'
pkgname=libdvdnav
version=4.2.1
version=5.0.1
revision=1
build_style=gnu-configure
configure_args="--with-dvdread-config=/bin/true"
hostmakedepends="libtool automake pkg-config"
hostmakedepends="pkg-config"
makedepends="libdvdread-devel"
short_desc="Library to navigate DVDs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://dvdnav.mplayerhq.hu/"
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.xz"
checksum=7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372
distfiles="http://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=72b1cb8266f163d4a1481b92c7b6c53e6dc9274d2a6befb08ffc351fe7a4a2a9
CFLAGS+="-I${XBPS_CROSS_BASE}/usr/include"
LDFLAGS+="-L${XBPS_CROSS_BASE}/usr/lib -ldvdread"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libdvdnav-devel_package() {
depends="libdvdread-devel libdvdnav>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}