diff options
author | jmmv <jmmv> | 2004-04-06 13:44:52 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-04-06 13:44:52 +0000 |
commit | d78f36f5b3fd3a25f83003501904e093f0d41159 (patch) | |
tree | 5aaed4674cedd457a479f8c2f9e132a6f1232fd7 /multimedia/libdvdnav | |
parent | 2098f428c4859234d6fe362777be09c533591e1d (diff) | |
download | pkgsrc-d78f36f5b3fd3a25f83003501904e093f0d41159.tar.gz |
Initial import of libdvdnav, version 0.8.0:
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.
Diffstat (limited to 'multimedia/libdvdnav')
-rw-r--r-- | multimedia/libdvdnav/DESCR | 9 | ||||
-rw-r--r-- | multimedia/libdvdnav/Makefile | 17 | ||||
-rw-r--r-- | multimedia/libdvdnav/PLIST | 18 | ||||
-rw-r--r-- | multimedia/libdvdnav/buildlink3.mk | 18 | ||||
-rw-r--r-- | multimedia/libdvdnav/distinfo | 5 | ||||
-rw-r--r-- | multimedia/libdvdnav/patches/patch-aa | 24 |
6 files changed, 91 insertions, 0 deletions
diff --git a/multimedia/libdvdnav/DESCR b/multimedia/libdvdnav/DESCR new file mode 100644 index 00000000000..ec0113bb76e --- /dev/null +++ b/multimedia/libdvdnav/DESCR @@ -0,0 +1,9 @@ +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. diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile new file mode 100644 index 00000000000..dd7e5ed0f70 --- /dev/null +++ b/multimedia/libdvdnav/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/06 13:44:52 jmmv Exp $ +# + +DISTNAME= libdvdnav-0.1.9 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvd/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://dvd.sourceforge.net/ +COMMENT= Library to navigate DVDs + +GNU_CONFIGURE= YES +USE_BUILDLINK3= YES +USE_LIBTOOL= YES + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/libdvdnav/PLIST b/multimedia/libdvdnav/PLIST new file mode 100644 index 00000000000..0459b3c459d --- /dev/null +++ b/multimedia/libdvdnav/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/06 13:44:53 jmmv Exp $ +bin/dvdnav-config +include/dvdnav/dvd_reader.h +include/dvdnav/dvd_types.h +include/dvdnav/dvd_udf.h +include/dvdnav/dvdnav.h +include/dvdnav/dvdnav_events.h +include/dvdnav/ifo_read.h +include/dvdnav/ifo_types.h +include/dvdnav/nav_print.h +include/dvdnav/nav_read.h +include/dvdnav/nav_types.h +lib/libdvdnav.a +lib/libdvdnav.la +lib/libdvdnav.so +lib/libdvdnav.so.3 +lib/libdvdnav.so.3.0 +@dirrm include/dvdnav diff --git a/multimedia/libdvdnav/buildlink3.mk b/multimedia/libdvdnav/buildlink3.mk new file mode 100644 index 00000000000..b269cd4c168 --- /dev/null +++ b/multimedia/libdvdnav/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/06 13:44:52 jmmv Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBDVDNAV_BUILDLINK3_MK:= ${LIBDVDNAV_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libdvdnav +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdnav} +BUILDLINK_PACKAGES+= libdvdnav + +.if !empty(LIBDVDNAV_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libdvdnav+= libdvdnav>=0.1.9 +BUILDLINK_PKGSRCDIR.libdvdnav?= ../../multimedia/libdvdnav +.endif # LIBDVDNAV_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/multimedia/libdvdnav/distinfo b/multimedia/libdvdnav/distinfo new file mode 100644 index 00000000000..84a348092df --- /dev/null +++ b/multimedia/libdvdnav/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/06 13:44:53 jmmv Exp $ + +SHA1 (libdvdnav-0.1.9.tar.gz) = a3c010679c35cd2eb3f8539f1d6749fef6da7cfc +Size (libdvdnav-0.1.9.tar.gz) = 381749 bytes +SHA1 (patch-aa) = f28ec2061eb09c9ab0f7a4a499b1d27aa2f48119 diff --git a/multimedia/libdvdnav/patches/patch-aa b/multimedia/libdvdnav/patches/patch-aa new file mode 100644 index 00000000000..c49dc50cc8f --- /dev/null +++ b/multimedia/libdvdnav/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/04/06 13:44:53 jmmv Exp $ + +--- src/vm.c.orig 2003-04-29 17:25:20.000000000 +0200 ++++ src/vm.c +@@ -47,6 +47,10 @@ + #define lseek64 lseek + #endif /* _MSC_VER */ + ++#ifdef __NetBSD__ ++#define lseek64 lseek ++#endif ++ + /* + #define STRICT + */ +@@ -128,7 +132,7 @@ static void vm_print_current_domain_stat + + static void dvd_read_name(char *name, const char *device) { + int fd, i; +-#if !defined(__FreeBSD__) && !defined(WIN32) ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(WIN32) + off64_t off; + #else + off_t off; |