# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories devel multimedia
# nav_print.c and nav_types.h do not allow "any later version"
description simple foundation for reading DVD-Video images
libdvdread provides a simple foundation for reading DVD-Video \
images. It offers DVD applications: \
1. A simple abstraction for reading the files on a DVD image \
2. A simple library for parsing the information (IFO) files \
(ifo_read.h/ifo_types.h). \
3. A simple library for parsing the navigation (NAV) packets \
(nav_read.h/nav_types.h).
homepage http://dvdnav.mplayerhq.hu/
master_sites http://download.videolan.org/pub/videolan/${name}/${version}/
checksums rmd160 6bd78860bc9999e0a4ac61c2b87af43a3ba03f2f \
sha256 321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b
depends_lib port:libdvdcss
patchfiles patch-src_dvd_input.c.diff
reinplace -locale C "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/src/dvd_input.c
configure.args-append --disable-silent-rules
livecheck.url http://download.videolan.org/pub/videolan/${name}/
livecheck.regex {>([0-9.]+)/<}