summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/avifile/files/capproc.cpp469
-rw-r--r--media-video/bcast-2000/bcast-2000a-r1.ebuild55
-rw-r--r--media-video/bcast-2000/bcast-2000b-r1.ebuild58
-rw-r--r--media-video/bcast-2000/files/digest-bcast-2000a-r11
-rw-r--r--media-video/bcast-2000/files/digest-bcast-2000b-r11
-rw-r--r--media-video/lamp/files/Makefile.config16
-rw-r--r--media-video/lamp/files/config62
-rw-r--r--media-video/lamp/files/digest-lamp-200009031
-rw-r--r--media-video/lamp/lamp-20000903.ebuild86
-rw-r--r--media-video/smpeg-xmms/files/digest-smpeg-xmms-0.3.11
-rw-r--r--media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild39
-rw-r--r--media-video/vlc/files/digest-vlc-0.1.99h1
-rw-r--r--media-video/vlc/vlc-0.1.99h.ebuild52
-rw-r--r--media-video/xawtv/files/digest-xawtv-3.201
-rw-r--r--media-video/xawtv/files/digest-xawtv-3.231
-rw-r--r--media-video/xawtv/xawtv-3.20.ebuild48
-rw-r--r--media-video/xawtv/xawtv-3.23.ebuild49
-rw-r--r--media-video/xmovie/files/digest-xmovie-1.5.11
-rw-r--r--media-video/xmovie/xmovie-1.5.1.ebuild40
19 files changed, 469 insertions, 513 deletions
diff --git a/media-video/avifile/files/capproc.cpp b/media-video/avifile/files/capproc.cpp
new file mode 100644
index 000000000000..264fe4c95d81
--- /dev/null
+++ b/media-video/avifile/files/capproc.cpp
@@ -0,0 +1,469 @@
+#include "capproc.h"
+#include "dsp.h"
+#include <unistd.h>
+#include <avifile.h>
+#include <videoencoder.h>
+#include <aviutil.h>
+
+#define __MODULE__ "Capture Process"
+class frame_allocator
+{
+ struct frame
+ {
+ char* data;
+ int status;
+ };
+ int _w;
+ int _h;
+ vector<frame> frames;
+ int _limit;
+ int refs;
+public:
+ frame_allocator(int w, int h, int limit):_w(w), _h(h), _limit(limit),refs(2){}
+ void release()
+ {
+ refs--;
+ if(!refs)delete this;
+ }
+ char* alloc()
+ {
+ int i;
+ for(i=0; i<frames.size(); i++)
+ {
+ if(frames[i].status==0)
+ {
+ frames[i].status=1;
+ *(int*)(frames[i].data)=i;
+ return frames[i].data+4;
+ }
+ }
+ if(frames.size()>=_limit)return 0;
+ frame f;
+ f.data=new char[_w*_h*3+4];
+ f.status=1;
+ frames.push_back(f);
+ *(int*)(f.data)=i;
+ return f.data+4;
+ }
+ void free(char* mem)
+ {
+ if(!mem)
+ {
+ cerr<<"ERROR: Freeing 0!"<<endl;
+ return;
+ }
+ int id=*(int*)(mem-4);
+ if((id<0)||(id>=frames.size())||(frames[id].data!=(mem-4)))
+ {
+ cerr<<"ERROR: Freeing unknown memory!"<<endl;
+ return;
+ }
+ if(frames[id].status==0)
+ {
+ cerr<<"ERROR: Duplicate free()!"<<endl;
+ return;
+ }
+ frames[id].status=0;
+ }
+ ~frame_allocator()
+ {
+ for(int i=0; i<frames.size(); i++)
+ delete frames[i].data;
+ }
+};
+static frame_allocator* allocator2=0;
+void* CaptureProcess::vidcap(void* arg)
+{
+ CaptureProcess& a=*(CaptureProcess*)arg;
+ int w=a.res_w;
+ int h=a.res_h;
+ const float fps=a.fps;
+// char tmpframe[384*288*4];
+ a.m_v4l->grabSetParams(1, &w, &h, VIDEO_PALETTE_RGB24);
+ long long& inittime=a.starttime;
+ int& cnt=a.cnt;
+ int& drop=a.cap_drop;
+ cnt=0;
+ drop=0;
+ allocator2=new frame_allocator(w,h,50);
+ while(!a.m_quit)
+ {
+ int t1,t2,t3;
+ long long currenttime=longcount();
+ char* z=0;
+// cerr<<currenttime<<" "<<inittime<<" "<<fps<<endl;
+// cerr<<to_float(currenttime, inittime)*fps<<" "<<cnt<<endl;
+// double freq=550000.;
+ double dist=double(currenttime-inittime)/(freq*1000.);
+// double dist=to_float(currenttime, inittime);
+// cerr<<dist<<" "<<freq<<endl;
+ if(dist*fps<cnt)
+ {
+ usleep(10000);
+// cerr<<"Sleeping"<<endl;
+ continue;
+ }
+ chunk ch;
+ if(dist*fps<(cnt+1))
+ {
+ z=a.m_v4l->grabCapture(false);
+// char* tmpframe=new char[w*h*3];
+ char* tmpframe=allocator2->alloc();
+ int bpl=3*w;
+ if(tmpframe)
+ for(int i=0; i<h; i++)
+ memcpy(tmpframe+i*bpl, z+(h-i-1)*bpl, bpl);
+ ch.data=tmpframe;
+ }
+ else
+ {
+ ch.data=0;
+ drop++;
+ }
+ ch.timestamp=dist;
+ a.m_vidq.push(ch);
+ cnt++;
+// if(cnt%100==0)
+// cerr<<"Capture thread: read "<<cnt<<" frames, dropped "<<drop<<" frames"<<endl;
+ }
+ allocator2->release();
+ cerr<<"Capture thread exiting"<<endl;
+ return 0;
+}
+int audioblock=0;
+void* CaptureProcess::audcap(void* arg)
+{
+ CaptureProcess& a=*(CaptureProcess*)arg;
+ dsp* thedsp=new dsp();
+ if(thedsp->open(a.samplesize,a.chan,a.frequency)==0)//returns file descriptor
+ return 0;
+ float abps=a.samplesize*a.chan*a.frequency/8;
+ char* buf=0;
+ int bufsize=0;
+ int blocksize=thedsp->getBufSize();
+ audioblock=blocksize;
+ int tim=0;
+ while(!a.m_quit)
+ {
+// if(buf==0)
+// {
+// buf=new char[audioblock];
+// bufsize=0;
+// }
+ buf=new char[audioblock];
+ memcpy(buf, thedsp->readBuf(), audioblock);
+ long long ct=longcount();
+ chunk ch;
+ ch.data=buf;
+// double freq=550000.;
+ if(a.starttime)
+ ch.timestamp=double(ct-a.starttime)/(freq*1000.);
+// ch.timestamp=to_float(ct, a.starttime);
+ else
+ ch.timestamp=-1;
+ a.m_audq.push(ch);
+ bufsize+=blocksize;
+ tim++;
+// if(tim%50==0)
+// cerr<<"Audio thread: read "<<float(tim*blocksize)/88200.<<" seconds"<<endl;
+ if(blocksize/abps>.1)
+ usleep(50000);
+// if(bufsize==audioblock)
+// {
+// a.m_audq.push(buf);
+// buf=0;
+// }
+ }
+// if(buf)delete buf;
+ delete thedsp;
+ return 0;
+}
+void* CaptureProcess::writer(void* arg)
+{
+ CaptureProcess& a=*(CaptureProcess*)arg;
+ IAviWriteFile* file=0;
+ IAviSegWriteFile* sfile=0;
+ IVideoEncoder::SetExtendedAttr(fccIV50, "QuickCompress", 1);
+ IAviVideoWriteStream* stream;
+ IAviWriteStream* audioStream=0;
+ BITMAPINFOHEADER bh;
+
+ const double fps=a.fps;
+ if(fps==0)
+ throw FATAL("FPS = 0 !");
+// VideoEncoder ve;
+ try
+ {
+ if(a.segment_size==-1)
+ file=CreateIAviWriteFile(a.filename.c_str());
+ else
+ {
+ sfile=CreateSegmentedFile(a.filename.c_str(), a.segment_size*1024LL);
+ file=sfile;
+ }
+// FILE* zz=fopen("bin/uncompr.bmp", "rb");
+ memset(&bh, 0, sizeof(bh));
+ bh.biSize=sizeof(bh);
+ bh.biWidth=384;
+ bh.biHeight=288;
+ bh.biBitCount=24;
+ bh.biSizeImage=3*384*288;
+ bh.biPlanes=1;
+ stream=file->AddVideoStream(a.compressor, &bh, 1000000./a.fps);
+// stream=file->AddStream(AviStream::Video);
+// ve.Init(fccIV50, (const char*)&bh);
+ }
+ catch(FatalError& e)
+ {
+ e.Print();
+ a.m_quit=1;
+ return 0;
+ }
+
+ float abps=(a.samplesize*a.frequency*a.chan)/8;
+
+ WAVEFORMATEX wfm;
+ wfm.wFormatTag=1;//PCM
+ wfm.nChannels=a.chan;
+ wfm.nSamplesPerSec=a.frequency*a.chan;
+ wfm.nAvgBytesPerSec=(int)abps;
+ wfm.nBlockAlign=(a.samplesize*a.chan)/8;
+ wfm.wBitsPerSample=a.samplesize;
+ wfm.cbSize=0;
+
+
+// ve.SetQuality(9500);
+// ve.Start();
+ stream->SetQuality(a.quality);
+ stream->Start();
+ cerr<<"Entering loop"<<endl;
+// BITMAPINFOHEADER obh=ve.QueryOutputFormat();
+// stream->SetFormat((const char*)&obh, sizeof obh);
+ int cnt=0;
+ int& drop=a.comp_drop;
+ long long audiodata=0LL;
+ int videodata=0;
+ double video_error=0;
+ int hide_video=0;
+ int dup_video=0;
+ double snd_time, vid_time;
+ drop=0;
+
+ while(1)
+ {
+ char qq[384*288*4];
+ int x1, x2;
+// char* z;
+ chunk ch;
+ while(a.m_vidq.size()>50)
+ {
+ ch=a.m_vidq.front();
+ a.m_vidq.pop();
+ vid_time=ch.timestamp;
+ cnt++;
+ if(ch.data)//delete ch.data;
+ allocator2->free(ch.data);
+ stream->AddFrame(0);
+ videodata++;
+// stream->AddChunk(0, 0, AVIIF_KEYFRAME);
+ drop++;
+ }
+ while((a.m_vidq.size()==0) && (a.m_audq.size()==0))
+ {
+ if(a.m_quit) goto finish;
+ usleep(10000);
+ }
+ if(a.m_vidq.size())
+ {
+ ch=a.m_vidq.front();
+ a.m_vidq.pop();
+ vid_time=ch.timestamp;
+ cnt++;
+ if(!hide_video)
+ {
+ videodata++;
+ stream->AddFrame(ch.data);
+ if(dup_video)
+ {
+ videodata++;
+ stream->AddFrame(ch.data);
+ video_error+=1./fps;
+ }
+ }
+ else video_error-=1./fps;
+ dup_video=hide_video=0;
+ if(ch.data)
+ allocator2->free(ch.data);
+
+ }
+ if(a.m_audq.size())
+ {
+ if(audioStream==0)
+ {
+ audioStream=file->AddStream(AviStream::Audio,
+ (const char*)&wfm, 18,
+ 1, //uncompressed PCM data
+ abps, //bytes/sec
+ a.samplesize/8 //bytes/sample
+ );
+ }
+ ch=a.m_audq.front();
+ a.m_audq.pop();
+// cerr<<ch.timestamp-snd_time<<" "<<ch.timestamp-(audiodata+audioblock)/44100./2<<endl;
+ snd_time=ch.timestamp;
+ audioStream->AddChunk(ch.data, audioblock, AVIIF_KEYFRAME);
+ audiodata+=audioblock;
+ double audio_error=audiodata/abps-ch.timestamp;
+ if(audio_error<video_error-5./fps)
+ hide_video=1;
+ if(audio_error>video_error+5./fps)
+ dup_video=1;
+ delete ch.data;
+ }
+ if(a.segment_flag && sfile)
+ {
+ sfile->Segment();
+ a.segment_flag=0;
+// vid_clear=aud_clear=0;
+ }
+ if(a.timelimit!=-1)
+ {
+ if(snd_time>a.timelimit)
+ a.m_quit=1;
+ if(vid_time>a.timelimit)
+ a.m_quit=1;
+ }
+ if(a.sizelimit!=-1)
+ {
+ if(file->FileSize()>a.sizelimit*1024LL)
+ a.m_quit=1;
+ }
+ }
+finish:
+ long long size=file->FileSize();
+ delete file;
+ allocator2->release();
+ cerr<<"Write thread exiting"<<endl;
+ (*a.messenger)<<"Audio: written "<<audiodata<<" bytes ( "<<audiodata/(44100.*2)<<" s )."<<endl;
+ (*a.messenger)<<"Video: written "<<videodata<<" frames ( "<<videodata/fps<<" s )."<<endl;
+ (*a.messenger)<<"End video pos "<<vid_time<<" s, end audio pos "<<snd_time<<" s."<<endl;
+ (*a.messenger)<<"File size: "<<(size/1000)<<" Kb ( "<<size/1000/vid_time<<" Kb/s )."<<endl;
+ (*a.messenger)<<"Synch fix: "<<videodata-cnt<<" frames."<<endl;
+ (*a.messenger)<<"Frame drop: "<<100.*double(a.cap_drop+drop)/videodata<<"%."<<endl<<flush;
+ return 0;
+}
+void CaptureProcess::Create(v4lxif* v4l,
+ string filename,
+ int segment_size,
+ int compressor,
+ int quality,
+ int keyframes,
+ enum Sound_Freqs frequency,
+ enum Sample_Sizes samplesize,
+ enum Sound_Chans chan,
+ enum Resolutions res,
+ int timelimit,
+ int sizelimit,
+ float fps)
+{
+ m_v4l=v4l;
+ m_quit=0;
+ starttime=longcount();
+
+ this->filename=filename;
+ this->segment_size=segment_size;
+ this->compressor=compressor;
+ this->quality=quality;
+ this->keyframes=keyframes;
+
+ switch(frequency)
+ {
+ case NoAudio:
+ break;
+ case F44:
+ this->frequency=44100;
+ break;
+ case F22:
+ this->frequency=22050;
+ break;
+ case F11:
+ this->frequency=11025;
+ break;
+ default:
+ throw FATAL("Unknown frequency");
+ }
+ if(frequency!=NoAudio)
+ {
+ switch(samplesize)
+ {
+ case S16:
+ this->samplesize=16;
+ break;
+ case S8:
+ this->samplesize=8;
+ break;
+ default:
+ throw FATAL("Unknown audio sample size");
+ }
+ switch(chan)
+ {
+ case Mono:
+ this->chan=1;
+ break;
+ case Stereo:
+ this->chan=2;
+ break;
+ default:
+ throw FATAL("Unknown channel number");
+ }
+ }
+ switch(res)
+ {
+ case W384:
+ res_w=384;
+ res_h=288;
+ break;
+ case W320:
+ res_w=320;
+ res_h=240;
+ break;
+ case W192:
+ res_w=192;
+ res_h=144;
+ break;
+ case W160:
+ res_w=160;
+ res_h=120;
+ break;
+ default:
+ throw FATAL("Unknown video resolution");
+ }
+ this->timelimit=timelimit;
+ this->sizelimit=sizelimit;
+ this->fps=fps;
+ pthread_create(&m_vidc, 0, CaptureProcess::vidcap, this);
+ if(frequency!=NoAudio)
+ pthread_create(&m_audc, 0, CaptureProcess::audcap, this);
+ pthread_create(&m_writer, 0, CaptureProcess::writer, this);
+}
+
+CaptureProcess::~CaptureProcess()
+{
+ m_quit=1;
+ pthread_join(m_writer,0);
+ pthread_join(m_audc,0);
+ pthread_join(m_vidc,0);
+ cerr<<"All threads exited"<<endl;
+// while(m_vidq.size())
+// {
+// chunk z=m_vidq.front();
+// m_vidq.pop();
+// if(z.data)delete z.data;
+// }
+ while(m_audq.size())
+ {
+ chunk z=m_audq.front();
+ m_audq.pop();
+ if(z.data)delete z.data;
+ }
+}
diff --git a/media-video/bcast-2000/bcast-2000a-r1.ebuild b/media-video/bcast-2000/bcast-2000a-r1.ebuild
deleted file mode 100644
index df7eacbf2eaf..000000000000
--- a/media-video/bcast-2000/bcast-2000a-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/bcast-2000/bcast-2000a-r1.ebuild,v 1.5 2000/11/02 02:17:13 achim Exp $
-
-P=bcast-2000a
-A=${P}-src.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="Realtime audio and video editor"
-SRC_URI="http://heroine.linuxave.net/${A}"
-HOMEPAGE="http://heroine.linuxave.net/bcast2000.html"
-
-DEPEND=">=sys-libs/glibc-2.1.3
- >=sys-devel/gcc-2.95.2
- >=media-sound/esound-0.2.19
- >=media-libs/jpeg-6b
- >=media-libs/tiff-3.5.5
- >=media-libs/libpng-1.0.7
- >=x11-base/xfree-4.0.1"
-
-src_unpack() {
- unpack ${A}
- cd ${S}/esound
- cp esd.h esd.h.orig
- sed -e "s:<audiofile\.h>:\"\.\./audiofile/audiofile\.h\":" esd.h.orig > esd.h
- cd ${S}/quicktime/libdv
- cp dvprivate.h dvprivate.h.orig
- sed -e "s:<libraw1394/raw1394\.h>:\"\.\./\.\./libraw1394/raw1394\.h\":" dvprivate.h.orig > dvprivate.h
-}
-src_compile() {
-
- cd ${S}
- try ./configure
- try make
-
-}
-
-src_install () {
-
- cd ${S}
- into /usr
- dobin bcast/bcast2000
- dolib.so bcbase/libbcbase.so
- insopts -m 755
- insinto /usr/X11R6/lib/bcast2000a/plugins
- doins plugins/*.plugin
- dodoc COPYING
- docinto html
- dodoc docs/*.html docs/*.png docs/*.jpg
-
-
-}
-
-
-
diff --git a/media-video/bcast-2000/bcast-2000b-r1.ebuild b/media-video/bcast-2000/bcast-2000b-r1.ebuild
deleted file mode 100644
index 0f045f7a4c69..000000000000
--- a/media-video/bcast-2000/bcast-2000b-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/bcast-2000/bcast-2000b-r1.ebuild,v 1.3 2000/12/08 19:02:39 achim Exp $
-
-A=${P}-src.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="Realtime audio and video editor"
-SRC_URI="http://heroine.linuxave.net/${A}"
-HOMEPAGE="http://heroine.linuxave.net/bcast2000.html"
-
-DEPEND=">=sys-libs/glibc-2.1.3
- >=sys-devel/gcc-2.95.2
- >=media-sound/esound-0.2.19
- >=media-libs/jpeg-6b
- >=media-libs/tiff-3.5.5
- >=media-libs/libpng-1.0.7
- >=x11-base/xfree-4.0.1"
-
-src_unpack() {
- unpack ${A}
- cd ${S}/bcast
- cp main.C main.C.orig
- sed -e "s:/usr/local/bcast/plugins:/usr/X11R6/lib/bcast/plugins:" \
- main.C.orig > main.C
- cd ${S}/esound
- cp esd.h esd.h.orig
- sed -e "s:<audiofile\.h>:\"\.\./audiofile/audiofile\.h\":" esd.h.orig > esd.h
- cd ${S}/quicktime/libdv
- cp dvprivate.h dvprivate.h.orig
- sed -e "s:<libraw1394/raw1394\.h>:\"\.\./\.\./libraw1394/raw1394\.h\":" dvprivate.h.orig > dvprivate.h
-}
-src_compile() {
-
- cd ${S}
- try ./configure
- try make
-
-}
-
-src_install () {
-
- cd ${S}
- into /usr
- dobin bcast/bcast2000
- dolib.so bcbase/libbcbase.so
- insopts -m 755
- insinto /usr/X11R6/lib/bcast/plugins
- doins plugins/*.plugin
- dodoc COPYING
- docinto html
- dodoc docs/*.html docs/*.png docs/*.jpg
-
-
-}
-
-
-
diff --git a/media-video/bcast-2000/files/digest-bcast-2000a-r1 b/media-video/bcast-2000/files/digest-bcast-2000a-r1
deleted file mode 100644
index 2fb982c33cac..000000000000
--- a/media-video/bcast-2000/files/digest-bcast-2000a-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 642cb24ba6c8270e69959ccfe2bea271 bcast-2000a-src.tar.gz
diff --git a/media-video/bcast-2000/files/digest-bcast-2000b-r1 b/media-video/bcast-2000/files/digest-bcast-2000b-r1
deleted file mode 100644
index ca89ade5e807..000000000000
--- a/media-video/bcast-2000/files/digest-bcast-2000b-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2bfa975064e08034af73307a5fcda388 bcast-2000b-src.tar.gz
diff --git a/media-video/lamp/files/Makefile.config b/media-video/lamp/files/Makefile.config
deleted file mode 100644
index 3194ba0ff03f..000000000000
--- a/media-video/lamp/files/Makefile.config
+++ /dev/null
@@ -1,16 +0,0 @@
-
-LAMP_DIR=/usr/libexec/lamp
-INSTALL_BIN=/usr/X11R6/bin
-
-
-X11R6_LIBS=/usr/X11R6/lib
-X11R6_INCLUDES=/usr/X11R6/include
-
-
-RELEASE=0.18
-
-PLUGINS= plugins/avifile_player plugins/smpeg_player plugins/xanim_player plugins/shm_renderer plugins/dga_renderer plugins/mpeg3_player plugins/xanim2_player plugins/mpeg2_player plugins/avidev_player plugins/quicktime_player
-
-CC=gcc
-CFLAGS= -g -Wall -fPIC
-
diff --git a/media-video/lamp/files/config b/media-video/lamp/files/config
deleted file mode 100644
index fc46d8e1dbc0..000000000000
--- a/media-video/lamp/files/config
+++ /dev/null
@@ -1,62 +0,0 @@
-
-# You can associate an extension to a player
-assoc .mpg SMPEG
-assoc .asf AVIDEV
-
-# You can associate a key to a function
- binding q quit
- binding Q quit
- binding Escape swap_resolution
- binding s snapshot
- binding S snapshot
- binding p pause
- binding P pause
- binding b begin
- binding B begin
- binding E end
- binding e end
- binding plus volume_up
- binding KP_Add volume_up
- binding minus volume_down
- binding KP_Substract volume_down
- binding slash mute
- binding Right forward
- binding Left backward
- binding B begin
-
-# Load some renderers
-#loadg since shm_renderer is used by dga_renderer
-loadg shm_renderer
-load dga_renderer
-
-# Load some players
-load avifile_player begin
-# Add some FOURCC codes
-# This was not included in avifile ...
- fourcc CRAM msvidc32.dll
- fourcc MSVC msvidc32.dll
-# And the path to look for dlls
- path /usr/libexec/avifile/win32
-end
-
-load avidev_player
-
-# load these with no global symbols
-load smpeg_player
-load mpeg3_player
-load mpeg2_player
-
-loadg xanim_player begin
- path /usr/libexec/xanim/mods
-end
-
-# These libraries are needed by quicktime plugin
-lib_path /lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib
-
-lib libjpeg.so
-lib libpng.so
-load quicktime_player
-
-
-
-
diff --git a/media-video/lamp/files/digest-lamp-20000903 b/media-video/lamp/files/digest-lamp-20000903
deleted file mode 100644
index c9fece82ea44..000000000000
--- a/media-video/lamp/files/digest-lamp-20000903
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fb24b573da54b6daf29f5da42ff336f8 lamp-2000.09.03.tar.gz
diff --git a/media-video/lamp/lamp-20000903.ebuild b/media-video/lamp/lamp-20000903.ebuild
deleted file mode 100644
index f1e0a84e6bfc..000000000000
--- a/media-video/lamp/lamp-20000903.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/lamp/lamp-20000903.ebuild,v 1.4 2000/11/02 02:17:13 achim Exp $
-
-P=lamp-2000.09.03
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="A Video Player for mpeg2/3, avi and quicktime movie"
-SRC_URI="http://pauillac.inria.fr/lamp/src/${A}"
-HOMEPAGE="http://pauillac.inria.fr/lamp/"
-
-DEPEND=">=sys-devel/gcc-2.95.2
- >=sys-libs/glibc-2.1.3
- >=dev-lang/nasm-0.98
- >=media-libs/libsdl-1.1.5
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.0.7
- >=x11-base/xfree-4.0.1"
-
-src_unpack () {
-
- WIN32=/usr/libexec/avifile/win32
- unpack ${A}
- cd ${S}
- sed -e "s:-g:${CFLAGS}:" ${FILESDIR}/Makefile.config > ${S}/Makefile.config
-
-
- cd players/avifile-0.46.1
-
- mv configure configure.orig
- sed -e "s:/usr/lib/win32:$WIN32:" configure.orig > configure
-
- cd lib/loader
- mv Makefile Makefile.orig
- sed -e "s:/usr/lib/win32:$WIN32:" Makefile.orig > Makefile
-
- mv elfdll.c elfdll.c.orig
- sed -e "s:/usr/lib/win32:$WIN32:" elfdll.c.orig > elfdll.c
-
- cd ../audiodecoder
-
- mv audiodecoder.cpp audiodecoder.cpp.orig
- sed -e "s:/usr/lib/win32:$WIN32:" audiodecoder.cpp.orig > audiodecoder.cpp
-
- cd ../../xmps-avi-plugin
-
- mv Makefile Makefile.orig
- sed -e "s:/usr/lib/win32:$WIN32:" Makefile.orig > Makefile
-
- cd ../player
-
- mv mywidget.cpp mywidget.cpp.orig
- sed -e "s:/usr/lib/win32:$WIN32:" mywidget.cpp.orig > mywidget.cpp
-
- cd ../..
-
- mv lampavi.c lampavi.c.orig
- sed -e "s:/usr/lib/win32:$WIN32:" lampavi.c.orig > lampavi.c
-
-
-}
-
-src_compile() {
-
- cd ${S}
- unset CFLAGS
- try make depend
- try make world
-
-}
-
-src_install () {
-
- cd ${S}
- try make installroot=${D} install
- rmdir ${D}/usr/libexec/lamp/avifile_codecs
- cp ${FILESDIR}/config ${D}/usr/libexec/lamp
- dodoc ANNOUNCE ChangeLog COPYING CREDITS README* TODO USAGE FAQ docs/Xv.txt
- docinto html
- dodoc docs/*.html
-
-}
-
-
-
diff --git a/media-video/smpeg-xmms/files/digest-smpeg-xmms-0.3.1 b/media-video/smpeg-xmms/files/digest-smpeg-xmms-0.3.1
deleted file mode 100644
index 015248d6c3ef..000000000000
--- a/media-video/smpeg-xmms/files/digest-smpeg-xmms-0.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1d0f21e955bc0543734fdbda9473ba5d smpeg-xmms-0.3.1.tar.gz
diff --git a/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild b/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild
deleted file mode 100644
index 825a8bfd4468..000000000000
--- a/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild,v 1.3 2000/11/05 12:59:09 achim Exp $
-
-P=smpeg-xmms-0.3.1
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="A MPEG Plugin for XMMS"
-SRC_URI="ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/${A}"
-HOMEPAGE="http://www.xmms.org/plugins_input.html"
-
-DEPEND=">=media-sound/xmms-1.2.3"
-RDEPEND=">=media-sound/xmms-1.2.3"
-
-src_compile() {
-
- cd ${S}
- local myopts
- if [ -n "`use gnome`" ]
- then
- myopts="--prefix=/opt/gnome"
- else
- myopts="--prefix=/usr/X11R6"
- fi
- try ./configure ${myopts} --host=${CHOST}
- try make
-
-}
-
-src_install () {
-
- cd ${S}
- try make DESTDIR=${D} install
- dodoc AUTHORS COPYING README TODO ChangeLog
-}
-
-
-
diff --git a/media-video/vlc/files/digest-vlc-0.1.99h b/media-video/vlc/files/digest-vlc-0.1.99h
deleted file mode 100644
index 8ad87aa53615..000000000000
--- a/media-video/vlc/files/digest-vlc-0.1.99h
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ee095828eef6b46f6a26a93c8500bde7 vlc-0.1.99h.tar.bz2
diff --git a/media-video/vlc/vlc-0.1.99h.ebuild b/media-video/vlc/vlc-0.1.99h.ebuild
deleted file mode 100644
index 5ade0365cf60..000000000000
--- a/media-video/vlc/vlc-0.1.99h.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.1.99h.ebuild,v 1.3 2000/11/05 12:59:09 achim Exp $
-
-P=vlc-0.1.99h
-A=${P}.tar.bz2
-S=${WORKDIR}/${P}
-DESCRIPTION="A Player for MPEG2 Videos"
-SRC_URI="http://www.videolan.org/packages/0.1.99h/${A}"
-HOMEPAGE="http://www.videolan.org/"
-
-DEPEND=">=media-libs/libsdl-1.1.5
- gnome? ( gnome-base/gnome-libs-1.2.4 )"
-RDEPEND=$DEPEND
-
-src_compile() {
-
- unset CFLAGS
- unset CXXFLAGS
- cd ${S}
-
- local myopts
- if [ -n "`use gnome`" ]
- then
- myopts="--enable-gnome --prefix=/opt/gnome"
- else
- myopts="--prefix=/usr/X11R6"
- fi
- try ./configure --host=${CHOST} ${myopts} \
- --enable-mmx --enable-dsp --enable-esd \
- --enable-fb --enable-sdl --enable-x11
- try make
-
-}
-
-src_install () {
-
- cd ${S}
- local myopts
- if [ -n "`use gnome`" ]
- then
- try make prefix=${D}/opt/gnome install
- else
- try make prefix=${D}/usr/X11R6 install
- fi
- dodoc AUTHORS ChangeLog COPYING README TODO
-
-
-}
-
-
diff --git a/media-video/xawtv/files/digest-xawtv-3.20 b/media-video/xawtv/files/digest-xawtv-3.20
deleted file mode 100644
index 69d2c13633ba..000000000000
--- a/media-video/xawtv/files/digest-xawtv-3.20
+++ /dev/null
@@ -1 +0,0 @@
-MD5 01688a26ee1a7684e37426f1b407cbc0 xawtv_3.20.tar.gz
diff --git a/media-video/xawtv/files/digest-xawtv-3.23 b/media-video/xawtv/files/digest-xawtv-3.23
deleted file mode 100644
index 66a19f47dbb0..000000000000
--- a/media-video/xawtv/files/digest-xawtv-3.23
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ebc45bce957e5ba48122dafc8730e09f xawtv_3.23.tar.gz
diff --git a/media-video/xawtv/xawtv-3.20.ebuild b/media-video/xawtv/xawtv-3.20.ebuild
deleted file mode 100644
index 9597e84bfee3..000000000000
--- a/media-video/xawtv/xawtv-3.20.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.20.ebuild,v 1.3 2000/11/02 08:31:51 achim Exp $
-
-A=xawtv_3.20.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="TV application for the bttv driver"
-SRC_URI="http://www.strusel007.de/linux/xawtv/"${A}
-HOMEPAGE="http://www.strusel007.de/linux/xawtv/"
-
-DEPEND=">=sys-libs/glibc-2.1.3
- >=sys-libs/gpm-1.19.3
- >=sys-libs/ncurses-5.1
- >=media-libs/jpeg-6b
- >=x11-base/xfree-4.0.1"
-
-src_unpack() {
- unpack ${A}
-}
-
-src_compile() {
- cd ${S}
- try ./configure --host=${CHOST} --prefix=/usr \
- --enable-jpeg --enable-xfree-ext --enable-xvideo --with-x
- try make
-}
-
-src_install() {
- cd ${S}
- try make prefix=${D}/usr install
- prepman
- dodoc COPYING Changes KNOWN_PROBLEMS Miro_gpio.txt Programming-FAQ
- dodoc README* Sound-FAQ TODO Trouble-Shooting UPDATE_TO_v3.0
- insinto /usr/local/httpd/cgi-bin
- insopts -m 755
- doins webcam/webcam.cgi
- dodir /usr/X11R6/lib
- mv ${D}/usr/lib/X11 ${D}/usr/X11R6/lib
- rm -rf ${D}/usr/X11R6/lib/X11/fonts/misc/fonts.dir
- rm -rf ${D}/usr/lib
-}
-
-
-
-
-
-
diff --git a/media-video/xawtv/xawtv-3.23.ebuild b/media-video/xawtv/xawtv-3.23.ebuild
deleted file mode 100644
index 4c6823286322..000000000000
--- a/media-video/xawtv/xawtv-3.23.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.23.ebuild,v 1.2 2000/11/17 11:15:51 achim Exp $
-
-A=xawtv_${PV}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="TV application for the bttv driver"
-SRC_URI="http://www.strusel007.de/linux/xawtv/${A}"
-HOMEPAGE="http://www.strusel007.de/linux/xawtv/"
-
-DEPEND=">=sys-libs/glibc-2.1.3
- >=sys-libs/gpm-1.19.3
- >=sys-libs/ncurses-5.1
- >=media-libs/jpeg-6b
- >=x11-base/xfree-4.0.1"
-
-src_unpack() {
- unpack ${A}
-}
-
-src_compile() {
- cd ${S}
- unset DEPEND
- try ./configure --host=${CHOST} --prefix=/usr \
- --enable-jpeg --enable-xfree-ext --enable-xvideo --with-x
- try make
-}
-
-src_install() {
- cd ${S}
- try make prefix=${D}/usr install
- prepman
- dodoc COPYING Changes KNOWN_PROBLEMS Miro_gpio.txt Programming-FAQ
- dodoc README* Sound-FAQ TODO Trouble-Shooting UPDATE_TO_v3.0
- insinto /usr/local/httpd/cgi-bin
- insopts -m 755
- doins webcam/webcam.cgi
- dodir /usr/X11R6/lib
- mv ${D}/usr/lib/X11 ${D}/usr/X11R6/lib
- rm -rf ${D}/usr/X11R6/lib/X11/fonts/misc/fonts.dir
- rm -rf ${D}/usr/lib
-}
-
-
-
-
-
-
diff --git a/media-video/xmovie/files/digest-xmovie-1.5.1 b/media-video/xmovie/files/digest-xmovie-1.5.1
deleted file mode 100644
index a82613e3ef30..000000000000
--- a/media-video/xmovie/files/digest-xmovie-1.5.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 89eba14a9c440b653ffe3b84a2238de4 xmovie-1.5.1.tar.gz
diff --git a/media-video/xmovie/xmovie-1.5.1.ebuild b/media-video/xmovie/xmovie-1.5.1.ebuild
deleted file mode 100644
index 314e8dbe3209..000000000000
--- a/media-video/xmovie/xmovie-1.5.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/xmovie/xmovie-1.5.1.ebuild,v 1.3 2000/11/02 08:31:51 achim Exp $
-
-P=xmovie-1.5.1
-A=${P}.tar.gz
-S=${WORKDIR}/${P}
-DESCRIPTION="A Player for MPEG and Quicktime movies"
-SRC_URI="http://heroine.linuxave.net/${A}"
-HOMEPAGE="http://heroine.linuxave.net/xmovie.html"
-
-DEPEND=">=sys-devel/gcc-2.95.2
- >=sys-libs/glibc-2.1.3
- >=dev-lang/nasm-0.98
- >=dev-libs/glib-1.2.8
- >=media-libs/libpng-1.0.7
- >=x11-base/xfree-4.0.1"
-
-src_compile() {
-
- cd ${S}
- try ./configure
- try make
-
-}
-
-src_install () {
-
- cd ${S}
- into /usr/X11R6
- dobin xmovie/xmovie
- dodoc README
- docinto html
- dodoc docs/index.html
-
-}
-
-
-