1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

-avifile ports/graphics/avifile

+avifile		ports/multimedia/avifile

-divx4linux		ports/graphics/divx4linux
+linux-divx4linux	ports/multimedia/linux-divx4linux

-divx4linux4		ports/graphics/divx4linux4
+linux-divx4linux4	ports/multimedia/linux-divx4linux4

-ffmpeg			ports/graphics/ffmpeg
+ffmpeg			ports/multimedia/ffmpeg

-gstreamer		ports/graphics/gstreamer
+gstreamer		ports/multimedia/gstreamer

-gstreamer-player	ports/graphics/gstreamer-player
+gstreamer-player	ports/multimedia/gstreamer-player

-gstreamer-plugins	ports/graphics/gstreamer-plugins
+gstreamer-plugins	ports/multimedia/gstreamer-plugins

-gsubedit		ports/graphics/gsubedit
+gsubedit		ports/multimedia/gsubedit

-libdivxdecore		ports/graphics/libdivxdecore
+libdivxdecore		ports/multimedia/libdivxdecore

-libdivxdecore-devel	ports/graphics/libdivxdecore-devel
+libdivxdecore-devel	ports/multimedia/libdivxdecore-devel

-libdivxencore		ports/graphics/libdivxencore
+libdivxencore		ports/multimedia/libdivxencore

-libdv			ports/graphics/libdv
+libdv			ports/multimedia/libdv

-libdvdcss		ports/graphics/libdvdcss
+libdvdcss		ports/multimedia/libdvdcss

-libdvdread		ports/graphics/libdvdread
+libdvdread		ports/multimedia/libdvdread

-libmovtar		ports/graphics/libmovtar
+libmovtar		ports/multimedia/libmovtar

-libmpeg2		ports/graphics/libmpeg2
+libmpeg2		ports/multimedia/libmpeg2

-linux-divxplayer	ports/graphics/linux-divxplayer
+linux-divxplayer	ports/multimedia/linux-divxplayer

-mjpegtools		ports/graphics/mjpegtools
+mjpegtools		ports/multimedia/mjpegtools

-mpeg4ip		ports/graphics/mpeg4ip
+mpeg4ip		ports/multimedia/mpeg4ip

-mplayer		ports/graphics/mplayer
+mplayer		ports/multimedia/mplayer

-mplayer-fonts		ports/graphics/mplayer-fonts
+mplayer-fonts		ports/multimedia/mplayer-fonts

-mplayer-skins		ports/graphics/mplayer-skins
+mplayer-skins		ports/multimedia/mplayer-skins

-ogle			ports/graphics/ogle
+ogle			ports/multimedia/ogle

-ogle-gui		ports/graphics/ogle-gui
+ogle-gui		ports/multimedia/ogle-gui

-ogmtools		ports/graphics/ogmtools
+ogmtools		ports/multimedia/ogmtools

-okle			ports/graphics/okle
+okle			ports/multimedia/okle

-openquicktime		ports/graphics/openquicktime
+openquicktime		ports/multimedia/openquicktime

-oqtencoder		ports/graphics/oqtencoder
+oqtencoder		ports/multimedia/oqtencoder

-oqtplayer		ports/graphics/oqtplayer
+oqtplayer		ports/multimedia/oqtplayer

-win32-codecs		ports/graphics/win32-codecs
+win32-codecs		ports/multimedia/win32-codecs

-xmps-opendivx-plugin	ports/graphics/xmps-opendivx-plugin
+xmps-opendivx-plugin	ports/multimedia/xmps-opendivx-plugin

-xmps-win32-plugin	ports/graphics/xmps-win32-plugin
+xmps-win32-plugin	ports/multimedia/xmps-win32-plugin

Repo copied by:		joe (cvs hat)
Approved by:		knu (portmgr hat)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-11-28 17:36:24 +00:00
parent bc0c579550
commit cd741d997a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71210
225 changed files with 32 additions and 7081 deletions

View File

@ -17,7 +17,6 @@
SUBDIR += autotrace
SUBDIR += avidemux
SUBDIR += aview
SUBDIR += avifile
SUBDIR += backfract
SUBDIR += barcode
SUBDIR += bbrb
@ -37,8 +36,6 @@
SUBDIR += deep_zoom
SUBDIR += dia
SUBDIR += diacanvas
SUBDIR += divx4linux
SUBDIR += divx4linux4
SUBDIR += divxcalc
SUBDIR += djvulibre
SUBDIR += dore
@ -64,7 +61,6 @@
SUBDIR += exiftags
SUBDIR += fbm
SUBDIR += feh
SUBDIR += ffmpeg
SUBDIR += figurine
SUBDIR += flashplayer
SUBDIR += flasm
@ -121,10 +117,6 @@
SUBDIR += graphviz
SUBDIR += gridpix
SUBDIR += gsculpt
SUBDIR += gstreamer
SUBDIR += gstreamer-player
SUBDIR += gstreamer-plugins
SUBDIR += gsubedit
SUBDIR += gthumb
SUBDIR += gthumb2
SUBDIR += gtkam
@ -181,15 +173,9 @@
SUBDIR += libart
SUBDIR += libart_lgpl2
SUBDIR += libaux
SUBDIR += libdivxdecore
SUBDIR += libdivxdecore-devel
SUBDIR += libdivxencore
SUBDIR += libdjvu++
SUBDIR += libdv
SUBDIR += libdvbpsi
SUBDIR += libdvdcss
SUBDIR += libdvdnav
SUBDIR += libdvdread
SUBDIR += libexif
SUBDIR += libexif-gtk
SUBDIR += libfame
@ -203,8 +189,6 @@
SUBDIR += liblug
SUBDIR += libmng
SUBDIR += libmorph
SUBDIR += libmovtar
SUBDIR += libmpeg2
SUBDIR += libquicktime
SUBDIR += librsvg
SUBDIR += librsvg2
@ -215,7 +199,6 @@
SUBDIR += libxine
SUBDIR += linplasma
SUBDIR += linux-bmrt
SUBDIR += linux-divxplayer
SUBDIR += linux-imlib
SUBDIR += linux-jpeg
SUBDIR += linux-png
@ -229,21 +212,16 @@
SUBDIR += maverik
SUBDIR += metapixel
SUBDIR += ming
SUBDIR += mjpegtools
SUBDIR += mmsclient
SUBDIR += morpheus
SUBDIR += mpeg
SUBDIR += mpeg2codec
SUBDIR += mpeg2play
SUBDIR += mpeg4ip
SUBDIR += mpeg_encode
SUBDIR += mpeg_play
SUBDIR += mpeg_stat
SUBDIR += mpegedit
SUBDIR += mpgtx
SUBDIR += mplayer
SUBDIR += mplayer-fonts
SUBDIR += mplayer-skins
SUBDIR += mplex
SUBDIR += mrsidviewer
SUBDIR += mtv
@ -252,17 +230,10 @@
SUBDIR += netshow
SUBDIR += nurbs++
SUBDIR += ocaml-lablgl
SUBDIR += ogle
SUBDIR += ogle-gui
SUBDIR += ogmtools
SUBDIR += okle
SUBDIR += opendis
SUBDIR += opendx
SUBDIR += opendx-samples
SUBDIR += opengl-man
SUBDIR += openquicktime
SUBDIR += oqtencoder
SUBDIR += oqtplayer
SUBDIR += osg
SUBDIR += p5-Chart-PNGgraph
SUBDIR += p5-GD
@ -411,7 +382,6 @@
SUBDIR += vterrain-sdk
SUBDIR += whirlgif
SUBDIR += white_dune
SUBDIR += win32-codecs
SUBDIR += wmgrabimage
SUBDIR += wmicons
SUBDIR += xanim
@ -451,8 +421,6 @@
SUBDIR += xmountains
SUBDIR += xmovie
SUBDIR += xmps
SUBDIR += xmps-opendivx-plugin
SUBDIR += xmps-win32-plugin
SUBDIR += xmrm
SUBDIR += xnview
SUBDIR += xpaint

View File

@ -1,280 +0,0 @@
# New ports collection makefile for: avifile
# Date created: 16 September 2000
# Whom: Holger Lamm
#
# $FreeBSD$
#
PORTNAME= avifile
PORTVERSION= 0.7.18.20021107
PORTEPOCH= 2
CATEGORIES= graphics
MASTER_SITES= http://avifile.sourceforge.net/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.(.{8})$/-\1/}
EXTRACT_SUFX= .tgz
MAINTAINER= holger@e-gitt.net
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_SUBMAKE= yes
USE_REINPLACE= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:C/^(.{3}).*/\1/}-${PORTVERSION:C/^(.{6}).+$/\1/}
LIBTOOLFILES= acinclude.m4
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib `${ECHO_CMD} ${PTHREAD_LIBS}`"
CONFIGURE_ARGS= --with-gnu-ld --enable-iconv \
--disable-divx4
CONFIGURE_TARGET=
PLIST_SUB= LIB_VERSION="${LIB_VERSION}" VERSION="${VERSION}"
MAN1= aviplay.1
#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs
CODEC_PORT= ${.CURDIR}/../win32-codecs
CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
LIB_VERSION= 3
VERSION= 0.7
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
DIFF?= /usr/bin/diff
FMT?= /usr/bin/fmt
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
WITHOUT_A52=yes
WITHOUT_XVID=yes
.endif
# compilation optimizations
.if defined(WITH_OPTIMIZED_CFLAGS)
CONFIGURE_ARGS+= --enable-release
. if ${ARCH} == "i386"
CONFIGURE_ARGS+= --enable-x86opt
. endif
.else
CONFIGURE_ARGS+= --disable-release
.endif
# soundblaster can be passed ac3 instead of letting avifile decode
# it
.if defined(WITH_AC3_PASSTHROUGH)
CONFIGURE_ARGS+= --enable-ac3passthrough
PLIST_SUB+= AC3_PASS=""
.else
CONFIGURE_ARGS+= --disable-ac3passthrough
PLIST_SUB+= AC3_PASS="@comment "
.endif
# liba52
.if !defined(WITHOUT_A52)
LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
CONFIGURE_ARGS+= --enable-a52 \
--disable-ffmpeg-a52bin \
--with-a52-prefix=${LOCALBASE}
PLIST_SUB+= A52=""
.else
CONFIGURE_ARGS+= --disable-a52
PLIST_SUB+= A52="@comment "
.endif
# libmad
.if !defined(WITHOUT_MAD)
LIB_DEPENDS+= mad.1:${PORTSDIR}/audio/mad
PLIST_SUB+= MAD=""
.else
CONFIGURE_ARGS+= --disable-mad
PLIST_SUB+= MAD="@comment "
.endif
# qt
.if !defined(WITHOUT_QT)
. if exists(${X11BASE}/include/qt2/qapp.h)
USE_QT_VER= 2
. else
USE_QT_VER= 3
. endif
PLIST_SUB+= QT=""
.else
CONFIGURE_ARGS+= --without-qt
PLIST_SUB+= QT="@comment "
.endif
# sdl
.if !defined(WITHOUT_SDL)
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
--with-sdl-exec-prefix=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-sdl
.endif
# libvorbis; thus, libogg
.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --with-vorbis-prefix=${LOCALBASE} \
--with-ogg-prefix=${LOCALBASE}
PLIST_SUB+= VORBIS=""
.else
CONFIGURE_ARGS+= --disable-vorbis
PLIST_SUB+= VORBIS="@comment "
.endif
# xvid
.if !defined(WITHOUT_XVID)
LIB_DEPENDS+= xvidcore.0:${PORTSDIR}/graphics/xvid
CONFIGURE_ARGS+= --with-xvid-prefix=${LOCALBASE}
PLIST_SUB+= XVID=""
.else
CONFIGURE_ARGS+= --disable-xvid
PLIST_SUB+= XVID="@comment "
.endif
pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} "You can enable compilation optimizations by defining"
@${ECHO_MSG} " WITH_OPTIMIZED_CFLAGS."
.endif
.if !defined(WITH_AC3_PASSTHROUGH)
@${ECHO_MSG} "You can enable soundblaster ac3 passthrough support by"
@${ECHO_MSG} " defining WITH_AC3_PASSTHROUGH."
.endif
.if !defined(WITHOUT_A52)
@${ECHO_MSG} "You can disable ac3 (liba52) support by defining WITHOUT_A52."
.endif
.if !defined(WITHOUT_MAD)
@${ECHO_MSG} "You can disable mad support by defining WITHOUT_MAD."
.endif
.if !defined(WITHOUT_QT)
@${ECHO_MSG} "You can disable QT supported tools by defining WITHOUT_QT."
.endif
.if !defined(WITHOUT_SDL)
@${ECHO_MSG} "You can disable SDL supported tools by defining WITHOUT_SDL."
.endif
.if !defined(WITHOUT_VORBIS)
@${ECHO_MSG} "You can disable vorbis support by defining WITHOUT_VORBIS."
.endif
.if !defined(WITHOUT_XVID)
@${ECHO_MSG} "You can disable xvid support by defining WITHOUT_XVID."
.endif
pre-extract:
@if [ -f ${LOCALBASE}/lib/libpth.so ]; then \
${ECHO_MSG} "Error: This packet does not compile when the \
packet 'pth' is installed.";\
${FALSE};\
fi
post-extract:
# grab does not work outside Linux for now
@${RM} -f ${WRKSRC}/ffmpeg/libav/grab.c
@${TOUCH} ${WRKSRC}/ffmpeg/libav/grab.c
post-patch:
# linux/ioctl.h -> sys/ioctl.h
@${REINPLACE_CMD} -e 's|linux/ioctl.h|sys/ioctl.h|' \
${WRKSRC}/drivers/libdha/kernelhelper/dhahelper.h
.if !defined(WITHOUT_MAD)
@${REINPLACE_CMD} -e 's|MAD_LDADD = \@MAD_LDADD\@|MAD_LDADD = -L${LOCALBASE}/lib \@MAD_LDADD\@|' \
${WRKSRC}/plugins/libmad/Makefile.in
.endif
.if !defined(WITHOUT_QT)
. if exists(${X11BASE}/include/qt2/qapp.h)
@${REINPLACE_CMD} -e 's|qt-mt|qt2-mt|' ${WRKSRC}/configure
. endif
@${REINPLACE_CMD} -e 's|QT_CFLAGS = \@QT_CFLAGS\@|QT_CFLAGS = -I${X11BASE}/include \@QT_CFLAGS\@|; \
s|QT_LIBS = \@QT_LIBS\@|QT_LIBS = -L${X11BASE}/lib \@QT_LIBS\@|' \
${WRKSRC}/libavqt/Makefile.in
.endif
.if !defined(WITHOUT_XVID)
@${REINPLACE_CMD} -e 's|XVID_LIBS = \@XVID_LIBS\@|XVID_LIBS = -L${LOCALBASE}/lib \@XVID_LIBS\@|' \
${WRKSRC}/plugins/libxvid/Makefile.in
.endif
@${REINPLACE_CMD} -e 's|__THROW||' \
${WRKSRC}/plugins/libwin32/loader/dshow/DS_Filter.h
@${REINPLACE_CMD} -e 's|-ljpeg|-L${LOCALBASE}/lib -ljpeg|' \
${WRKSRC}/samples/mjpeg_plugin/Makefile.in
# if we have LAME
@${REINPLACE_CMD} -e 's|-lmp3lame|-L${LOCALBASE}/lib -lmp3lame|' \
${WRKSRC}/configure
# use portname without version to build dir names
@${REINPLACE_CMD} -E -e 's|(PACKAGE[:space:]*=[:space:]*avifile).*|\1|' \
${WRKSRC}/configure
# fix build in -CURRENT
@${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${REINPLACE_CMD} -e \
's|#include <malloc.h>|#include <stdlib.h>|g'
# use correct signal type
@${REINPLACE_CMD} -e 's|sighandler_t|sig_t|' \
${WRKSRC}/samples/misc/benchmark.cpp
# fix breakage if either auto{conf,make} are installed
# do not version library names
# fix incorrect behavior of configure script
@${FIND} ${WRKSRC} \( -name Makefile.in -o -name configure \) | \
${XARGS} -n 10 ${REINPLACE_CMD} -E -e \
's|INSTALL = \@INSTALL\@|INSTALL = ${INSTALL}|; \
s!-release[[:space:]]+\$$\([^\)]+\)!!; \
s!ACLOCAL =!ACLOCAL = ${TRUE} || !; \
s!AUTOCONF =!AUTOCONF = ${TRUE} || !; \
s!AUTOHEADER =!AUTOHEADER = ${TRUE} || !; \
s!AUTOMAKE =!AUTOMAKE = ${TRUE} || !'
post-configure:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PKGMESSAGE} ${DOCSDIR}/README
.endif
@${FMT} < ${PKGMESSAGE}
.if ${ARCH} == "i386"
RUN_DEPENDS+= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
CONFIGURE_ARGS+= --enable-x86opt \
--enable-win32 \
--with-win32-path=${LOCALBASE}/lib/win32
PLIST_SUB+= FFMPEG="" WIN32=""
.else
CONFIGURE_ARGS+= --disable-x86opt --disable-win32 \
--disable-ffmpeg
PLIST_SUB+= FFMPEG="@comment " WIN32="@comment "
.endif
# hack taken from ogle to make it work with liba52 + djbfft
.if exists(${LOCALBASE}/lib/liba52.la)
LIBA52_DEP_LIBS!= ${GREP} dependency_libs ${LOCALBASE}/lib/liba52.la | ${CUT} -d \' -f 2
.else
LIBA52_DEP_LIBS=
.endif
# if we have LAME
.if exists(${LOCALBASE}/lib/libmp3lame.so)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
PLIST_SUB+= NOLAME="@comment " LAME=""
.else
PLIST_SUB+= NOLAME="" LAME="@comment "
.endif
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (avifile-0.7.18-20021107.tgz) = 27acbdb55f19cf474a109c05e0b7b377

