libdvdnav-0.1.9, dvd navigation library
This commit is contained in:
parent
faa4589bc3
commit
697bffe508
24
multimedia/libdvdnav/Makefile
Normal file
24
multimedia/libdvdnav/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/12/16 07:37:59 jolan Exp $
|
||||
|
||||
COMMENT= "library for developers of multimedia applications"
|
||||
DISTNAME= libdvdnav-0.1.9
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dvd/}
|
||||
|
||||
HOMEPAGE= http://dvd.sourceforge.net/
|
||||
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
WANTLIB= pthread
|
||||
|
||||
LIB_DEPENDS= dvdread.3.0::devel/libdvdread
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" LIBS="-pthread"
|
||||
|
||||
.include <bsd.port.mk>
|
3
multimedia/libdvdnav/distinfo
Normal file
3
multimedia/libdvdnav/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (libdvdnav-0.1.9.tar.gz) = 5b0d168d87f66f8c8d7b2b51e16ff9d8
|
||||
RMD160 (libdvdnav-0.1.9.tar.gz) = c0421f9c0b70ba98f1fad980bd6072a6d079897e
|
||||
SHA1 (libdvdnav-0.1.9.tar.gz) = a3c010679c35cd2eb3f8539f1d6749fef6da7cfc
|
12
multimedia/libdvdnav/patches/patch-configure
Normal file
12
multimedia/libdvdnav/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2004/12/16 07:37:59 jolan Exp $
|
||||
--- configure.orig Tue May 20 16:20:15 2003
|
||||
+++ configure Thu Dec 16 01:14:33 2004
|
||||
@@ -9859,7 +9859,7 @@ fi
|
||||
|
||||
|
||||
|
||||
-CFLAGS="$CFLAGS -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
|
||||
+CFLAGS="$CFLAGS -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
|
||||
DEBUG_CFLAGS="$CFLAGS -g -DDEBUG"
|
||||
|
||||
|
55
multimedia/libdvdnav/patches/patch-ltmain_sh
Normal file
55
multimedia/libdvdnav/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,55 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2004/12/16 07:37:59 jolan Exp $
|
||||
--- ltmain.sh.orig Tue May 20 16:20:02 2003
|
||||
+++ ltmain.sh Thu Dec 16 01:11:52 2004
|
||||
@@ -4306,8 +4306,8 @@ relink_command=\"$relink_command\""
|
||||
for linkname
|
||||
do
|
||||
if test "$linkname" != "$realname"; then
|
||||
- $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
|
||||
- $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
|
||||
+ $show "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
|
||||
+ $run eval "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
@@ -4569,40 +4569,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
23
multimedia/libdvdnav/patches/patch-src_vm_c
Normal file
23
multimedia/libdvdnav/patches/patch-src_vm_c
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-src_vm_c,v 1.1.1.1 2004/12/16 07:37:59 jolan Exp $
|
||||
--- src/vm.c.orig Tue Apr 29 10:25:20 2003
|
||||
+++ src/vm.c Thu Dec 16 01:14:01 2004
|
||||
@@ -47,6 +47,10 @@
|
||||
#define lseek64 lseek
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+#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(__OpenBSD__) && !defined(WIN32)
|
||||
off64_t off;
|
||||
#else
|
||||
off_t off;
|
10
multimedia/libdvdnav/pkg/DESCR
Normal file
10
multimedia/libdvdnav/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
libdvdnav is a library for developers of multimedia applications. It
|
||||
allows easy use of sophisticated DVD navigation features such as DVD
|
||||
menus, multi-angle 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.
|
2
multimedia/libdvdnav/pkg/PFRAG.shared
Normal file
2
multimedia/libdvdnav/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/12/16 07:37:59 jolan Exp $
|
||||
@lib lib/libdvdnav.so.3.0
|
15
multimedia/libdvdnav/pkg/PLIST
Normal file
15
multimedia/libdvdnav/pkg/PLIST
Normal file
@ -0,0 +1,15 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/16 07:37:59 jolan Exp $
|
||||
%%SHARED%%
|
||||
bin/dvdnav-config
|
||||
include/dvdnav/
|
||||
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.la
|
Loading…
x
Reference in New Issue
Block a user