diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-11-19 19:35:04 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-11-19 19:35:04 +0000 |
commit | cd4da6b5661563e721e38d05dd566914eb1a2b35 (patch) | |
tree | 941b4a5ba36a6082d33e82a0ccfb20fcabe68928 /multimedia/libdv | |
parent | 2a6375013b2e3eaef42136a94995fc887119ca8c (diff) | |
download | ports-cd4da6b5661563e721e38d05dd566914eb1a2b35.tar.gz ports-cd4da6b5661563e721e38d05dd566914eb1a2b35.zip |
Notes
Diffstat (limited to 'multimedia/libdv')
-rw-r--r-- | multimedia/libdv/Makefile | 43 | ||||
-rw-r--r-- | multimedia/libdv/distinfo | 1 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-Makefile.in | 20 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-configure | 11 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-encodedv:dvconnect.c | 19 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-playdv:display.c | 35 | ||||
-rw-r--r-- | multimedia/libdv/files/patch-playdv:oss.c | 22 | ||||
-rw-r--r-- | multimedia/libdv/pkg-comment | 1 | ||||
-rw-r--r-- | multimedia/libdv/pkg-descr | 11 | ||||
-rw-r--r-- | multimedia/libdv/pkg-plist | 9 |
10 files changed, 172 insertions, 0 deletions
diff --git a/multimedia/libdv/Makefile b/multimedia/libdv/Makefile new file mode 100644 index 000000000000..ba2f16bfdd01 --- /dev/null +++ b/multimedia/libdv/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: libdv +# Date created: Sun Nov 18 19:42:02 BRST 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libdv +PORTVERSION= 0.9 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@FreeBSD.org + +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + popt.0:${PORTSDIR}/devel/popt \ + SDL-1.1.3:${PORTSDIR}/devel/sdl12 + +USE_GTK= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include \ + -I${X11BASE}/include `${GTK_CONFIG} --cflags` \ + `${GDK_PIXBUF_CONFIG} --cflags`" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib \ + `${GTK_CONFIG} --libs` `${GDK_PIXBUF_CONFIG} --libs`" +CONFIGURE_ARGS= --with-sdl-prefix="${LOCALBASE}" +INSTALLS_SHLIB= yes + +MAN1= encodedv.1 playdv.1 + +GDK_PIXBUF_CONFIG?=${X11BASE}/bin/gdk-pixbuf-config + +post-configure: + @find ${WRKSRC} -type f -name Makefile -exec \ + ${PERL} -pi.orig -ne 's!-l(gdk|glib|gtk) !!g' {} \; + +post-install: +.ifndef(NOPORTDOCS) +.endif + +.include <bsd.port.mk> diff --git a/multimedia/libdv/distinfo b/multimedia/libdv/distinfo new file mode 100644 index 000000000000..a99be384838e --- /dev/null +++ b/multimedia/libdv/distinfo @@ -0,0 +1 @@ +MD5 (libdv-0.9.tar.gz) = f8709211c3309ba0071d1a3c4bf7ba26 diff --git a/multimedia/libdv/files/patch-Makefile.in b/multimedia/libdv/files/patch-Makefile.in new file mode 100644 index 000000000000..d06f6dab5b9e --- /dev/null +++ b/multimedia/libdv/files/patch-Makefile.in @@ -0,0 +1,20 @@ +--- Makefile.in.orig Mon Nov 19 02:04:08 2001 ++++ Makefile.in Mon Nov 19 02:05:55 2001 +@@ -348,7 +348,7 @@ + install-exec-am: + install-exec: install-exec-recursive + +-install-data-am: install-pkgconfigDATA ++install-data-am: + install-data: install-data-recursive + + install-am: all-am +@@ -356,7 +356,7 @@ + install: install-recursive + uninstall-am: uninstall-pkgconfigDATA + uninstall: uninstall-recursive +-all-am: Makefile $(DATA) config.h ++all-am: Makefile config.h + all-redirect: all-recursive-am + install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install diff --git a/multimedia/libdv/files/patch-configure b/multimedia/libdv/files/patch-configure new file mode 100644 index 000000000000..75a4798d02b5 --- /dev/null +++ b/multimedia/libdv/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sun Jun 24 22:49:16 2001 ++++ configure Mon Nov 19 15:33:53 2001 +@@ -6381,7 +6381,7 @@ + HOST_X86_FALSE= + fi + +-REQUIRES='glib >= 1.2.4 gtk+ >= 1.2.4' ++REQUIRES='gtk >= 1.2.4' + + succeeded=no + diff --git a/multimedia/libdv/files/patch-encodedv:dvconnect.c b/multimedia/libdv/files/patch-encodedv:dvconnect.c new file mode 100644 index 000000000000..8bf2c32376e6 --- /dev/null +++ b/multimedia/libdv/files/patch-encodedv:dvconnect.c @@ -0,0 +1,19 @@ +--- encodedv/dvconnect.c.orig Sun Jun 24 13:21:45 2001 ++++ encodedv/dvconnect.c Mon Nov 19 00:53:05 2001 +@@ -24,6 +24,7 @@ + */ + + #include <stdio.h> ++#include <sys/types.h> + #include <sys/ioctl.h> + #include <sys/mman.h> + #include <string.h> +@@ -38,7 +39,7 @@ + #include <popt.h> + #endif + +-#include <malloc.h> ++#include <stdlib.h> + + #define CIP_N_NTSC 2436 + #define CIP_D_NTSC 38400 diff --git a/multimedia/libdv/files/patch-playdv:display.c b/multimedia/libdv/files/patch-playdv:display.c new file mode 100644 index 000000000000..02b0a85c5446 --- /dev/null +++ b/multimedia/libdv/files/patch-playdv:display.c @@ -0,0 +1,35 @@ +--- playdv/display.c.orig Sun Jun 24 13:06:30 2001 ++++ playdv/display.c Mon Nov 19 00:37:55 2001 +@@ -47,6 +47,8 @@ + #include <popt.h> + #endif + ++dv_display_t *dv_dpy_on_exit_hack; ++ + static int dv_display_SDL_init(dv_display_t *dv_dpy, gchar *w_name, gchar *i_name ); + static gboolean dv_display_gdk_init(dv_display_t *dv_dpy, gint *argc, gchar ***argv ); + +@@ -675,6 +677,13 @@ + } /* if */ + } /* dv_display_exit_handler */ + ++static void ++dv_display_on_exit_hack_handler() ++{ ++ if(dv_dpy_on_exit_hack) { ++ dv_display_exit(dv_dpy_on_exit_hack); ++ } /* if */ ++} /* dv_display_exit_handler */ + + gboolean + dv_display_init(dv_display_t *dv_dpy, gint *argc, gchar ***argv, gint width, gint height, +@@ -804,7 +813,8 @@ + fprintf(stderr, " Using gtk for display\n"); + + ok: +- on_exit(dv_display_exit_handler, dv_dpy); ++ dv_dpy_on_exit_hack = dv_dpy; ++ atexit(dv_display_on_exit_hack_handler); + return(TRUE); + + fail: diff --git a/multimedia/libdv/files/patch-playdv:oss.c b/multimedia/libdv/files/patch-playdv:oss.c new file mode 100644 index 000000000000..583be30e8f7b --- /dev/null +++ b/multimedia/libdv/files/patch-playdv:oss.c @@ -0,0 +1,22 @@ +--- playdv/oss.c.orig Sun Nov 18 21:50:24 2001 ++++ playdv/oss.c Sun Nov 18 21:53:48 2001 +@@ -36,6 +36,19 @@ + + #include "oss.h" + ++#ifndef O_LARGEFILE ++# define O_LARGEFILE 0 ++#endif ++ ++#ifndef AFMT_S16_NE ++# include <machine/endian.h> ++# if BYTE_ORDER == LITTLE_ENDIAN ++# define AFMT_S16_NE AFMT_S16_LE ++# else ++# define AFMT_S16_NE AFMT_S16_BE ++# endif ++#endif ++ + static const gchar *default_device = "/dev/audio"; + + dv_oss_t * diff --git a/multimedia/libdv/pkg-comment b/multimedia/libdv/pkg-comment new file mode 100644 index 000000000000..068c7a5f127b --- /dev/null +++ b/multimedia/libdv/pkg-comment @@ -0,0 +1 @@ +Quasar DV codec (libdv): software codec for DV video encoding format diff --git a/multimedia/libdv/pkg-descr b/multimedia/libdv/pkg-descr new file mode 100644 index 000000000000..c2ac178b3099 --- /dev/null +++ b/multimedia/libdv/pkg-descr @@ -0,0 +1,11 @@ +The Quasar DV codec (libdv) is a software codec for DV video, the +encoding format used by most digital camcorders, typically those +that support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. +Libdv was developed according to the official standards for DV +video: IEC 61834 and SMPTE 314M. + +Please note that this software is only concerned with the DV video +compression format, which is different from capturing the data from +a camcorder. + +WWW: http://libdv.sourceforge.net/ diff --git a/multimedia/libdv/pkg-plist b/multimedia/libdv/pkg-plist new file mode 100644 index 000000000000..a7bb3d132697 --- /dev/null +++ b/multimedia/libdv/pkg-plist @@ -0,0 +1,9 @@ +bin/encodedv +bin/playdv +include/libdv/dv.h +include/libdv/dv_types.h +lib/libdv.a +lib/libdv.la +lib/libdv.so +lib/libdv.so.1 +@dirrm include/libdv |