View File

@ -1,10 +0,0 @@
--- drivers/libdha/mmi.c.orig Wed Oct 2 16:00:07 2002
+++ drivers/libdha/mmi.c Wed Oct 2 16:00:14 2002
@@ -1,6 +1,7 @@
/* Memory manager interface */
#include <stdio.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <sys/mman.h> /* mlock */
#include <errno.h>
#include <unistd.h>

View File

@ -1,10 +0,0 @@
--- drivers/vidix/drivers/radeon_vid.c.orig Wed Oct 2 16:01:05 2002
+++ drivers/vidix/drivers/radeon_vid.c Wed Oct 2 16:01:15 2002
@@ -11,6 +11,7 @@
#include <string.h>
#include <math.h>
#include <inttypes.h>
+#include <sys/types.h>
#include <sys/mman.h>
#include "../../libdha/pci_ids.h"
#include "../../libdha/pci_names.h"

View File

@ -1,15 +0,0 @@
--- ffmpeg/libav/http.c.orig Mon Nov 11 18:03:57 2002
+++ ffmpeg/libav/http.c Mon Nov 11 18:04:09 2002
@@ -16,11 +16,11 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <sys/types.h>
#include <sys/socket.h>
#include "avformat.h"
#include <unistd.h>
#include <ctype.h>
-#include <sys/types.h>
#include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>

View File

@ -1,15 +0,0 @@
--- ffmpeg/libav/rtp.c.orig Mon Nov 11 18:05:16 2002
+++ ffmpeg/libav/rtp.c Mon Nov 11 18:05:24 2002
@@ -16,11 +16,11 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sys/socket.h>
#include "avformat.h"
#include <unistd.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>

View File

@ -1,16 +0,0 @@
--- ffmpeg/libav/rtpproto.c.orig Mon Nov 11 18:05:59 2002
+++ ffmpeg/libav/rtpproto.c Mon Nov 11 18:06:08 2002
@@ -16,12 +16,12 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sys/socket.h>
#include "avformat.h"
#include <unistd.h>
#include <stdarg.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>

View File

@ -1,16 +0,0 @@
--- ffmpeg/libav/rtsp.c.orig Mon Nov 11 18:06:37 2002
+++ ffmpeg/libav/rtsp.c Mon Nov 11 18:06:51 2002
@@ -16,11 +16,12 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <netinet/in.h>
#include "avformat.h"
#include <sys/time.h>
+#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>
#else

View File

@ -1,15 +0,0 @@
--- ffmpeg/libav/tcp.c.orig Mon Nov 11 18:07:22 2002
+++ ffmpeg/libav/tcp.c Mon Nov 11 18:07:27 2002
@@ -16,11 +16,11 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sys/socket.h>
#include "avformat.h"
#include <unistd.h>
#include <ctype.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>

View File

@ -1,14 +0,0 @@
--- ffmpeg/libav/udp.c.orig Mon Nov 11 18:07:52 2002
+++ ffmpeg/libav/udp.c Mon Nov 11 18:07:56 2002
@@ -16,10 +16,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <sys/socket.h>
#include "avformat.h"
#include <unistd.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>

View File

@ -1 +0,0 @@
AVI player/converter with numerous codecs, including MPEG-4(DivX ;-))

View File

@ -1,6 +0,0 @@
An AVI player and converter built around the
Windows binary codecs.
Does not use Wine. It supports a lot of common modern codecs;
these have actually been separated into the port graphics/win32-codecs.
WWW: http://avifile.sourceforge.net/

View File

@ -1,26 +0,0 @@
ATTENTIONATTENTION:
This port requires a kernel built with
the directive:
options USER_LDT
Please, check the FreeBSD Handbook for instructions
on building a custom kernel. If you do not know
where to find it, check the FreeBSD website
http://www.freebsd.org/
Also, if the port finished building but
did not install the aviplay program. You
should consider installing the very
latest qt library supporting threads.
Version 2.2.3 and over should be
enough. Then, try rebuilding the avifile
port.
Please, check the FreeBSD Handbook on
updating your port tree if you need to.
ALSO, remove ~/.avirc configuration file
prior to running avifile. The newer version
has problems with old configuration files.

View File

@ -1,102 +0,0 @@
bin/avibench
bin/avicat
bin/avifile-config
bin/avimake
%%QT%%bin/aviplay
bin/avitype
%%WIN32%%bin/mmxnow-config
include/avifile/Locker.h
include/avifile/StreamInfo.h
include/avifile/VideoDPMS.h
include/avifile/audiodecoder.h
include/avifile/audioencoder.h
include/avifile/avifile.h
include/avifile/aviplay.h
include/avifile/avm_args.h
include/avifile/avm_default.h
include/avifile/avm_fourcc.h
include/avifile/avm_locker.h
include/avifile/avm_stl.h
include/avifile/configfile.h
include/avifile/cpuinfo.h
include/avifile/creators.h
include/avifile/default.h
include/avifile/except.h
include/avifile/formats.h
include/avifile/fourcc.h
include/avifile/image.h
include/avifile/infotypes.h
include/avifile/playerwidget.h
include/avifile/renderer.h
include/avifile/subtitle.h
include/avifile/utils.h
include/avifile/version.h
include/avifile/videodecoder.h
include/avifile/videoencoder.h
%%WIN32%%include/mmxnow.h
%%AC3_PASS%%lib/avifile/ac3pass.la
%%AC3_PASS%%lib/avifile/ac3pass.so
lib/avifile/audiodec.la
lib/avifile/audiodec.so
%%FFMPEG%%lib/avifile/ffmpeg.la
%%FFMPEG%%lib/avifile/ffmpeg.so
%%MAD%%lib/avifile/mad_audiodec.la
%%MAD%%lib/avifile/mad_audiodec.so
lib/avifile/mjpeg.la
lib/avifile/mjpeg.so
%%NOLAME%%lib/avifile/mp3lame_audioenc.la
%%NOLAME%%lib/avifile/mp3lame_audioenc.so
%%LAME%%lib/avifile/mp3lamebin_audioenc.la
%%LAME%%lib/avifile/mp3lamebin_audioenc.so
lib/avifile/mpeg_audiodec.la
lib/avifile/mpeg_audiodec.so
lib/avifile/vidix/libgenfb.la
lib/avifile/vidix/libgenfb.so
lib/avifile/vidix/libmach64.la
lib/avifile/vidix/libmach64.so
lib/avifile/vidix/libmga.la
lib/avifile/vidix/libmga.so
lib/avifile/vidix/libmga_crtc2.la
lib/avifile/vidix/libmga_crtc2.so
lib/avifile/vidix/libnvidia.la
lib/avifile/vidix/libnvidia.so
lib/avifile/vidix/libpm3.la
lib/avifile/vidix/libpm3.so
lib/avifile/vidix/libradeon.la
lib/avifile/vidix/libradeon.so
lib/avifile/vidix/librage128.la
lib/avifile/vidix/librage128.so
%%VORBIS%%lib/avifile/vorbis_audio.la
%%VORBIS%%lib/avifile/vorbis_audio.so
%%WIN32%%lib/avifile/win32.la
%%WIN32%%lib/avifile/win32.so
%%XVID%%lib/avifile/xvid.la
%%XVID%%lib/avifile/xvid.so
lib/libaviplay.a
lib/libaviplay.la
lib/libaviplay.so
lib/libaviplay.so.0
%%WIN32%%lib/libmmxnow.la
%%WIN32%%lib/libmmxnow.so
%%WIN32%%lib/libmmxnow.so.0
%%QT%%lib/libqavm.a
%%QT%%lib/libqavm.la
%%QT%%lib/libqavm.so
%%QT%%lib/libqavm.so.0
share/aclocal/avifile.m4
share/avifile/about.ppm
share/avifile/action.cfg
share/avifile/mute.ppm
share/avifile/open.ppm
share/avifile/opena.ppm
share/avifile/opens.ppm
share/avifile/pause.ppm
share/avifile/play.ppm
share/avifile/stop.ppm
share/avifile/test.png
%%PORTDOCS%%share/doc/avifile/README
%%PORTDOCS%%@dirrm share/doc/avifile
@dirrm share/avifile
@dirrm lib/avifile/vidix
@dirrm lib/avifile
@dirrm include/avifile

View File

