pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libdvdnav Initial import of libdvdnav, vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/720dcaf643d2
branches:  trunk
changeset: 472215:720dcaf643d2
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Apr 06 13:44:52 2004 +0000

description:
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:

 multimedia/libdvdnav/DESCR            |   9 +++++++++
 multimedia/libdvdnav/Makefile         |  17 +++++++++++++++++
 multimedia/libdvdnav/PLIST            |  18 ++++++++++++++++++
 multimedia/libdvdnav/buildlink3.mk    |  18 ++++++++++++++++++
 multimedia/libdvdnav/distinfo         |   5 +++++
 multimedia/libdvdnav/patches/patch-aa |  24 ++++++++++++++++++++++++
 6 files changed, 91 insertions(+), 0 deletions(-)

diffs (115 lines):

diff -r 4205be34e6ae -r 720dcaf643d2 multimedia/libdvdnav/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libdvdnav/DESCR        Tue Apr 06 13:44:52 2004 +0000
@@ -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 -r 4205be34e6ae -r 720dcaf643d2 multimedia/libdvdnav/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libdvdnav/Makefile     Tue Apr 06 13:44:52 2004 +0000
@@ -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@localhost
+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 -r 4205be34e6ae -r 720dcaf643d2 multimedia/libdvdnav/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libdvdnav/PLIST        Tue Apr 06 13:44:52 2004 +0000
@@ -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 -r 4205be34e6ae -r 720dcaf643d2 multimedia/libdvdnav/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libdvdnav/buildlink3.mk        Tue Apr 06 13:44:52 2004 +0000
@@ -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 -r 4205be34e6ae -r 720dcaf643d2 multimedia/libdvdnav/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libdvdnav/distinfo     Tue Apr 06 13:44:52 2004 +0000
@@ -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 -r 4205be34e6ae -r 720dcaf643d2 multimedia/libdvdnav/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libdvdnav/patches/patch-aa     Tue Apr 06 13:44:52 2004 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index