summaryrefslogtreecommitdiff
path: root/multimedia/libmovtar
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-16 03:39:39 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-16 03:39:39 +0000
commit2f79220caf7a319d3c2c60cf3bb1ae55fee6215e (patch)
treeaf5585c4e309c39ccafa25a66c0fb682864cc61a /multimedia/libmovtar
parento Install two additional header files required by soon to be added (diff)
New port libmovtar version 0.1.2: Supports reading/writing of MJPEG
video in YUV 4:2:2 JPEG
Notes
Notes: svn path=/head/; revision=50107
Diffstat (limited to 'multimedia/libmovtar')
-rw-r--r--multimedia/libmovtar/Makefile31
-rw-r--r--multimedia/libmovtar/distinfo2
-rw-r--r--multimedia/libmovtar/files/patch-Makefile.in15
-rw-r--r--multimedia/libmovtar/files/patch-configure.in24
-rw-r--r--multimedia/libmovtar/files/patch-movtar.c10
-rw-r--r--multimedia/libmovtar/files/patch-movtar_play.c13
-rw-r--r--multimedia/libmovtar/files/patch-tar.c10
-rw-r--r--multimedia/libmovtar/pkg-comment1
-rw-r--r--multimedia/libmovtar/pkg-descr19
-rw-r--r--multimedia/libmovtar/pkg-plist11
10 files changed, 136 insertions, 0 deletions
diff --git a/multimedia/libmovtar/Makefile b/multimedia/libmovtar/Makefile
new file mode 100644
index 000000000000..b7652d7c8a21
--- /dev/null
+++ b/multimedia/libmovtar/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: libmovtar
+# Date created: Mon Oct 15 23:35:04 BRST 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmovtar
+PORTVERSION= 0.1.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= mjpeg
+
+MAINTAINER= lioux@FreeBSD.org
+
+LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
+
+USE_GTK= yes
+USE_AUTOCONF= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-m4data-prefix=${PREFIX}/share
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
+ LOCALBASE="${LOCALBASE}"
+MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS=${PTHREAD_LIBS}
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
+.include <bsd.port.mk>
diff --git a/multimedia/libmovtar/distinfo b/multimedia/libmovtar/distinfo
new file mode 100644
index 000000000000..701869069113
--- /dev/null
+++ b/multimedia/libmovtar/distinfo
@@ -0,0 +1,2 @@
+MD5 (libmovtar-0.1.2.tar.gz) = 852566413e625bb2b089db72a5fabce9
+MD5 (jpeg-mmx-1.1.2.tar.gz) = 63d871b28cb1524b4cf088155688778d
diff --git a/multimedia/libmovtar/files/patch-Makefile.in b/multimedia/libmovtar/files/patch-Makefile.in
new file mode 100644
index 000000000000..47614fcf64f4
--- /dev/null
+++ b/multimedia/libmovtar/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig Fri Nov 16 01:35:11 2001
++++ Makefile.in Fri Nov 16 01:35:38 2001
+@@ -79,10 +79,10 @@
+ bin_SCRIPTS = movtar-config
+ lib_LIBRARIES = libmovtar.a
+ libmovtar_a_SOURCES = movtar.c tar.c
+-INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@
++INCLUDES = @GLIB_CFLAGS@ @JPEG_INCLUDE@ -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}
+ include_HEADERS = movtar.h
+
+-movtar_play_LDFLAGS = -lSDL -lpthread -ljpeg
++movtar_play_LDFLAGS = `${SDL_CONFIG} --libs` ${PTHREAD_LIBS} -ljpeg
+ movtar_unify_LDFLAGS = -ljpeg
+ movtar_yuv422_LDFLAGS = -ljpeg
+ LDFLAGS = @GLIB_LIBS@
diff --git a/multimedia/libmovtar/files/patch-configure.in b/multimedia/libmovtar/files/patch-configure.in
new file mode 100644
index 000000000000..ead3cafc9502
--- /dev/null
+++ b/multimedia/libmovtar/files/patch-configure.in
@@ -0,0 +1,24 @@
+--- configure.in.orig Wed Feb 7 09:25:06 2001
++++ configure.in Tue Oct 16 02:23:14 2001
+@@ -56,7 +56,7 @@
+ JPEGDIR="$DEFAULT_JPEGDIR")
+
+ OLDLIBS="$LIBS"
+-LIBS="-L $JPEGDIR $LIBS"
++LIBS="-L $JPEGDIR $LIBS -L$LOCALBASE/lib"
+ AC_SUBST(JPEG_INCLUDE)
+
+ AC_CHECK_LIB( jpeg-mmx, jpeg_start_compress,
+@@ -75,10 +75,11 @@
+ dnl If that can't be found fall back to the system jpeg lib...
+ if test ${have_jpeg} = "no"
+ then
++LIBS="$LIBS -L$LOCALBASE/lib"
+ AC_CHECK_LIB( jpeg, jpeg_start_compress,
+ [
+ have_jpeg="yes"
+- LIBS="$LIBS -ljpeg"
++ LIBS="$LIBS -L$LOCALBASE/lib -ljpeg"
+ ],
+ [
+ have_jpeg="no"
diff --git a/multimedia/libmovtar/files/patch-movtar.c b/multimedia/libmovtar/files/patch-movtar.c
new file mode 100644
index 000000000000..1905b8670e80
--- /dev/null
+++ b/multimedia/libmovtar/files/patch-movtar.c
@@ -0,0 +1,10 @@
+--- movtar.c.orig Tue Oct 16 00:02:46 2001
++++ movtar.c Tue Oct 16 00:03:25 2001
+@@ -40,7 +40,6 @@
+ #include <tar.h>
+ #include <glib.h>
+ #include <sys/types.h>
+-#include <linux/types.h>
+
+ #include "movtar.h"
+
diff --git a/multimedia/libmovtar/files/patch-movtar_play.c b/multimedia/libmovtar/files/patch-movtar_play.c
new file mode 100644
index 000000000000..35dd50aadfff
--- /dev/null
+++ b/multimedia/libmovtar/files/patch-movtar_play.c
@@ -0,0 +1,13 @@
+--- movtar_play.c.orig Tue Oct 16 00:22:46 2001
++++ movtar_play.c Tue Oct 16 00:25:12 2001
+@@ -9,8 +9,8 @@
+ #include <signal.h>
+ #include <string.h>
+
+-#include <SDL/SDL.h>
+-#include <SDL/SDL_timer.h>
++#include <SDL11/SDL.h>
++#include <SDL11/SDL_timer.h>
+
+ #define JPEG_INTERNALS
+ #include <jinclude.h>
diff --git a/multimedia/libmovtar/files/patch-tar.c b/multimedia/libmovtar/files/patch-tar.c
new file mode 100644
index 000000000000..3943c45f165f
--- /dev/null
+++ b/multimedia/libmovtar/files/patch-tar.c
@@ -0,0 +1,10 @@
+--- tar.c.orig Tue Oct 16 00:03:05 2001
++++ tar.c Tue Oct 16 00:03:09 2001
+@@ -16,7 +16,6 @@
+ #include <glib.h>
+
+ #include <sys/types.h>
+-#include <linux/types.h>
+
+ #include "movtar.h"
+
diff --git a/multimedia/libmovtar/pkg-comment b/multimedia/libmovtar/pkg-comment
new file mode 100644
index 000000000000..18509fa7672c
--- /dev/null
+++ b/multimedia/libmovtar/pkg-comment
@@ -0,0 +1 @@
+Supports reading/writing of MJPEG video in YUV 4:2:2 JPEG
diff --git a/multimedia/libmovtar/pkg-descr b/multimedia/libmovtar/pkg-descr
new file mode 100644
index 000000000000..0eaf5911cf52
--- /dev/null
+++ b/multimedia/libmovtar/pkg-descr
@@ -0,0 +1,19 @@
+[ excerpt from developer's README ]
+
+libmovtar
+---------
+
+has been implemented according to the quicktime4linux API
+
+It supports reading and writing (read/write mode has been prepared,
+but is not implemented yet) of MJPEG video in YUV 4:2:2 JPEG with
+mono/stereo, 8/16-bit, any sample rate sound.
+
+It supports indexing files (always done when writing a new file,
+old (or manually created) movtar files without index are indexed
+internally during the opening process).
+
+You can freely jump forwards and backwards between the frames in
+an opened file.
+
+WWW: http://sourceforge.net/projects/mjpeg/
diff --git a/multimedia/libmovtar/pkg-plist b/multimedia/libmovtar/pkg-plist
new file mode 100644
index 000000000000..c155a907d3ab
--- /dev/null
+++ b/multimedia/libmovtar/pkg-plist
@@ -0,0 +1,11 @@
+bin/movtar-config
+bin/movtar_index
+bin/movtar_play
+bin/movtar_setinfo
+bin/movtar_split
+bin/movtar_unify
+bin/movtar_yuv422
+include/movtar.h
+lib/libmovtar.a
+share/aclocal/movtar.m4
+@unexec rmdir %D/share/aclocal 2>/dev/null || true