@ -1,50 +0,0 @@
# New ports collection makefile for: divx4linux
# Date created: Mon Sep 24 15:40:14 BRT 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= divx4linux
PORTVERSION= 5.0.${RELEASE_DATE}
CATEGORIES= graphics linux
MASTER_SITES= http://download.divx.com/divx/
DISTNAME= ${PORTNAME}501-${RELEASE_DATE}
EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
RESTRICTED= unsure of licensing issues
ONLY_FOR_ARCHS= i386
USE_REINPLACE= yes
USE_LINUX_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/501-/-/}
NO_BUILD= yes
PLIST_SUB= PKGNAME="${PKGNAME}"
DOC_EXT= htm linux txt
RELEASE_DATE= 20020418
post-patch:
.for ext in ${DOC_EXT}
@${REINPLACE_CMD} -e "s/ //" ${WRKSRC}/*.${ext}
.endfor
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${PREFIX}/usr/doc/${PKGNAME}
.for ext in ${DOC_EXT}
@${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/usr/doc/${PKGNAME}
.endfor
.endif
# Header file installation
@${MKDIR} ${PREFIX}/usr/include/divx
@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/usr/include/divx
# Library installation
@${INSTALL_DATA} ${WRKSRC}/*.so ${PREFIX}/usr/lib
@${LINUXBASE}/sbin/ldconfig
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (divx4linux501-20020418.tgz) = 936df07d3ff88b486778a2150f910fc0

View File

@ -1 +0,0 @@
Linux binary release of DivX (TM) Codec

View File

@ -1,12 +0,0 @@
[excerpt from DivX (TM) site]
The center of DivX MPEG-4 Codec is the DivX codec core. It is the
engine of the codec. The codec core processes either the video
image or MPEG-4 bitstream, and it uses the compression and
decompression to convert information between the formats. The codec
core includes two parts - an encoder (that compresses the video
image into MPEG-4 bitstreams) and a decoder (that decompresses the
MPEG-4 bitstream back into video images). The encoder core is named
"encore", and the decoder core "decore".
WWW: http://www.divx.com/

View File

@ -1,13 +0,0 @@
%%PORTDOCS%%usr/doc/%%PKGNAME%%/DivX MPEG-4 Codec and Its Interface.htm
%%PORTDOCS%%usr/doc/%%PKGNAME%%/README.linux
%%PORTDOCS%%usr/doc/%%PKGNAME%%/license.txt
usr/include/divx/decore.h
usr/include/divx/encore2.h
usr/lib/libdivxdecore.so
usr/lib/libdivxdecore.so.0
usr/lib/libdivxencore.so
usr/lib/libdivxencore.so.0
@dirrm usr/include/divx
%%PORTDOCS%%@dirrm usr/doc/%%PKGNAME%%
@exec %D/sbin/ldconfig
@unexec %D/sbin/ldconfig

View File

@ -1,54 +0,0 @@
# New ports collection makefile for: divx4linux
# Date created: Mon Sep 24 15:40:14 BRT 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= divx4linux
PORTVERSION= 0.${RELEASE_DATE:S/_/./}
CATEGORIES= graphics linux
MASTER_SITES= http://download.divx.com/videocodecs/linux/
DISTNAME= ${PORTNAME}-${RELEASE_DATE}
EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
RESTRICTED= unsure of licensing issues
ONLY_FOR_ARCHS= i386
USE_LINUX_PREFIX= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:C/_.+$//}
NO_BUILD= yes
NO_LATEST_LINK= yes
PLIST_SUB= PKGNAME="${PKGNAME}"
RELEASE_DATE= 20011010_4.02
PKGDEINSTALL= ${PKGINSTALL}
post-patch:
.for ext in h linux txt
@${REINPLACE_CMD} -e "s/ //" ${WRKSRC}/*.${ext}
.endfor
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${PREFIX}/usr/doc/${PKGNAME}
.for ext in linux txt
@${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/usr/doc/${PKGNAME}
.endfor
.endif
# Header file installation
@${MKDIR} ${PREFIX}/usr/include/divx4
@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/usr/include/divx4
@${MKDIR} ${PREFIX}/usr/lib/divx4
@${INSTALL_DATA} ${WRKSRC}/*.so ${PREFIX}/usr/lib/divx4
@${LINUXBASE}/sbin/ldconfig
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (divx4linux-20011010_4.02.tgz) = 5429fb8b3b8e6373f2ab05ecf90238bc

View File

@ -1 +0,0 @@
Linux binary release of DivX 4 (TM) Codec

View File

@ -1,12 +0,0 @@
[excerpt from DivX (TM) site]
The center of DivX MPEG-4 Codec is the DivX codec core. It is the
engine of the codec. The codec core processes either the video
image or MPEG-4 bitstream, and it uses the compression and
decompression to convert information between the formats. The codec
core includes two parts - an encoder (that compresses the video
image into MPEG-4 bitstreams) and a decoder (that decompresses the
MPEG-4 bitstream back into video images). The encoder core is named
"encore", and the decoder core "decore".
WWW: http://www.divx.com/

View File

@ -1,78 +0,0 @@
#!/bin/sh
# $FreeBSD$
[ $# != 2 ] && exit 1
PKGNAME=$1
ACTION=$2
LIB_DIR=/usr/lib/divx4
ETC_DIR=${PKG_PREFIX}/etc
ETC_FILE=ld.so.conf
FMT=fmt
GREP=grep
LDCONFIG=/compat/linux/sbin/ldconfig
PERL=perl
case "$ACTION" in
POST-INSTALL)
echo "$PKGNAME: ======> <======"
if [ -f ${ETC_DIR}/${ETC_FILE} ]
then
IS_IT_THERE=`${GREP} -E -e "^${LIB_DIR}$" ${ETC_DIR}/${ETC_FILE}`
if [ -z "${IS_IT_THERE}" ]
then
echo "${LIB_DIR}" >> ${ETC_DIR}/${ETC_FILE}
fi
${LDCONFIG}
else
echo "$PKGNAME: ERROR: There is NO ${ETC_DIR}/${ETC_FILE}" | ${FMT}
echo "$PKGNAME: ERROR: Check your system." | ${FMT}
fi
echo "$PKGNAME: ======> <======"
;;
DEINSTALL)
echo "$PKGNAME: ======> <======"
if [ -f ${ETC_DIR}/${ETC_FILE} ]
then
IS_IT_THERE=`${GREP} -E -e "^${LIB_DIR}$" ${ETC_DIR}/${ETC_FILE}`
if [ -n "${IS_IT_THERE}" ]
then
${PERL} -pi -e "s|^${LIB_DIR}\n$||" \
${ETC_DIR}/${ETC_FILE}
else
echo "$PKGNAME: ERROR: Existing ${ETC_DIR}/${ETC_FILE} configuration file was modified by hand." | ${FMT}
echo "$PKGNAME: You probably edited it by hand. Therefore, I can't automatically modify it."
echo "$PKGNAME: There is no problem."
echo "$PKGNAME: Just make sure it does not contain a line with '${LIB_DIR}'"
fi
${LDCONFIG}
else
echo "$PKGNAME: ERROR: There is NO ${ETC_DIR}/${ETC_FILE}" | ${FMT}
echo "$PKGNAME: ERROR: Check your system." | ${FMT}
fi
echo "$PKGNAME: ======> <======"
;;
PRE-INSTALL|POST-DEINSTALL)
;;
*)
exit 1
;;
esac
exit

View File

@ -1,11 +0,0 @@
%%PORTDOCS%%usr/doc/%%PKGNAME%%/Codec Core Interface.txt
%%PORTDOCS%%usr/doc/%%PKGNAME%%/license.txt
%%PORTDOCS%%usr/doc/%%PKGNAME%%/RELNOTES.linux
usr/include/divx4/decore.h
usr/include/divx4/encore2.h
usr/include/divx4/mv_hint.h
usr/lib/divx4/libdivxdecore.so
usr/lib/divx4/libdivxencore.so
@dirrm usr/lib/divx4
@dirrm usr/include/divx4
%%PORTDOCS%%@dirrm usr/doc/%%PKGNAME%%

View File

@ -1,178 +0,0 @@
# New ports collection makefile for: ffmpeg
# Date created: Tue Sep 25 15:52:09 BRT 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ffmpeg
PORTVERSION= 0.4.5
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= lioux
DISTNAME= ffmpeg-cvs-2002101400
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
WRKSRC= ${WRKDIR}/${PORTNAME}
ONLY_FOR_ARCHS= i386
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \
--make="${GMAKE}" --enable-shared \
--extra-libs="-lm -L${LOCALBASE}/lib"
PLIST_SUB= SHLIB_VERSION=${SHLIB_VERSION}
INSTALLS_SHLIB= yes
SHLIB_VERSION= 0
#
DOC_FILES= COPYING Changelog README VERSION
# under subdir doc
DOC_DOCFILES= FAQ README.dev README.tech \
TODO bench.txt ffmpeg.txt \
HOWTO-STREAM README.beos \
ffserver.txt
HEADER_FILES= libavcodec/avcodec.h libavcodec/common.h \
libavcodec/dsputil.h
LIB_FILES= libavcodec/libavcodec.a libav/libavformat.a
.include <bsd.port.pre.mk>
## lib detection
##
## lame mp3
.if exists(${LOCALBASE}/lib/libmp3lame.so.0)
WITH_MP3=yes
.endif
## vorbis
.if exists(${LOCALBASE}/lib/libvorbisenc.so.2)
WITH_VORBIS=yes
.endif
## support activation
##
## disable a52
.ifndef(WITHOUT_A52)
LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
CONFIGURE_ARGS+= --enable-a52 \
--enable-a52bin
.else
CONFIGURE_ARGS+= --enable-a52 \
--disable-a52bin
.endif
## disable mmx
.ifdef(WITHOUT_MMX)
CONFIGURE_ARGS+= --disable-mmx
.endif
## mp3
.ifdef(WITH_MP3)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
CONFIGURE_ARGS+= --enable-mp3lame
.endif
## optimization
.ifdef(WITH_OPTIMIZED_CFLAGS)
CONFIGURE_ARGS+= --extra-cflags="${CFLAGS} -I${LOCALBASE}/include \
-O3 -ffast-math -fomit-frame-pointer"
.else
CONFIGURE_ARGS+= --extra-cflags="${CFLAGS} -I${LOCALBASE}/include"
.endif
## vorbis
.ifdef(WITH_VORBIS)
LIB_DEPENDS+= vorbisenc.2:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --enable-vorbis
.endif
pre-everything::
.ifndef(WITHOUT_LIBA52)
@${ECHO_MSG} "You can disable liba52 support by defining WITHOUT_LIBA52"
.endif
.ifndef(WITHOUT_MMX)
@${ECHO_MSG} "Define WITHOUT_MMX if your system does not support MMX"
.endif
.ifndef(WITH_MP3)
@${ECHO_MSG} 'Define WITH_MP3 to enable lame MP3 codec'
.endif
.ifndef(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG}
@${ECHO_MSG} 'You can enable additional compilation optimizations'
@${ECHO_MSG} 'by defining WITH_OPTIMIZED_CFLAGS'
.endif
.ifndef(WITH_VORBIS)
@${ECHO_MSG} 'Define WITH_VORBIS to enable libvorbisenc VORBIS codec'
.endif
.if !(defined(WITH_BKTR_FORMAT) && defined(WITH_BKTR_DEV))
@${ECHO_MSG}
@${ECHO_MSG} 'If you want to capture from a bktr(4) supported card'
@${ECHO_MSG} 'you will probably need to set the input device and format'
@${ECHO_MSG} 'You can set WITH_BKTR_FORMAT to NTSC or PAL and you can set'
@${ECHO_MSG} 'WITH_BKTR_DEV to 0, 1, 2 or 3 (1 is usually the tuner)'
@${ECHO_MSG} 'so for a PAL tuner make WITH_BKTR_FORMAT=PAL WITH_BKTR_DEV=1'
@${ECHO_MSG}
@${ECHO_MSG} 'Warning: invalid settings will probably dump cores'
@${ECHO_MSG}
.endif
post-extract:
# install booktree extension
@${CP} ${FILESDIR}/grab_bsdbktr.c ${WRKSRC}/libav/
post-patch:
@${REINPLACE_CMD} -e "s!/etc/ffserver.conf!${PREFIX}/etc/ffserver.conf!g" \
${WRKSRC}/ffserver.c
# malloc.h was deprecated in favor of stdlib.h
@${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 ${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|'
.ifdef(WITH_BKTR_FORMAT)
@${REINPLACE_CMD} -e \
"s!VIDEO_FORMAT NTSC!VIDEO_FORMAT ${WITH_BKTR_FORMAT}!" \
${WRKSRC}/libav/grab_bsdbktr.c
.endif
.ifdef(WITH_BKTR_DEV)
@${REINPLACE_CMD} -e \
"s!VIDEO_INPUT METEOR_INPUT_DEV0!VIDEO_INPUT METEOR_INPUT_DEV${WITH_BKTR_DEV}!" \
${WRKSRC}/libav/grab_bsdbktr.c
.endif
.ifndef(WITHOUT_LIBA52)
@${REINPLACE_CMD} -e 's|-ldl||' \
${WRKSRC}/configure
.endif
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.for file in ${DOC_DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
@${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
${PREFIX}/etc/ffserver.conf.sample
.for file in ${HEADER_FILES}
# fix header references prior to installation
@${REINPLACE_CMD} -e 's|"common.h"|<ffmpeg/common.h>|; \
s|"avcodec.h"|<ffmpeg/avcodec.h>|' \
${WRKSRC}/${file}
@${INSTALL_DATA} ${WRKSRC}/${file} \
${PREFIX}/include/ffmpeg/${file:T}
.endfor
.for file in ${LIB_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T}
.endfor
# add shared lib link
@${LN} -sf libavcodec.so \
${PREFIX}/lib/libavcodec.so.${SHLIB_VERSION}
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (ffmpeg-cvs-2002101400.tar.gz) = 13d04dcb31a09ff98a4caccbeed8dbc5

View File

@ -1,266 +0,0 @@
/*
* FreeBSD video grab interface
* Copyright (c) 2002 Steve O'Hara-Smith
* based on
* Linux video grab interface
* Copyright (c) 2000,2001 Gerard Lantau.
* and
* simple_grab.c Copyright (c) 1999 Roger Hardiman
*
* GPL virus inherited:
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "avformat.h"
#include <machine/ioctl_meteor.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <signal.h>
typedef struct {
int fd;
int tuner_fd;
int frame_format; /* see VIDEO_PALETTE_xxx */
int width, height;
int frame_rate;
int frame_size;
} VideoData;
const char *video_device = "/dev/bktr0";
#define GRABBER_SETTLE_TIME 3
#define PAL 1
#define NTSC 2
/* PAL is 768 x 576. NTSC is 640 x 480 */
#define PAL_HEIGHT 576
#define NTSC_HEIGHT 480
#ifndef VIDEO_FORMAT
#define VIDEO_FORMAT NTSC
#endif
#ifndef VIDEO_INPUT
#define VIDEO_INPUT METEOR_INPUT_DEV0;
#endif
static UINT8 *video_buf;
static int signal_expected = 0;
static int unexpected_signals = 0;
static void catchsignal(int signal)
{
if (!signal_expected) unexpected_signals++;
signal_expected = 0;
return;
}
static int bktr_init(AVFormatContext *s1, AVFormatParameters *ap)
{
VideoData *s = s1->priv_data;
int width, height;
int video_fd;
int format = VIDEO_FORMAT;
struct meteor_geomet geo;
int c;
struct sigaction act,old;
memset(&act,0,sizeof(act));
sigemptyset(&act.sa_mask);
act.sa_handler = catchsignal;
sigaction(SIGUSR1,&act,&old);
sigaction(SIGALRM,&act,&old);
width = s->width;
height = s->height;
s->tuner_fd = open ("/dev/tuner0", O_RDWR);
if (s->tuner_fd < 0) {
perror("Warning: Tuner not opened continuing");
}
video_fd = open(video_device, O_RDWR);
if (video_fd < 0) {
perror(video_device);
return -EIO;
}
s->fd=video_fd;
geo.rows = height;
geo.columns = width;
geo.frames = 1;
geo.oformat = METEOR_GEO_YUV_PACKED;
if ((format == PAL) && (height <= (PAL_HEIGHT/2)))
geo.oformat |= METEOR_GEO_EVEN_ONLY;
if ((format == NTSC) && (height <= (NTSC_HEIGHT/2)))
geo.oformat |= METEOR_GEO_EVEN_ONLY;
if (ioctl(video_fd, METEORSETGEO, &geo) < 0) {
perror ("METEORSETGEO");
return -EIO;
}
switch (format) {
case PAL: c = METEOR_FMT_PAL; break;
case NTSC: c = METEOR_FMT_NTSC; break;
default: c = METEOR_FMT_PAL; break;
}
if (ioctl(video_fd, METEORSFMT, &c) < 0) {
perror ("METEORSFMT");
return -EIO;
}
c = VIDEO_INPUT;
if (ioctl(video_fd, METEORSINPUT, &c) < 0) {
perror ("METEORSINPUT");
return -EIO;
}
video_buf = mmap((caddr_t)0, width*height*2, PROT_READ, MAP_SHARED,
video_fd, (off_t) 0);
if (video_buf == MAP_FAILED) {
perror ("mmap");
return -EIO;
}
c = METEOR_CAP_CONTINOUS;
ioctl(s->fd, METEORCAPTUR, &c);
c = SIGUSR1;
signal_expected = 1;
ioctl (s->fd, METEORSSIGNAL, &c);
return 0;
}
static void bf_yuv422_to_yuv420p(UINT8 *lum, UINT8 *cb, UINT8 *cr,
UINT8 *src, int width, int height)
{
int x, y;
UINT8 *p = src;
for(y=0;y<height;y+=2) {
for(x=0;x<width;x+=2) {
lum[0] = p[1];
cb[0] = p[0];
lum[1] = p[3];
cr[0] = p[2];
p += 4;
lum += 2;
cb++;
cr++;
}
for(x=0;x<width;x+=2) {
lum[0] = p[1];
lum[1] = p[3];
p += 4;
lum += 2;
}
}
}
/* note: we support only one picture read at a time */
static int grab_read_packet(AVFormatContext *s1, AVPacket *pkt)
{
VideoData *s = s1->priv_data;
int size, halfsize;
sigset_t msig;
UINT8 *lum, *cb, *cr;
size = s->width * s->height;
halfsize = size << 1;
if (av_new_packet(pkt, size + halfsize) < 0)
return -EIO;
if (unexpected_signals > 0) {
unexpected_signals--;
} else {
signal_expected = 1;
sigemptyset (&msig);
sigsuspend (&msig);
}
if (unexpected_signals & 1) {
bzero (pkt->data, size + halfsize);
} else {
lum = pkt->data;
cb = lum + size;
cr = cb + size/4;
bf_yuv422_to_yuv420p (lum, cb, cr, video_buf, s->width, s->height);
}
return size + halfsize;
}
static int grab_read_header (AVFormatContext *s1, AVFormatParameters *ap)
{
VideoData *s = s1->priv_data;
AVStream *st;
int width, height;
int frame_rate;
if (!ap || ap->width <= 0 || ap->height <= 0 || ap->frame_rate <= 0)
return -1;
width = ap->width;
height = ap->height;
frame_rate = ap->frame_rate;
st = av_new_stream(s1, 0);
if (!st)
return -ENOMEM;
s1->priv_data = s;
s1->nb_streams = 1;
s1->streams[0] = st;
s->width = width;
s->height = height;
s->frame_rate = frame_rate;
s->frame_size = width*height*2;
st->codec.pix_fmt = PIX_FMT_YUV420P;
st->codec.codec_id = CODEC_ID_RAWVIDEO;
st->codec.width = width;
st->codec.height = height;
st->codec.frame_rate = frame_rate;
return bktr_init(s1, ap);
}
static int grab_read_close (AVFormatContext *s1)
{
VideoData *s = s1->priv_data;
int c = METEOR_CAP_STOP_CONT;
ioctl(s->fd, METEORCAPTUR, &c);
close(s->fd);
close(s->tuner_fd);
free(s);
return 0;
}
AVInputFormat video_grab_device_format = {
"video_grab_device",
"video grab",
sizeof(VideoData),
NULL,
grab_read_header,
grab_read_packet,
grab_read_close,
flags: AVFMT_NOFILE,
};
int video_grab_init(void)
{
av_register_input_format(&video_grab_device_format);
return 0;
}

