2009-12-30 02:18:54 +01:00
|
|
|
# Template file for 'libdvdnav'
|
|
|
|
pkgname=libdvdnav
|
2012-02-09 15:14:23 +01:00
|
|
|
version=4.2.0
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-16 10:26:21 +02:00
|
|
|
hostmakedepends="libtool automake"
|
2013-04-13 10:15:49 +02:00
|
|
|
makedepends="libdvdread-devel"
|
2009-12-30 02:18:54 +01:00
|
|
|
short_desc="Library to navigate DVDs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-09 15:14:23 +01:00
|
|
|
license="GPL-2"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://dvdnav.mplayerhq.hu/"
|
|
|
|
distfiles="http://dvdnav.mplayerhq.hu/releases/$pkgname-$version.tar.bz2"
|
2012-02-09 15:14:23 +01:00
|
|
|
checksum=8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550
|
2009-12-30 02:18:54 +01:00
|
|
|
long_desc="
|
|
|
|
libdvdnav is a library that allows easy use of sophisticated DVD navigation
|
|
|
|
features such as DVD menus, multiangle playback and even interactive DVD
|
|
|
|
games. All this functionality is provided through a simple API which
|
|
|
|
provides the DVD playback as a single logical stream of blocks, intermitted
|
|
|
|
by special dvdnav events to report certain conditions. The main usage of
|
|
|
|
libdvdnav is a loop regularly calling a function to get the next block,
|
|
|
|
surrounded by additional calls to tell the library of user interaction.
|
|
|
|
The whole DVD virtual machine and internal playback states are completely
|
|
|
|
encapsulated."
|
|
|
|
|
2012-02-09 15:14:23 +01:00
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
2009-12-30 02:18:54 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libdvdnav-devel_package() {
|
|
|
|
depends="libdvdread-devel libdvdnav>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libdvdnav_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|