View File

@ -1,26 +0,0 @@
--- Makefile.orig Sun Sep 1 15:07:34 2002
+++ Makefile Tue Oct 8 13:51:49 2002
@@ -6,12 +6,12 @@
VPATH=$(SRC_PATH)
-CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libav -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
+CFLAGS= $(OPTFLAGS) -Wall -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libav -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
ifeq ($(CONFIG_DARWIN),yes)
LDFLAGS+= -g -d
FFSLDFLAGS= -Wl,-bind_at_load
else
-LDFLAGS+= -g -Wl,--warn-common
+LDFLAGS+= -Wl,--warn-common
FFSLDFLAGS= -Wl,-E
endif
@@ -60,7 +60,7 @@
ffserver$(EXE): ffserver.o $(DEP_LIBS)
$(CC) $(LDFLAGS) $(FFSLDFLAGS) \
-o $@ ffserver.o -L./libavcodec -L./libav \
- -lavformat -lavcodec -ldl $(EXTRALIBS)
+ -lavformat -lavcodec $(EXTRALIBS)
ffplay: ffmpeg$(EXE)
ln -sf $< $@

View File

@ -1,37 +0,0 @@
--- ffmpeg.c.orig Thu Oct 10 20:13:52 2002
+++ ffmpeg.c Thu Oct 10 20:14:03 2002
@@ -36,6 +36,7 @@
#include <ctype.h>
+#define INT64_C(x) x##LL
#define MAXINT64 INT64_C(0x7fffffffffffffff)
typedef struct {
@@ -146,7 +147,7 @@
const char *audio_device = "none";
#endif
#ifndef CONFIG_VIDEO4LINUX
-const char *v4l_device = "none";
+const char *video_device = "none";
#endif
typedef struct AVOutputStream {
@@ -1601,7 +1602,7 @@
void opt_video_device(const char *arg)
{
- v4l_device = strdup(arg);
+ video_device = strdup(arg);
}
void opt_audio_device(const char *arg)
@@ -2099,7 +2100,7 @@
/* by now video grab has one stream */
ic->streams[0]->r_frame_rate = ap->frame_rate;
input_files[nb_input_files] = ic;
- dump_format(ic, nb_input_files, v4l_device, 0);
+ dump_format(ic, nb_input_files, video_device, 0);
nb_input_files++;
}
if (has_audio) {

View File

@ -1,18 +0,0 @@
--- ffserver.c.orig Tue Oct 8 13:45:36 2002
+++ ffserver.c Tue Oct 8 13:46:10 2002
@@ -20,7 +20,6 @@
#include "avformat.h"
#include <stdarg.h>
-#include <netinet/in.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
@@ -30,6 +29,7 @@
#include <time.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <sys/wait.h>
#include <arpa/inet.h>
#include <netdb.h>

View File

@ -1,20 +0,0 @@
--- libav/Makefile.orig Tue Oct 8 13:54:16 2002
+++ libav/Makefile Tue Oct 8 13:54:30 2002
@@ -6,7 +6,7 @@
VPATH=$(SRC_PATH)/libav
-CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
+CFLAGS= $(OPTFLAGS) -Wall -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
OBJS= utils.o cutils.o allformats.o
@@ -17,7 +17,7 @@
OBJS+= avio.o aviobuf.o file.o
ifeq ($(CONFIG_VIDEO4LINUX),yes)
-OBJS+= grab.o
+OBJS+= grab_bsdbktr.o
endif
ifeq ($(CONFIG_AUDIO_OSS),yes)

View File

@ -1,9 +0,0 @@
--- libav/avformat.h Mon Jul 8 04:38:40 2002
+++ libav/avformat.h Sun Jul 14 15:22:58 2002
@@ -284,5 +284,5 @@
int video_grab_init(void);
int audio_init(void);
-extern const char *v4l_device;
+extern const char *video_device;
extern const char *audio_device;

View File

@ -1,22 +0,0 @@
--- libavcodec/Makefile.orig Sun Oct 6 12:26:38 2002
+++ libavcodec/Makefile Wed Oct 9 14:24:34 2002
@@ -7,8 +7,7 @@
VPATH=$(SRC_PATH)/libavcodec
# NOTE: -I.. is needed to include config.h
-CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
-LDFLAGS= -g
+CFLAGS= $(OPTFLAGS) -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
OBJS= common.o utils.o mem.o allcodecs.o \
mpegvideo.o h263.o jrevdct.o jfdctfst.o jfdctint.o\
@@ -167,8 +166,7 @@
install: all
ifeq ($(BUILD_SHARED),yes)
install -d $(prefix)/lib
- install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so
- ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so
+ install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec.so
ldconfig || true
mkdir -p $(prefix)/include/ffmpeg
install -m 644 $(VPATH)/avcodec.h $(prefix)/include/ffmpeg/avcodec.h

View File

@ -1,41 +0,0 @@
--- libavcodec/bswap.h.orig Sun Nov 3 04:51:51 2002
+++ libavcodec/bswap.h Sun Nov 3 04:53:30 2002
@@ -5,6 +5,14 @@
#include <byteswap.h>
#else
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
+#include <sys/endian.h>
+#endif
+
#ifdef ARCH_X86
inline static unsigned short ByteSwap16(unsigned short x)
{
@@ -13,7 +21,11 @@
"0" (x));
return x;
}
+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
+#define bswap_16(x) (be16toh(x))
+#else
#define bswap_16(x) ByteSwap16(x)
+#endif
inline static unsigned int ByteSwap32(unsigned int x)
{
@@ -29,7 +41,11 @@
"0" (x));
return x;
}
+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
+#define bswap_32(x) (be32toh(x))
+#else
#define bswap_32(x) ByteSwap32(x)
+#endif
inline static unsigned long long int ByteSwap64(unsigned long long int x)
{

View File

@ -1 +0,0 @@
Hyper fast realtime audio/video encoder/converter, streaming server

View File

@ -1,24 +0,0 @@
[ excerpt (with adaptations) from developer's README ]
ffmpeg is a hyper fast realtime audio/video encoder, a streaming
server and a generic audio and video file converter.
It can convert a standard video source into several file formats
based on DCT/motion compensation encoding. Sound is compressed in
MPEG audio layer 2 or using an AC3 compatible stream.
What makes ffmpeg interesting ?
- Simple and efficient video encoder: outputs MPEG1, H263, Real
Video(tm), MPEG4, DIVX and MJPEG compatible bitstreams using the
same encoder core.
- Hyper fast MPEG audio layer 2 compression (50 times faster than
realtime on a K6 500).
[snip -> rest on website below]
ffmpeg is made of two programs:
* ffmpeg: soft VCR which encodes in real time to several formats.
It can also encode from any supported input file format to any
input supported format.
* ffserver: high performance live broadcast streaming server based
on the ffmpeg core encoders.
WWW: http://ffmpeg.sourceforge.net/

View File

@ -1,26 +0,0 @@
bin/ffmpeg
bin/ffplay
bin/ffserver
etc/ffserver.conf.sample
include/ffmpeg/avcodec.h
include/ffmpeg/common.h
include/ffmpeg/dsputil.h
lib/libavcodec.a
lib/libavcodec.so
lib/libavcodec.so.%%SHLIB_VERSION%%
lib/libavformat.a
%%PORTDOCS%%share/doc/ffmpeg/COPYING
%%PORTDOCS%%share/doc/ffmpeg/Changelog
%%PORTDOCS%%share/doc/ffmpeg/FAQ
%%PORTDOCS%%share/doc/ffmpeg/HOWTO-STREAM
%%PORTDOCS%%share/doc/ffmpeg/README
%%PORTDOCS%%share/doc/ffmpeg/README.beos
%%PORTDOCS%%share/doc/ffmpeg/README.dev
%%PORTDOCS%%share/doc/ffmpeg/README.tech
%%PORTDOCS%%share/doc/ffmpeg/TODO
%%PORTDOCS%%share/doc/ffmpeg/VERSION
%%PORTDOCS%%share/doc/ffmpeg/bench.txt
%%PORTDOCS%%share/doc/ffmpeg/ffmpeg.txt
%%PORTDOCS%%share/doc/ffmpeg/ffserver.txt
%%PORTDOCS%%@dirrm share/doc/ffmpeg
@dirrm include/ffmpeg

View File

@ -1,44 +0,0 @@
# New ports collection makefile for: gstreamer player
# Date created: Fri Jul 12 06:02:42 UTC 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gstreamer
PORTVERSION= 0.4.0
CATEGORIES= graphics gnome
MASTER_SITES= http://gstreamer.net/releases/0.4.0/src/
PKGNAMESUFFIX= -player
DISTNAME= gst-player-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \
gstreamer.0:${PORTSDIR}/graphics/gstreamer \
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
popt.0:${PORTSDIR}/devel/popt \
xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS= gst-visualise:${PORTSDIR}/graphics/gstreamer-plugins
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME} \
--localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG}
INSTALLS_SHLIB= yes
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
post-patch:
# remove version number from include dir name
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
${XARGS} -n 10 ${REINPLACE_CMD} -E \
's|^(lib[[:alpha:]]+includedir.+)-@VERSION@|\1|'
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (gst-player-0.4.0.tar.gz) = b991024aaa225a2daa214637ee1ab1e6

View File

@ -1 +0,0 @@
Simple yet functional mediaplayer written with GStreamer

View File

@ -1,3 +0,0 @@
Simple yet functional mediaplayer written with GStreamer
WWW: http://gstreamer.sourceforge.net/

View File

@ -1,25 +0,0 @@
bin/gst-player
include/gstreamer/gst-player/gst/gstvideowidget.h
include/gstreamer/gst/gst-player/play/play.h
lib/gst/libgstplay.la
lib/gst/libgstplay.so
lib/gst/libgstplay.so.0
lib/libgstplayer.la
lib/libgstplayer.so
lib/libgstplayer.so.0
share/gnome/applications/gst-player.desktop
share/gnome/pixmaps/gst-player/mini-down.png
share/gnome/pixmaps/gst-player/mini-up.png
share/gnome/pixmaps/gst-player/seek-small.png
share/gnome/pixmaps/gst-player/seek.png
@dirrm share/gnome/pixmaps/gst-player
@unexec rmdir %D/share/gnome/pixmaps 2>/dev/null || true
@unexec rmdir %D/share/gnome/applications 2>/dev/null || true
@unexec rmdir %D/share/gnome 2>/dev/null 2>/dev/null || true
@dirrm lib/gst
@dirrm include/gstreamer/gst/gst-player/play
@dirrm include/gstreamer/gst/gst-player
@dirrm include/gstreamer/gst-player/gst
@dirrm include/gstreamer/gst-player
@dirrm include/gstreamer/gst
@dirrm include/gstreamer

View File

@ -1,658 +0,0 @@
# New ports collection makefile for: gstreamer plugins
# Date created: Wed Jul 10 23:38:01 UTC 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gstreamer
PORTVERSION= 0.4.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -plugins
DISTNAME= gst-plugins-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
gconf-2.5:${PORTSDIR}/devel/gconf2 \
gstreamer.0:${PORTSDIR}/graphics/gstreamer \
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \
popt.0:${PORTSDIR}/devel/popt \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gnomehack \
gnomehier \
gnomeprefix
USE_LIBTOOL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-alsa \
--disable-cdrom \
--disable-mjpegtools \
--disable-qcam \
--disable-v4l2 \
--disable-v4l
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_TARGET=
INSTALLS_SHLIB= yes
# for esound detection
WANT_GNOME= yes
MAN1= gst-launch-ext.1 gst-visualise.1
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
SDL_CONFIG?="${LOCALBASE}/bin/sdl11-config"
XMMS_CONFIG?="${LOCALBASE}/bin/xmms-config"
post-patch:
# as of this writing, FreeBSD does not support lrint* C99 math functions
@${REINPLACE_CMD} -E -e \
's|^#define.*LRINT.*$$||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# remove version number from include dir name
@${REINPLACE_CMD} -E -e \
's|-@VERSION@||' \
${WRKSRC}/gstreamer-libs.pc.in \
${WRKSRC}/gstreamer-play.pc.in
# remove version number from include dir name
# respect CFLAGS
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
${XARGS} -n 10 ${REINPLACE_CMD} -E -e \
's|^(lib[[:alpha:]]+includedir.+)-@VERSION@|\1|; \
s,-O(2|3),,; \
s|-mcpu=i486||'
# gconf is not working in this release
@${REINPLACE_CMD} -E -e \
's,^((DIST_SUBDIRS|SUBDIRS).+)gconf,\1,' \
${WRKSRC}/Makefile.in \
${WRKSRC}/gst-libs/gst/Makefile.in
# mcopidl takes the file as the last argument
@${REINPLACE_CMD} -E -e \
's|(mcopidl.+)(\$$<)(.+)$$|\1 \3 \2|' \
${WRKSRC}/ext/arts/Makefile.in
# no linux/cdrom.h
@${REINPLACE_CMD} -E -e \
's|^#include[[:space:]]+.+linux/cdrom\.h.*$$||' \
${WRKSRC}/ext/dvdread/dvdreadsrc.c
# malloc.h was deprecated in favor of stdlib.h
# inttypes.h not stdint.h
@${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 ${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|; \
s|stdint.h|inttypes.h|'
post-install:
# register plugins
@${X11BASE}/bin/gst-register 2>/dev/null
.include <bsd.port.pre.mk>
##
## auto detect possible plugins
##
# aalib
.if exists(${LOCALBASE}/lib/libaa.a)
WITH_AALIB=yes
.endif
# arts
.if exists(${LOCALBASE}/lib/libartsc.so.0)
WITH_ARTS=yes
.endif
# avifile
.if exists(${LOCALBASE}/lib/libaviplay.a)
WITH_AVIFILE=yes
.endif
# esound
.if (${HAVE_GNOME:Mesound}!="")
WITH_ESOUND=yes
.endif
# flac
.if exists(${LOCALBASE}/lib/libFLAC.a)
WITH_FLAC=yes
.endif
# freetype
.if exists(${LOCALBASE}/lib/libfreetype.a)
WITH_FREETYPE=yes
.endif
# lame
.if exists(${LOCALBASE}/lib/libmp3lame.a)
WITH_LAME=yes
.endif
# gnomevfs
.if exists(${X11BASE}/lib/libgnomevfs-2.a)
WITH_GNOMEVFS=yes
.endif
# gsm
.if exists(${LOCALBASE}/lib/libgsm.a)
WITH_GSM=yes
.endif
# jpeg
.if exists(${LOCALBASE}/lib/libjpeg.a)
WITH_JPEG=yes
.endif
# liba52
.if exists(${LOCALBASE}/lib/liba52.a)
WITH_LIBA52=yes
.endif
# libaudiofile
.if exists(${LOCALBASE}/lib/libaudiofile.a)
WITH_LIBAUDIOFILE=yes
.endif
# libdv
.if exists(${LOCALBASE}/lib/libdv.a)
WITH_LIBDV=yes
.endif
# libdvdnav
.if exists(${LOCALBASE}/lib/libdvdnav.so)
WITH_LIBDVDNAV=yes
.endif
# libdvdread
.if exists(${LOCALBASE}/lib/libdvdread.a)
WITH_LIBDVDREAD=yes
.endif
# libfame
.if exists(${LOCALBASE}/lib/libfame.a)
WITH_LIBFAME=yes
.endif
# libmikmod
.if exists(${LOCALBASE}/lib/libmikmod.a)
WITH_LIBMIKMOD=yes
.endif
# libmpeg2
.if exists(${LOCALBASE}/lib/libmpeg2.a)
WITH_LIBMPEG2=yes
.endif
# libshout
.if exists(${LOCALBASE}/lib/libshout.a)
WITH_LIBSHOUT=yes
.endif
# libsidplay
.if exists(${LOCALBASE}/lib/libsidplay.a)
WITH_LIBSIDPLAY=yes
.endif
# mad
.if exists(${LOCALBASE}/lib/libmad.a)
WITH_MAD=yes
.endif
# openquicktime
.if exists(${LOCALBASE}/lib/libopenquicktime.so)
WITH_OPENQUICKTIME=yes
.endif
# png
.if exists(${LOCALBASE}/lib/libpng.a)
WITH_PNG=yes
.endif
# sdl
.if exists(${LOCALBASE}/lib/libSDL-1.1.a)
WITH_SDL=yes
.endif
# vorbis
.if exists(${LOCALBASE}/lib/libvorbis.a)
WITH_VORBIS=yes
.endif
# xmms
.if exists(${X11BASE}/lib/libxmms.a)
WITH_XMMS=yes
.endif
##
## control CONFIGURE options
##
# aalib
.ifndef(WITH_AALIB)
CONFIGURE_ARGS+= --disable-aalib \
--disable-aalibtest
PLIST_SUB+= AALIB="@comment "
.else
LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
CONFIGURE_ARGS+= --with-aalib-prefix=${LOCALBASE} \
--with-aalib-exec-prefix=${LOCALBASE}
PLIST_SUB+= AALIB=""
.endif
# arts
.ifndef(WITH_ARTS)
CONFIGURE_ARGS+= --disable-arts \
--disable-artsc \
--disable-artstest
PLIST_SUB+= ARTS="@comment "
.else
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
CONFIGURE_ARGS+= --with-arts-prefix=${LOCALBASE} \
--with-arts-exec-prefix=${LOCALBASE}
PLIST_SUB+= ARTS=""
.endif
# avifile
.ifndef(WITH_AVIFILE)
CONFIGURE_ARGS+= --disable-avifile
PLIST_SUB+= AVIFILE="@comment "
.else
LIB_DEPENDS+= aviplay.0:${PORTSDIR}/graphics/avifile
PLIST_SUB+= AVIFILE=""
.endif
# esound
.ifndef(WITH_ESOUND)
CONFIGURE_ARGS+= --disable-esd \
--disable-esdtest
PLIST_SUB+= ESOUND="@comment "
.else
USE_GNOME+= esound
CONFIGURE_ARGS+= --with-esd-prefix=${LOCALBASE} \
--with-esd-exec-prefix=${LOCALBASE}
PLIST_SUB+= ESOUND=""
.endif
# flac
.ifndef(WITH_FLAC)
CONFIGURE_ARGS+= --disable-flac
PLIST_SUB+= FLAC="@comment "
.else
LIB_DEPENDS+= FLAC.4:${PORTSDIR}/audio/flac
PLIST_SUB+= FLAC=""
.endif
# freetype
.ifndef(WITH_FREETYPE)
CONFIGURE_ARGS+= --disable-freetypetest
PLIST_SUB+= FREETYPE="@comment "
.else
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+= --with-ft-prefix=${LOCALBASE} \
--with-ft-exec-prefix=${LOCALBASE}
PLIST_SUB+= FREETYPE=""
.endif
# gnomevfs
.ifndef(WITH_GNOMEVFS)
CONFIGURE_ARGS+= --disable-gnome_vfs
PLIST_SUB+= GNOMEVFS="@comment "
.else
LIB_DEPENDS+= gnomevfs-2.0:${PORTSDIR}/devel/gnomevfs2
PLIST_SUB+= GNOMEVFS=""
.endif
# gsm
.ifndef(WITH_GSM)
CONFIGURE_ARGS+= --disable-gsm
PLIST_SUB+= GSM="@comment "
.else
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
PLIST_SUB+= GSM=""
.endif
# http
.ifndef(WITH_HTTP)
CONFIGURE_ARGS+= --disable-http
PLIST_SUB+= HTTP="@comment "
.else
PLIST_SUB+= HTTP=""
.endif
# jpeg
.ifndef(WITH_JPEG)
CONFIGURE_ARGS+= --disable-jpeg
PLIST_SUB+= JPEG="@comment "
.else
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
PLIST_SUB+= JPEG=""
.endif
# lame
.ifndef(WITH_LAME)
CONFIGURE_ARGS+= --disable-lame
PLIST_SUB+= LAME="@comment "
.else
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
PLIST_SUB+= LAME=""
.endif
# liba52
.ifndef(WITH_LIBA52)
CONFIGURE_ARGS+= --disable-a52dec
PLIST_SUB+= LIBA52="@comment "
.else
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg
CONFIGURE_ARGS+= --with-a52dec-prefix=${LOCALBASE}
PLIST_SUB+= LIBA52=""
.endif
# libaudiofile
.ifndef(WITH_LIBAUDIOFILE)
CONFIGURE_ARGS+= --disable-audiofile
PLIST_SUB+= LIBAUDIOFILE="@comment "
.else
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
PLIST_SUB+= LIBAUDIOFILE=""
.endif
# libdv
.ifndef(WITH_LIBDV)
CONFIGURE_ARGS+= --disable-libdv
PLIST_SUB+= LIBDV="@comment "
.else
LIB_DEPENDS+= dv.2:${PORTSDIR}/graphics/libdv
PLIST_SUB+= LIBDV=""
.endif
# libdvdnav
.ifndef(WITH_LIBDVDNAV)
CONFIGURE_ARGS+= --disable-dvdnav
PLIST_SUB+= LIBDVDNAV="@comment "
.else
LIB_DEPENDS+= dvdnav.1:${PORTSDIR}/graphics/libdvdnav
PLIST_SUB+= LIBDVDNAV=""
.endif
# libdvdread
.ifndef(WITH_LIBDVDREAD)
CONFIGURE_ARGS+= --disable-dvdread
PLIST_SUB+= LIBDVDREAD="@comment "
.else
LIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread
PLIST_SUB+= LIBDVDREAD=""
.endif
# libfame
.ifndef(WITH_LIBFAME)
CONFIGURE_ARGS+= --disable-libfame \
--disable-libfametest
PLIST_SUB+= LIBFAME="@comment "
.else
LIB_DEPENDS+= fame-0.9.0:${PORTSDIR}/graphics/libfame
CONFIGURE_ARGS+= --with-libfame-prefix=${LOCALBASE} \
--with-libfame-exec-prefix=${LOCALBASE}
PLIST_SUB+= LIBFAME=""
.endif
# libmikmod
.ifndef(WITH_LIBMIKMOD)
CONFIGURE_ARGS+= --disable-libmikmodtest \
--disable-mikmod
PLIST_SUB+= LIBMIKMOD="@comment "
.else
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
CONFIGURE_ARGS+= --with-libmikmod-prefix=${LOCALBASE} \
--with-libmikmod-exec-prefix=${LOCALBASE}
PLIST_SUB+= LIBMIKMOD=""
.endif
# libmpeg2
.ifndef(WITH_LIBMPEG2)
CONFIGURE_ARGS+= --disable-mpeg2dec
PLIST_SUB+= LIBMPEG2="@comment "
.else
LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/graphics/libmpeg2
CONFIGURE_ARGS+= --with-mpeg2dec-prefix=${LOCALBASE}
PLIST_SUB+= LIBMPEG2=""
.endif
# libshout
.ifndef(WITH_LIBSHOUT)
CONFIGURE_ARGS+= --disable-shout
PLIST_SUB+= LIBSHOUT="@comment "
.else
LIB_DEPENDS+= shout.2:${PORTSDIR}/audio/libshout
PLIST_SUB+= LIBSHOUT=""
.endif
# libsidplay
.ifndef(WITH_LIBSIDPLAY)
CONFIGURE_ARGS+= --disable-sidplay
PLIST_SUB+= LIBSIDPLAY="@comment "
.else
LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
PLIST_SUB+= LIBSIDPLAY=""
.endif
# mad
.ifndef(WITH_MAD)
CONFIGURE_ARGS+= --disable-mad
PLIST_SUB+= LIBMAD="@comment "
.else
LIB_DEPENDS+= mad.1:${PORTSDIR}/audio/mad
PLIST_SUB+= LIBMAD=""
.endif
# openquicktime
.ifndef(WITH_OPENQUICKTIME)
CONFIGURE_ARGS+= --disable-openquicktime
PLIST_SUB+= OPENQUICKTIME="@comment "
.else
LIB_DEPENDS+= openquicktime.0:${PORTSDIR}/graphics/openquicktime
PLIST_SUB+= OPENQUICKTIME=""
.endif
# oss
.ifdef(WITHOUT_OSS)
CONFIGURE_ARGS+= --disable-oss
PLIST_SUB+= OSS="@comment "
.else
PLIST_SUB+= OSS=""
.endif
# png
.ifndef(WITH_PNG)
CONFIGURE_ARGS+= --disable-libpng
PLIST_SUB+= PNG="@comment "
.else
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
PLIST_SUB+= PNG=""
.endif
# sdl
.ifndef(WITH_SDL)
CONFIGURE_ARGS+= --disable-sdl \
--disable-sdltest
PLIST_SUB+= SDL="@comment "
.else
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
--with-sdl-exec-prefix=${LOCALBASE}
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG}
PLIST_SUB+= SDL=""
.endif
# vorbis
.ifndef(WITH_VORBIS)
CONFIGURE_ARGS+= --disable-vorbis \
--disable-vorbistest
PLIST_SUB+= VORBIS="@comment "
.else
LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+= --with-vorbis=${LOCALBASE} \
--with-vorbis-libraries=${LOCALBASE}/lib \
--with-vorbis-includes=${LOCALBASE}/include
PLIST_SUB+= VORBIS=""
.endif
# xmms
.ifndef(WITH_XMMS)
CONFIGURE_ARGS+= --disable-xmms
PLIST_SUB+= XMMS="@comment "
.else
LIB_DEPENDS+= xmms.3:${PORTSDIR}/audio/xmms
CONFIGURE_ARGS+= --with-xmms-prefix=${X11BASE} \
--with-xmms-exec-prefix=${X11BASE}
CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG}
PLIST_SUB+= XMMS=""
.endif
pre-everything::
.ifndef(WITH_AALIB)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_AALIB to enable aalib Video plugin'
.endif
.ifndef(WITH_ARTS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ARTS to enable arts Audio plugin'
.endif
.ifndef(WITH_AVIFILE)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_AVIFILE to enable avifile Video plugin'
.endif
.ifndef(WITH_ESOUND)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ESOUND to enable esound Audio plugin'
.endif
.ifndef(WITH_FLAC)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_FLAC to enable flac Audio plugin'
.endif
.ifndef(WITH_FREETYPE)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_FREETYPE to enable freetype support'
.endif
.ifndef(WITH_GSM)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_GSM to enable gsm Audio plugin'
.endif
.ifndef(WITH_GNOMEVFS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_GNOMEVFS to enable gnomevfs Network plugin'
.endif
.ifndef(WITH_HTTP)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_HTTP to enable http Network plugin'
.endif
.ifndef(WITH_JPEG)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_JPEG to enable jpeg Video plugin'
.endif
.ifndef(WITH_LAME)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LAME to enable lame MP3 Audio plugin'
.endif
.ifndef(WITH_LIBA52)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBA52 to enable liba52 AC3 Audio plugin'
.endif
.ifndef(WITH_LIBAUDIOFILE)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBAUDIOFILE to enable libaudiofile Audio plugin'
.endif
.ifndef(WITH_LIBDV)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBDV to enable libdv Video plugin'
.endif
.ifndef(WITH_LIBDVDNAV)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBDVDNAV to enable libdvdnav Video plugin'
.endif
.ifndef(WITH_LIBDVDREAD)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBDVDREAD to enable libdvdread Video plugin'
.endif
.ifndef(WITH_LIBFAME)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBFAME to enable libfame Video plugin'
.endif
.ifndef(WITH_LIBMIKMOD)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBMIKMOD to enable libmikmod Audio plugin'
.endif
.ifndef(WITH_LIBMPEG2)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBMPEG2 to enable libmpeg2 Video plugin'
.endif
.ifndef(WITH_LIBSHOUT)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBSHOUT to enable libshout Audio plugin'
.endif
.ifndef(WITH_LIBSIDPLAY)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_LIBSIDPLAY to enable libsidplay Audio plugin'
.endif
.ifndef(WITH_MAD)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_MAD to enable mad Audio plugin'
.endif
.ifndef(WITH_OPENQUICKTIME)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_OPENQUICKTIME to enable openquicktime Video plugin'
.endif
.ifndef(WITHOUT_OSS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITHOUT_OSS to disable OSS Audio plugin'
.endif
.ifndef(WITH_PNG)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_PNG to enable png Video plugin'
.endif
.ifndef(WITH_SDL)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_SDL to enable SDL Video plugin'
.endif
.ifndef(WITH_VORBIS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_VORBIS to enable vorbis Audio plugin'
.endif
.ifndef(WITH_XMMS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin'
.endif
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (gst-plugins-0.4.2.tar.gz) = f2d499cf117408b5a4adc7a0d71eb095

View File

@ -1,10 +0,0 @@
--- configure.orig Thu Jul 11 15:51:47 2002
+++ configure Thu Jul 11 15:51:57 2002
@@ -6731,6 +6731,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1 +0,0 @@
GStreamer written collection of plugins handling several media types

View File

@ -1,17 +0,0 @@
[ excerpt from developer's site ]
This is a collection of plugins written with the GStreamer framework.
Some features of these plugins are:
- Dynamically loaded plugins provide elements and media types,
demand-loaded via an XML registry, similar to ld.so.cache
- Element interface handles all known types of sources, filters,
sinks
- Capabilities system allows verification of element compatibility
using MIME types and media-specific properties
- Autoplugging uses capabilities system to complete complex paths
automatically
- Pipelines can be saved to XML and loaded back to working state
- Resource friendly plugins don't waste RAM
WWW: http://gstreamer.sourceforge.net/

View File

@ -1,124 +0,0 @@
bin/gst-launch-ext
bin/gst-visualise
etc/gconf/schemas/gstreamer.schemas
include/gst-plugins/gst/audio/audio.h
include/gst-plugins/gst/floatcast/floatcast.h
include/gst-plugins/gst/gconf/gconf.h
include/gst-plugins/gst/idct/idct.h
include/gst-plugins/gst/play/play.h
include/gst-plugins/gst/resample/resample.h
include/gst-plugins/gst/riff/riff.h
include/gst-plugins/gst/video/video.h
%%LIBA52%%lib/gst/libgsta52dec.so
%%AALIB%%lib/gst/libgstaasink.so
lib/gst/libgstac3parse.so
lib/gst/libgstadder.so
lib/gst/libgstalaw.so
%%ARTS%%lib/gst/libgstartsdsink.so
lib/gst/libgstaudio.so
lib/gst/libgstaudioscale.so
lib/gst/libgstauparse.so
%%AVIFILE%%lib/gst/libgstavidemux.so
%%AVIFILE%%lib/gst/libgstavimux.so
lib/gst/libgstcdxaparse.so
lib/gst/libgstchart.so
lib/gst/libgstcutter.so
lib/gst/libgstdeinterlace.so
%%LIBDV%%lib/gst/libgstdvdec.so
%%LIBDVDNAV%%lib/gst/libgstdvdnavsrc.so
%%LIBDVDREAD%%lib/gst/libgstdvdreadsrc.so
lib/gst/libgsteffectv.so
%%ESOUND%%lib/gst/libgstesdmon.so
%%ESOUND%%lib/gst/libgstesdsink.so
lib/gst/libgstfestival.so
lib/gst/libgstfilter.so
%%FLAC%%lib/gst/libgstflac.so
lib/gst/libgstflxdec.so
%%GNOMEVFS%%lib/gst/libgstgnomevfssink.so
%%GNOMEVFS%%lib/gst/libgstgnomevfssrc.so
lib/gst/libgstgoom.so
%%GSM%%lib/gst/libgstgsm.so
%%HTTP%%lib/gst/libgsthttpsrc.so
lib/gst/libgstidct.so
lib/gst/libgstintfloat.so
%%JPEG%%lib/gst/libgstjpeg.so
%%LAME%%lib/gst/libgstlame.so
lib/gst/libgstlevel.so
%%LIBFAME%%lib/gst/libgstlibfame.so
%%LIBMAD%%lib/gst/libgstmad.so
lib/gst/libgstmedian.so
%%LIBMIKMOD%%lib/gst/libgstmikmod.so
lib/gst/libgstmodplug.so
lib/gst/libgstmono2stereo.so
lib/gst/libgstmonoscope.so
lib/gst/libgstmp1videoparse.so
lib/gst/libgstmp3types.so
lib/gst/libgstmpeg1encoder.so
lib/gst/libgstmpeg1systemencode.so
lib/gst/libgstmpeg1types.so
%%LIBMPEG2%%lib/gst/libgstmpeg2dec.so
%%LIBMPEG2%%lib/gst/libgstmpeg2enc.so
%%LIBMPEG2%%lib/gst/libgstmpeg2subt.so
%%LIBMPEG2%%lib/gst/libgstmpeg2types.so
lib/gst/libgstmpegaudio.so
lib/gst/libgstmpegaudioparse.so
lib/gst/libgstmpegstream.so
lib/gst/libgstmulaw.so
%%OPENQUICKTIME%%lib/gst/libgstopenquicktimedecoder.so
%%OPENQUICKTIME%%lib/gst/libgstopenquicktimedemux.so
%%OPENQUICKTIME%%lib/gst/libgstopenquicktimetypes.so
%%OSS%%lib/gst/libgstossaudio.so
lib/gst/libgstpassthrough.so
lib/gst/libgstplayondemand.so
lib/gst/libgstqtdemux.so
lib/gst/libgstresample.so
lib/gst/libgstriff.so
lib/gst/libgstrtjpeg.so
%%SDL%%lib/gst/libgstsdlvideosink.so
%%LIBSHOUT%%lib/gst/libgstshout.so
%%LIBSIDPLAY%%lib/gst/libgstsid.so
lib/gst/libgstsilence.so
lib/gst/libgstsinesrc.so
lib/gst/libgstsmooth.so
lib/gst/libgstsmpte.so
%%PNG%%lib/gst/libgstsnapshot.so
lib/gst/libgstspectrum.so
lib/gst/libgstspeed.so
lib/gst/libgststereo.so
lib/gst/libgststereo2mono.so
lib/gst/libgststereosplit.so
lib/gst/libgstsynaesthesia.so
lib/gst/libgstudp.so
lib/gst/libgstvideo.so
lib/gst/libgstvideocrop.so
lib/gst/libgstvideoscale.so
lib/gst/libgstvideotestsrc.so
lib/gst/libgstvolenv.so
lib/gst/libgstvolume.so
%%VORBIS%%lib/gst/libgstvorbis.so
lib/gst/libgstvumeter.so
lib/gst/libgstwavenc.so
lib/gst/libgstwavparse.so
lib/gst/libgsty4menc.so
lib/gst/libmixmatrix.so
lib/libgstgconf-0.4.2.so.0
lib/libgstgconf.a
lib/libgstgconf.so
lib/libgstplay-0.4.2.so.0
lib/libgstplay.a
lib/libgstplay.so
libdata/pkgconfig/gstreamer-libs.pc
libdata/pkgconfig/gstreamer-play.pc
share/aclocal/gst-element-check.m4
@dirrm include/gst-plugins/gst/video
@dirrm include/gst-plugins/gst/riff
@dirrm include/gst-plugins/gst/resample
@dirrm include/gst-plugins/gst/play
@dirrm include/gst-plugins/gst/idct
@dirrm include/gst-plugins/gst/gconf
@dirrm include/gst-plugins/gst/floatcast
@dirrm include/gst-plugins/gst/audio
@dirrm include/gst-plugins/gst
@dirrm include/gst-plugins
@exec %%X11BASE%%/bin/gst-register 2>/dev/null
@unexec %%X11BASE%%/bin/gst-register 2>/dev/null

View File

@ -1,67 +0,0 @@
# New ports collection makefile for: gstreamer
# Date created: Tue Jul 9 20:24:02 UTC 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gstreamer
PORTVERSION= 0.4.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \
popt.0:${PORTSDIR}/devel/popt \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_X_PREFIX= yes
USE_BISON= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_GNOMENG= yes
USE_GNOME= gnomehack \
gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests \
--disable-failing-tests
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_TARGET=
INSTALLS_SHLIB= yes
MAN1= gst-complete.1 gst-compprep.1 gst-inspect.1 gst-launch.1 \
gst-feedback.1 gst-md5sum.1 \
gst-register.1 gst-xmllaunch.1
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
post-patch:
# use proper dir
# remove version number from include dir name
@${FIND} ${WRKSRC} -type f -name Makefile.in | \
${XARGS} -n 10 ${REINPLACE_CMD} -E \
's|^(lib[[:alpha:]]+includedir.+)-@VERSION@|\1|'
# remove version number from include dir name AND
# help dependent ports find popt.h
@${REINPLACE_CMD} -E -e \
's|-@VERSION@||; \
s|(-I\$${includedir})|\1 -I${LOCALBASE}/include|' \
${WRKSRC}/gstreamer.pc.in
post-configure:
# remove version number postfix from library names
@${REINPLACE_CMD} -E -e 's|-release ${PORTVERSION}||' \
${WRKSRC}/gst/Makefile ${WRKSRC}/libs/gst/control/Makefile
post-install:
# register plugins
@${PREFIX}/bin/gst-register 2>/dev/null
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (gstreamer-0.4.2.tar.bz2) = c9e4eed8bac71f52044e2b28356c81ef

View File

@ -1,10 +0,0 @@
--- configure.orig Wed Jul 10 16:32:49 2002
+++ configure Wed Jul 10 16:33:12 2002
@@ -6620,6 +6620,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1,16 +0,0 @@
--- gst/cothreads.c.orig Wed Nov 13 22:59:21 2002
+++ gst/cothreads.c Wed Nov 13 22:59:38 2002
@@ -41,11 +41,11 @@
#define MAP_ANONYMOUS MAP_ANON
#endif
-#define STACK_SIZE 0x200000
+#define STACK_SIZE 0x100000
#define COTHREAD_MAGIC_NUMBER 0xabcdef
-#define COTHREAD_MAXTHREADS 16
+#define COTHREAD_MAXTHREADS 8
#define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS)
static void cothread_destroy (cothread_state *thread);

View File

@ -1,10 +0,0 @@
--- libs/ext/cothreads/cothreads/cothreads.c.orig Thu Nov 14 15:19:11 2002
+++ libs/ext/cothreads/cothreads/cothreads.c Thu Nov 14 15:20:02 2002
@@ -21,6 +21,7 @@
#include "pth_p.h" /* this pulls in everything */
#include <sys/mman.h>
+#include <sys/time.h>
#include <sys/resource.h>
/* older glibc's have MAP_ANON instead of MAP_ANONYMOUS */

View File

@ -1,11 +0,0 @@
--- libs/ext/cothreads/tests/Makefile.in.orig Sat Sep 28 23:05:55 2002
+++ libs/ext/cothreads/tests/Makefile.in Sat Sep 28 23:06:23 2002
@@ -83,7 +83,7 @@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
-GTHREAD_LIBS = @GTHREAD_LIBS@
+GTHREAD_LIBS = -lc @GTHREAD_LIBS@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@

View File

@ -1 +0,0 @@
Development framework for creating media applications

View File

@ -1,24 +0,0 @@
[ excerpt from developer's site ]
- What is GStreamer?
GStreamer allows the construction of graphs of media-handling
components, ranging from simple mp3 playback to complex audio
(mixing) and video (non-linear editing) processing. Applications
can take advantage of advances in codec and filter technology
transparently. Developers can add new codecs and filters by writing
a simple plugin with a clean, generic interface. GStreamer is
released under the LGPL, with many of the included plugins retaining
the license of the code they were derived from, usually GPL or BSD.
- Features:
* Comprehensive Core Library
* Intelligent Plugin Architecture
* Extensive Development Tools
- Is GStreamer a media player?
No, GStreamer is a development framework for creating applications
like media players, video editors, streaming media broadcasters and
so on. That said, very good media players can easily be built on
top of GStreamer and we even include a simple yet functional
mediaplayer with GStreamer called Gst-Player
WWW: http://gstreamer.sourceforge.net/

View File

@ -1,92 +0,0 @@
@unexec %D/bin/gst-register 2>/dev/null
bin/gst-complete
bin/gst-compprep
bin/gst-feedback
bin/gst-inspect
bin/gst-launch
bin/gst-md5sum
bin/gst-register
bin/gst-xmllaunch
include/gstreamer/gst/bytestream/bytestream.h
include/gstreamer/gst/control/control.h
include/gstreamer/gst/control/dparam.h
include/gstreamer/gst/control/dparam_smooth.h
include/gstreamer/gst/control/dparamcommon.h
include/gstreamer/gst/control/dparammanager.h
include/gstreamer/gst/control/dplinearinterp.h
include/gstreamer/gst/control/unitconvert.h
include/gstreamer/gst/getbits/getbits.h
include/gstreamer/gst/gst.h
include/gstreamer/gst/gstatomic.h
include/gstreamer/gst/gstautoplug.h
include/gstreamer/gst/gstbin.h
include/gstreamer/gst/gstbuffer.h
include/gstreamer/gst/gstbufferpool-default.h
include/gstreamer/gst/gstcaps.h
include/gstreamer/gst/gstclock.h
include/gstreamer/gst/gstconfig.h
include/gstreamer/gst/gstcpu.h
include/gstreamer/gst/gstdata.h
include/gstreamer/gst/gstelement.h
include/gstreamer/gst/gstenumtypes.h
include/gstreamer/gst/gstevent.h
include/gstreamer/gst/gstextratypes.h
include/gstreamer/gst/gstformat.h
include/gstreamer/gst/gstinfo.h
include/gstreamer/gst/gstlog.h
include/gstreamer/gst/gstmarshal.h
include/gstreamer/gst/gstmemchunk.h
include/gstreamer/gst/gstobject.h
include/gstreamer/gst/gstpad.h
include/gstreamer/gst/gstparse.h
include/gstreamer/gst/gstpipeline.h
include/gstreamer/gst/gstplugin.h
include/gstreamer/gst/gstpluginfeature.h
include/gstreamer/gst/gstprops.h
include/gstreamer/gst/gstqueue.h
include/gstreamer/gst/gstregistry.h
include/gstreamer/gst/gstscheduler.h
include/gstreamer/gst/gstsystemclock.h
include/gstreamer/gst/gstthread.h
include/gstreamer/gst/gsttimecache.h
include/gstreamer/gst/gsttrace.h
include/gstreamer/gst/gsttype.h
include/gstreamer/gst/gsttypefind.h
include/gstreamer/gst/gsttypes.h
include/gstreamer/gst/gstutils.h
include/gstreamer/gst/gstversion.h
include/gstreamer/gst/gstxml.h
include/gstreamer/gst/putbits/putbits.h
lib/gst/libgstautoplugcache.so
lib/gst/libgstautoplugger.so
lib/gst/libgstbasicomegascheduler.so
lib/gst/libgstbasicwingoscheduler.so
lib/gst/libgstbytestream.so
lib/gst/libgstelements.so
lib/gst/libgstfastomegascheduler.so
lib/gst/libgstfastwingoscheduler.so
lib/gst/libgstgetbits.so
lib/gst/libgstoptomegascheduler.so
lib/gst/libgstputbits.so
lib/gst/libgstspider.so
lib/gst/libgststaticautoplug.so
lib/gst/libgststaticautoplugrender.so
lib/gst/libgsttypes.so
lib/libgstcontrol.a
lib/libgstcontrol.so
lib/libgstcontrol.so.0
lib/libgstreamer.a
lib/libgstreamer.so
lib/libgstreamer.so.0
libdata/pkgconfig/gstreamer.pc
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
@dirrm lib/gst
@dirrm include/gstreamer/gst/putbits
@dirrm include/gstreamer/gst/getbits
@dirrm include/gstreamer/gst/control
@dirrm include/gstreamer/gst/bytestream
@dirrm include/gstreamer/gst
@dirrm include/gstreamer
@exec %D/bin/gst-register 2>/dev/null
@unexec rm %D/etc/gstreamer/registry.xml 2>/dev/null || true
@unexec rmdir %D/etc/gstreamer 2>/dev/null || echo "There are some configuration files left in ${PKG_PREFIX}/etc/gstreamer, do not forget to remove them if you are permanently removing gstreamer port."

View File

@ -1,53 +0,0 @@
# ex:ts=8
# Ports collection makefile for: gsubedit
# Date created: Mar 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= GSubEdit
PORTVERSION= 0.4.p1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/pre/}
MAINTAINER= lioux@FreeBSD.org
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomelibs
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-included-gettext
post-patch:
# CFLAGS safeness
# pthread safeness
@${REINPLACE_CMD} -E -e 's|-g -O2||; \
s|-lpthread|${PTHREAD_LIBS}|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
${WRKSRC}/src/Makefile.in
# prefix safeness for docs
@${REINPLACE_CMD} -E -e \
's|^(gsubeditdocdir[[:space:]]*=).*$$|\1${DOCSDIR}|' \
${WRKSRC}/Makefile.in
# prefix safeness for pixmaps
@${REINPLACE_CMD} -E -e \
's|^(packagepixmapsdir[[:space:]]*=).*$$|\1share/gnome/pixmaps/\$${PACKAGE}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \
# install neither charset.alias nor locale.alias. Therefore, do not
# build distfiles' gettext
@${REINPLACE_CMD} -E -e \
's|^(SUBDIRS[[:space:]]*=.+)intl|\1|' \
${WRKSRC}/Makefile.in
# do not install docs
.ifdef(NOPORTDOCS)
@${REINPLACE_CMD} -E -e \
's|^(install-data-am.+)install-gsubeditdocDATA|\1|'
\ ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (gsubedit-0.4pre1.tar.gz) = 0cc52f530339f879e7edf3f60ecb59f9

View File

@ -1 +0,0 @@
GNOME Subtitle Editor is a tool for editing/converting video subtitles

View File

@ -1,11 +0,0 @@
[ excerpt with some modifications from author's website ]
GSubEdit, or GNOME Subtitle Editor, is a tool for editing and
converting video subtitles. It currently features read/write of
SubRip (.srt) and MicroDVD (.sub) subtitles. Framerate conversion
and frame displacement (Increase/decrease all frames by a given
offset) is also supported.
Check the WWW site below for more information.
WWW: http://gsubedit.sourceforge.net/

View File

@ -1,28 +0,0 @@
bin/gsubedit
%%PORTDOCS%%share/doc/GSubEdit/ABOUT-NLS
%%PORTDOCS%%share/doc/GSubEdit/AUTHORS
%%PORTDOCS%%share/doc/GSubEdit/COPYING
%%PORTDOCS%%share/doc/GSubEdit/ChangeLog
%%PORTDOCS%%share/doc/GSubEdit/INSTALL
%%PORTDOCS%%share/doc/GSubEdit/README
%%PORTDOCS%%share/doc/GSubEdit/TODO
share/gnome/apps/Applications/gsubedit.desktop
share/gnome/help/gsubedit/C/index.html
share/gnome/help/gsubedit/C/topic.dat
share/gnome/pixmaps/gsubedit/gsubedit_icon.png
share/locale/cs/LC_MESSAGES/gsubedit.mo
share/locale/ro/LC_MESSAGES/gsubedit.mo
share/locale/ru/LC_MESSAGES/gsubedit.mo
share/locale/sv/LC_MESSAGES/gsubedit.mo
@unexec %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
@unexec %D/share/locale/sv 2>/dev/null || true
@unexec %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
@unexec %D/share/locale/ru 2>/dev/null || true
@unexec %D/share/locale/ro/LC_MESSAGES 2>/dev/null || true
@unexec %D/share/locale/ro 2>/dev/null || true
@unexec %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
@unexec %D/share/locale/cs 2>/dev/null || true
@dirrm share/gnome/pixmaps/gsubedit
@dirrm share/gnome/help/gsubedit/C
@dirrm share/gnome/help/gsubedit
%%PORTDOCS%%@dirrm share/doc/GSubEdit

View File

@ -1,45 +0,0 @@
# New ports collection makefile for: libdivxdecore developer version
# Date created: 03 Feb 20001
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libdivxdecore
PORTVERSION= 0.4.0.50
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://download.projectmayo.com/dnload/divxcore/
PKGNAMESUFFIX= -devel
DISTNAME= decore${PORTVERSION:E}src
MAINTAINER= lioux@FreeBSD.org
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -q -a -L
MAKE_ARGS= LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
INSTALLS_SHLIB= yes
PATCH_WRKSRC= ${WRKDIR}/decore
WRKSRC= ${WRKDIR}/decore/src
LIB_VERSION= 1
.ifndef(NOPROFILE)
PLIST_SUB+= NOPROFILE=''
.else
PLIST_SUB+= NOPROFILE='@comment '
.endif
post-extract:
.for ext in c h
@${MV} ${WRKSRC}/transferidct.${ext} \
${WRKSRC}/transferIDCT.${ext}
.endfor
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
pre-install:
@${MKDIR} ${PREFIX}/include/divx
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (decore50src.zip) = a6492abd6981eb2b9e51b18b05e0865f

View File

@ -1,25 +0,0 @@
# $FreeBSD$
LIB= divxdecore
SHLIB_MAJOR= ${LIB_VERSION}
SHLIB_MINOR= 0
CFLAGS+=-I${.CURDIR} -DLINUX -DO_BINARY=0 -D_DECORE
SRCS= basic_prediction.c clearblock.c debug.c decore.c \
getbits.c idct.c mp4_block.c mp4_decoder.c mp4_header.c \
mp4_iquant.c mp4_mblock.c mp4_picture.c mp4_predict.c \
mp4_recon.c mp4_tables.c mp4_vars.c mp4_vld.c \
postprocess.c store.c transferIDCT.c yuv2rgb.c
INCS= decore.h
# idea taken from port security/libparanoia
# hacks around <bsd.lib.mk>, which ignores PREFIX
.if defined(PREFIX)
DESTDIR=${PREFIX}/
.else
DESTDIR=/usr/local/
.endif
INCSDIR=include/divx/
INCDIR=${INCSDIR} # for pre-bsd.incs.mk API
LIBDIR=lib/
.include <bsd.lib.mk>

View File

@ -1,27 +0,0 @@
--- src/store.c.orig Mon Sep 24 14:37:06 2001
+++ src/store.c Mon Sep 24 14:37:23 2001
@@ -55,20 +55,19 @@
/***/
// Purpose: store a frame in yuv format
-void storeframe (unsigned char *src[], int width, int height)
+void storeframe (char *name, unsigned char *src[], int width, int height, int hor_size)
{
int offset = 0;
- int hor_size = mp4_state->horizontal_size;
- store_yuv (mp4_state->outputname, src[0], offset, width, hor_size, height);
+ store_yuv (name, src[0], offset, width, hor_size, height);
offset >>= 1;
width >>= 1;
height >>= 1;
hor_size >>= 1;
- store_yuv (mp4_state->outputname, src[1], offset, width, hor_size, height);
- store_yuv (mp4_state->outputname, src[2], offset, width, hor_size, height);
+ store_yuv (name, src[1], offset, width, hor_size, height);
+ store_yuv (name, src[2], offset, width, hor_size, height);
}
/***/

View File

@ -1,8 +0,0 @@
--- src/store.h.orig Mon Sep 24 14:37:09 2001
+++ src/store.h Mon Sep 24 14:37:16 2001
@@ -36,4 +36,4 @@
/*** *** ***/
-extern void storeframe (unsigned char *src[], int xsize, int ysize);
+extern void storeframe (char * outputname, unsigned char *src[], int xsize, int ysize, int hor_stride);

View File

@ -1 +0,0 @@
OpenDivX decoding engine from Project Mayo (development version)

View File

@ -1,14 +0,0 @@
Decore [excerpt from OpenDivX Project Mayo site]
"Decore" is our decoder core - that part of the codec that decodes
video from DivX video bitstream into uncompressed RGB bitmaps. Its
API is defined in decore.h. The API is another frame-in, frame-out
scheme, you give it a chunk of OpenDivX bitstream and it comes back
to you with an uncompressed RGB frame. Like "encore", "decore" is
truly independent of any other code, making no system calls.
"Decore" is a decoder compliant with MPEG-4 natural video, simple
profile. It also incorporates a video postprocessor which postprocessor,
which hides many of the artifacts inherent in low bit-rate video.
WWW: http://www.projectmayo.com/

View File

@ -1,6 +0,0 @@
include/divx/decore.h
lib/libdivxdecore.a
lib/libdivxdecore.so
lib/libdivxdecore.so.%%LIB_VERSION%%
%%NOPROFILE%%lib/libdivxdecore_p.a
@unexec rmdir %D/include/divx 2>/dev/null || true

View File

@ -1,25 +0,0 @@
# New ports collection makefile for: libdivxdecore
# Date created: 03 Feb 2001
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libdivxdecore
PORTVERSION= 0.4.7
CATEGORIES= graphics
MASTER_SITES= http://download.projectmayo.com/dnload/divx4linux/xmps/
MAINTAINER= lioux@FreeBSD.org
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
LIB_VERSION= 0
post-install:
@${LN} -sf ${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.${LIB_VERSION}
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (libdivxdecore-0.4.7.tar.gz) = 0defab7d519308aacfb1a0c1448341a1

View File

@ -1 +0,0 @@
OpenDivX decoding engine from Project Mayo

View File

@ -1,14 +0,0 @@
Decore [excerpt from OpenDivX Project Mayo site]
"Decore" is our decoder core - that part of the codec that decodes
video from DivX video bitstream into uncompressed RGB bitmaps. Its
API is defined in decore.h. The API is another frame-in, frame-out
scheme, you give it a chunk of OpenDivX bitstream and it comes back
to you with an uncompressed RGB frame. Like "encore", "decore" is
truly independent of any other code, making no system calls.
"Decore" is a decoder compliant with MPEG-4 natural video, simple
profile. It also incorporates a video postprocessor which postprocessor,
which hides many of the artifacts inherent in low bit-rate video.
WWW: http://www.projectmayo.com/

View File

@ -1,4 +0,0 @@
include/divx/decore.h
lib/libdivxdecore.so
lib/libdivxdecore.so.%%LIB_VERSION%%
@dirrm include/divx

View File

@ -1,39 +0,0 @@
# New ports collection makefile for: libdivxencore
# Date created: Tue Jan 22 20:06:49 BRST 2002
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libdivxencore
PORTVERSION= 0.4.0.50
CATEGORIES= graphics
MASTER_SITES= http://download.projectmayo.com/dnload/divxcore/
PKGNAMESUFFIX= -devel
DISTNAME= encore${PORTVERSION:E}src
MAINTAINER= lioux@FreeBSD.org
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -q -a -L
MAKE_ARGS= LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/encore/src
LIB_VERSION= 0
.ifndef(NOPROFILE)
PLIST_SUB+= NOPROFILE=''
.else
PLIST_SUB+= NOPROFILE='@comment '
.endif
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
pre-install:
@${MKDIR} ${PREFIX}/include/divx
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (encore50src.zip) = 30f97ed4503796eac747572553e1b923

View File

@ -1,23 +0,0 @@
# $FreeBSD$
LIB= divxencore
SHLIB_MAJOR= ${LIB_VERSION}
SHLIB_MINOR= 0
CFLAGS+=-I${.CURDIR}
SRCS= bitstream.c encore.c mom_access.c mom_util.c mot_code.c \
mot_est_comp.c mot_est_mb.c mot_util.c putvlc.c rate_ctl.c \
text_bits.c text_code.c text_code_mb.c text_dct.c vop_code.c
INCS= encore.h
# idea taken from port security/libparanoia
# hacks around <bsd.lib.mk>, which ignores PREFIX
.if defined(PREFIX)
DESTDIR=${PREFIX}/
.else
DESTDIR=/usr/local/
.endif
INCSDIR=include/divx/
INCDIR=${INCSDIR} # for pre-bsd.incs.mk API
LIBDIR=lib/
.include <bsd.lib.mk>

View File

@ -1 +0,0 @@
OpenDivX encoding engine from Project Mayo

View File

@ -1,6 +0,0 @@
Encore [excerpt from OpenDivX Project Mayo site]
"Encore" is our encoder core - that part of the codec that encodes
video from uncompressed RGB bitmaps into a DivX video bitstream.
WWW: http://www.projectmayo.com/

View File

@ -1,6 +0,0 @@
include/divx/encore.h
lib/libdivxencore.a
lib/libdivxencore.so
lib/libdivxencore.so.%%LIB_VERSION%%
%%NOPROFILE%%lib/libdivxencore_p.a
@unexec rmdir %D/include/divx 2>/dev/null || true

View File

@ -1,90 +0,0 @@
# 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.8
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= libdv-${PORTVERSION:C/\.(.)$/\1/}
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
popt.0:${PORTSDIR}/devel/popt
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${X11BASE}/libdata/pkgconfig
INSTALLS_SHLIB= yes
MAN1= encodedv.1 playdv.1
DOC_FILES= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
README.dvconnect README.encoder TODO
.include <bsd.port.pre.mk>
.ifndef(WITHOUT_SDL)
LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ARGS+= --enable-sdl
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
.endif
pre-everything::
.if ${XFREE86_VERSION} < 4
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> ATTENTION <==='
@${ECHO_MSG} '===> YOU NEED XFREE86 Version 4.0 <==='
@${ECHO_MSG} '===> or above to run this <==='
@${ECHO_MSG} '===> SINCE IT REQUIRES XV <==='
@${ECHO_MSG} '===>'
@${FALSE}
.endif
.ifndef(WITHOUT_SDL)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support'
@${ECHO_MSG} '===>'
.endif
post-patch:
@${REINPLACE_CMD} -E \
-e 's|(pkgconfigdir =).+(/pkgconfig)|\1 ${PREFIX}/libdata\2|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e 's|(-lXv)|\1 -lXext -L${X11BASE}/lib|; \
s@(PKG_CONFIG --(cflags|libs) )"\$$REQUIRES"@\1 gtk@' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \
${WRKSRC}/libdv/dv_types.h \
${WRKSRC}/libdv/headers.c \
${WRKSRC}/libdv/encode.c
@${REINPLACE_CMD} -E -e 's|^void swab.+$$||' ${WRKSRC}/libdv/encode.c
@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/playdv/display.h
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/encodedv/dvavi.c \
${WRKSRC}/encodedv/dvconnect.c
# XXX - revise at every port update
# protect popt from prefix changes
@${REINPLACE_CMD} -E -e 's|(@REQUIRES_NOPKGCONFIG@)|-L${LOCALBASE}/include \1|' \
${WRKSRC}/libdv.pc.in
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (libdv-0.98.tar.gz) = 9b536c093869f171de1b4179885e43fb

View File

@ -1,10 +0,0 @@
--- configure.orig Mon Apr 8 05:44:39 2002
+++ configure Sat Aug 10 01:08:07 2002
@@ -7384,6 +7384,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1,10 +0,0 @@
--- encodedv/dvconnect.c.orig Wed Jul 3 14:44:37 2002
+++ encodedv/dvconnect.c Wed Jul 3 14:51:44 2002
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <unistd.h>

View File

@ -1,22 +0,0 @@
--- 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 char *default_device = "/dev/dsp";
dv_oss_t *

View File

@ -1 +0,0 @@
Quasar DV codec (libdv): software codec for DV video encoding format

View File

@ -1,11 +0,0 @@
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/

View File

@ -1,21 +0,0 @@
bin/encodedv
bin/playdv
include/libdv/dv.h
include/libdv/dv1394.h
include/libdv/dv_types.h
lib/libdv.a
lib/libdv.so
lib/libdv.so.2
libdata/pkgconfig/libdv.pc
%%PORTDOCS%%share/doc/libdv/AUTHORS
%%PORTDOCS%%share/doc/libdv/COPYING
%%PORTDOCS%%share/doc/libdv/COPYRIGHT
%%PORTDOCS%%share/doc/libdv/ChangeLog
%%PORTDOCS%%share/doc/libdv/NEWS
%%PORTDOCS%%share/doc/libdv/README
%%PORTDOCS%%share/doc/libdv/README.dvconnect
%%PORTDOCS%%share/doc/libdv/README.encoder
%%PORTDOCS%%share/doc/libdv/TODO
%%PORTDOCS%%@dirrm share/doc/libdv
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
@dirrm include/libdv

View File

@ -1,26 +0,0 @@
# ex:ts=8
# New ports collection makefile for: libdvdcss
# Date created: Jul 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libdvdcss
PORTVERSION= 1.2.2
CATEGORIES= graphics
MASTER_SITES= http://www.videolan.org/pub/videolan/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
USE_XLIB= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/ioctl.c
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (libdvdcss-1.2.2.tar.gz) = bd1814be0ef950dcb6b89dd7028442ef

View File

@ -1,16 +0,0 @@
--- ltmain.sh.orig Tue Apr 16 17:17:17 2002
+++ ltmain.sh Tue Apr 16 17:17:55 2002
@@ -4246,11 +4246,13 @@
IFS="$save_ifs"
fi
+ if /usr/bin/false; then
# Install the pseudo-library for information purposes.
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
$run eval "$install_prog $instname $destdir/$name" || exit $?
+ fi
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"

View File

@ -1,10 +0,0 @@
--- src/device.h.orig Tue Aug 27 15:12:05 2002
+++ src/device.h Tue Aug 27 15:13:30 2002
@@ -29,6 +29,7 @@
#if defined( WIN32 )
# include <io.h> /* read() */
#else
+# include <sys/types.h>
# include <sys/uio.h> /* struct iovec */
#endif

View File

@ -1 +0,0 @@
Portable abstraction library for DVD decryption

View File

@ -1,14 +0,0 @@
libdvdcss is a simple library designed for accessing DVDs like a block device
without having to bother about the decryption. The important features are:
- Portability. Currently supported platforms are GNU/Linux, FreeBSD, BeOS
and Windows.
- The MacOS X version is being worked on as well.
- Simplicity. There are currently 7 functions in the API, and we intend to
keep this number low.
- Freedom. libdvdcss is released under the General Public License, ensuring
it will stay free, and used only for free software products.
- Just better. Unlike most similar projects, libdvdcss doesn't require the
region of your drive to be set.
WWW: http://www.videolan.org/libdvdcss/

View File

@ -1,5 +0,0 @@
include/dvdcss/dvdcss.h
lib/libdvdcss.a
lib/libdvdcss.so
lib/libdvdcss.so.2
@dirrm include/dvdcss

View File

@ -1,70 +0,0 @@
# New ports collection makefile for: libdvdread
# Date created: 24 Jun 2001
# Whom: Marc van Woerkom <3d@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libdvdread
PORTVERSION= 0.9.3
CATEGORIES= graphics
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/graphics/libdvdcss
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
DOC_FILES= AUTHORS COPYING NEWS README TODO
# ugly hack to have libdvdread directly depend on libdvdcss since
# it already does for practical reasons even though not for compile
# time ones
DVDCSS_LIBVERSION= 2
post-patch:
.for p in Makefile.in dvdread/Makefile.in src/Makefile.in
@${REINPLACE_CMD} -E -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \
s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p}
.endfor
# update this in sync with libdvdcss shared library version
@${REINPLACE_CMD} -E -e 's|(libdvdcss.so).2|\1.${DVDCSS_LIBVERSION}|' \
${WRKSRC}/dvdread/dvd_input.c
post-configure:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.pre.mk>
# FreeBSD byteswap optimized routines
.if ${ARCH} == "i386"
. if (defined(MACHINE_CPU) && ${MACHINE_CPU:Mi486} == "i486")
WITH_OPTIMIZED_BYTESWAP=yes
. endif
. if defined(WITH_OPTIMIZED_BYTESWAP)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-dvdread::bswap.h
. endif
.endif
pre-everything::
.ifndef(WITH_OPTIMIZED_BYTESWAP)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_OPTIMIZED_BYTESWAP to use optimized byteswap'
@${ECHO_MSG} '===> routines. This works only in the i386 architecture, and'
@${ECHO_MSG} '===> only with 486 processors and above.'
.endif
.include <bsd.port.post.mk>

View File

@ -1 +0,0 @@
MD5 (libdvdread-0.9.3.tar.gz) = 761db1225098c0834485396d9285e5ff

Some files were not shown because too many files have changed in this diff Show More