summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-06-18 12:18:35 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-06-18 12:18:35 +0000
commitf6ab94f7bf7c9df46a921c525772fc228df6aeb0 (patch)
treef44813c2a5b4afdfd17bf7605764c4384bf27ce2 /media-tv/nvrec
parentmoved nvrec (diff)
downloadhistorical-f6ab94f7bf7c9df46a921c525772fc228df6aeb0.tar.gz
historical-f6ab94f7bf7c9df46a921c525772fc228df6aeb0.tar.bz2
historical-f6ab94f7bf7c9df46a921c525772fc228df6aeb0.zip
moved to media-tv
Diffstat (limited to 'media-tv/nvrec')
-rw-r--r--media-tv/nvrec/Manifest8
-rw-r--r--media-tv/nvrec/files/20030217.patch11
-rw-r--r--media-tv/nvrec/files/20030316.patch23
-rw-r--r--media-tv/nvrec/files/digest-nvrec-0.1_pre200302172
-rw-r--r--media-tv/nvrec/files/digest-nvrec-0.1_pre20030217-r12
-rw-r--r--media-tv/nvrec/files/digest-nvrec-0.1_pre200303162
-rw-r--r--media-tv/nvrec/files/get_ffmpeg_functions.sh3
-rw-r--r--media-tv/nvrec/nvrec-0.1_pre20030217-r1.ebuild75
-rw-r--r--media-tv/nvrec/nvrec-0.1_pre20030217.ebuild75
-rw-r--r--media-tv/nvrec/nvrec-0.1_pre20030316.ebuild80
10 files changed, 277 insertions, 4 deletions
diff --git a/media-tv/nvrec/Manifest b/media-tv/nvrec/Manifest
index c0691ef34418..ae8ea2c07b07 100644
--- a/media-tv/nvrec/Manifest
+++ b/media-tv/nvrec/Manifest
@@ -1,7 +1,7 @@
-MD5 8bee102bff7d979c586fc487fd90da0d nvrec-0.1_pre20030316.ebuild 2240
-MD5 f0ff1fd786a7bec5c11403043bca7275 nvrec-0.1_pre20030217.ebuild 1961
-MD5 34f83a401b1b9c847dfa0c4b11de3a5c ChangeLog 1066
-MD5 ce220c15615463816299384196184d42 nvrec-0.1_pre20030217-r1.ebuild 1961
+MD5 6e98b1df1bcb7084692ccfec106b2439 nvrec-0.1_pre20030316.ebuild 2236
+MD5 5089c51c3b5b817b7a4613faf410ba79 nvrec-0.1_pre20030217.ebuild 1959
+MD5 662355f47b5db4c479cd4905b5c011d9 ChangeLog 1347
+MD5 736aacf623872d33a923cab81e81d9c9 nvrec-0.1_pre20030217-r1.ebuild 1959
MD5 fd5ab470c2dbe255f27e304b6e28f428 files/get_ffmpeg_functions.sh 127
MD5 844b9f64f50b3675da6f5d08c092c15e files/20030217.patch 392
MD5 f5a149d45fb0910fff8918f93a40aca2 files/digest-nvrec-0.1_pre20030217 130
diff --git a/media-tv/nvrec/files/20030217.patch b/media-tv/nvrec/files/20030217.patch
new file mode 100644
index 000000000000..894d2340e9f1
--- /dev/null
+++ b/media-tv/nvrec/files/20030217.patch
@@ -0,0 +1,11 @@
+--- bootstrap 2003-03-18 09:06:07.000000000 +0100
++++ bootstrap.new 2003-03-18 09:05:43.000000000 +0100
+@@ -4,7 +4,7 @@
+ $AMREQUIRE=10601;
+ $OK=1;
+
+-open(COMMAND, "automake --version |") or die "could not execute automake";
++open(COMMAND, "automake-1.6 --version |") or die "could not execute automake";
+ while(<COMMAND>){
+ if ($_ =~ /automake .* (\d+)\.(\d+)\.(\d+)/i){
+ $ambranch = $1;
diff --git a/media-tv/nvrec/files/20030316.patch b/media-tv/nvrec/files/20030316.patch
new file mode 100644
index 000000000000..a28897de0bd0
--- /dev/null
+++ b/media-tv/nvrec/files/20030316.patch
@@ -0,0 +1,23 @@
+diff -ru nvrec-20030316/bootstrap nvrec-new/bootstrap
+--- nvrec-20030316/bootstrap 2003-03-27 08:05:14.000000000 +0100
++++ nvrec-new/bootstrap 2003-03-27 08:12:20.000000000 +0100
+@@ -4,7 +4,7 @@
+ $AMREQUIRE=10601;
+ $OK=1;
+
+-open(COMMAND, "automake --version |") or die "could not execute automake";
++open(COMMAND, "automake-1.6 --version |") or die "could not execute automake";
+ while(<COMMAND>){
+ if ($_ =~ /automake .* (\d+)\.(\d+)\.(\d+)/i){
+ $ambranch = $1;
+diff -ru nvrec-20030316/etc/nvrec.conf nvrec-new/etc/nvrec.conf
+--- nvrec-20030316/etc/nvrec.conf 2003-03-18 10:58:59.000000000 +0100
++++ nvrec-new/etc/nvrec.conf 2003-03-27 08:11:43.000000000 +0100
+@@ -11,6 +11,7 @@
+ # valid programs are "nuppelrec", "divxrec", "divx4rec", "qtrec", "rterec" and "ffmpegrec"
+
+
++-v /dev/v4l/video0
+ -vb 1800 # DIVX4 bitrate = 600kbit/s
+ -h 288 # heigth is set to 288
+ -w 384 # with is set to 384
diff --git a/media-tv/nvrec/files/digest-nvrec-0.1_pre20030217 b/media-tv/nvrec/files/digest-nvrec-0.1_pre20030217
new file mode 100644
index 000000000000..d88d0b7cb3a4
--- /dev/null
+++ b/media-tv/nvrec/files/digest-nvrec-0.1_pre20030217
@@ -0,0 +1,2 @@
+MD5 f4b0b724a556478229179c268f41e938 nvrec-20030217.tar.gz 158770
+MD5 bdd96d28327d3abe02e886c13e633878 ffmpeg-0.4.6.tar.gz 672098
diff --git a/media-tv/nvrec/files/digest-nvrec-0.1_pre20030217-r1 b/media-tv/nvrec/files/digest-nvrec-0.1_pre20030217-r1
new file mode 100644
index 000000000000..d88d0b7cb3a4
--- /dev/null
+++ b/media-tv/nvrec/files/digest-nvrec-0.1_pre20030217-r1
@@ -0,0 +1,2 @@
+MD5 f4b0b724a556478229179c268f41e938 nvrec-20030217.tar.gz 158770
+MD5 bdd96d28327d3abe02e886c13e633878 ffmpeg-0.4.6.tar.gz 672098
diff --git a/media-tv/nvrec/files/digest-nvrec-0.1_pre20030316 b/media-tv/nvrec/files/digest-nvrec-0.1_pre20030316
new file mode 100644
index 000000000000..36b2ff9a6db1
--- /dev/null
+++ b/media-tv/nvrec/files/digest-nvrec-0.1_pre20030316
@@ -0,0 +1,2 @@
+MD5 82a7f0f3e661bb2740cb3778edd1dfae nvrec-20030316.tar.gz 151974
+MD5 bdd96d28327d3abe02e886c13e633878 ffmpeg-0.4.6.tar.gz 672098
diff --git a/media-tv/nvrec/files/get_ffmpeg_functions.sh b/media-tv/nvrec/files/get_ffmpeg_functions.sh
new file mode 100644
index 000000000000..64698661d7d0
--- /dev/null
+++ b/media-tv/nvrec/files/get_ffmpeg_functions.sh
@@ -0,0 +1,3 @@
+set execfail on
+source 2>/dev/null ${PORTDIR}/media-video/ffmpeg/${ffversion}.ebuild
+declare -f | sed -e 's/src_/ffmpeg_src_/'
diff --git a/media-tv/nvrec/nvrec-0.1_pre20030217-r1.ebuild b/media-tv/nvrec/nvrec-0.1_pre20030217-r1.ebuild
new file mode 100644
index 000000000000..30b73c497c06
--- /dev/null
+++ b/media-tv/nvrec/nvrec-0.1_pre20030217-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nvrec/nvrec-0.1_pre20030217-r1.ebuild,v 1.1 2003/06/18 12:16:54 seemant Exp $
+
+inherit eutils
+
+MY_VER="20030217"
+DESCRIPTION="High quality video capture for Linux"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/downloads/${PN}-${MY_VER}.tar.gz
+ mirror://sourceforge/ffmpeg/ffmpeg-0.4.6.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="avi quicktime sdl oggvorbis"
+
+DEPEND="dev-lang/perl
+ >=sys-devel/automake-1.6.1
+ >=sys-devel/autoconf-2.53
+ avi? ( media-video/avifile )
+ quicktime? ( media-libs/libquicktime )
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-sound/mad )
+ media-libs/divx4linux
+ media-sound/lame
+ media-video/ffmpeg"
+RDEPEND="avi? ( media-video/avifile )
+ quicktime? ( media-libs/libquicktime )
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-sound/mad )
+ media-libs/divx4linux
+ media-sound/lame"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ local ffversion
+ ffversion="ffmpeg-0.4.6-r1"
+ ffP="ffmpeg-0.4.6"
+ export ffversion
+ bash ${FILESDIR}/get_ffmpeg_functions.sh > ${T}/funcs.sh
+ source ${T}/funcs.sh
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${MY_VER}.patch
+ ffS=${WORKDIR}/${ffP}
+ cd ${ffS}
+ epatch ${PORTDIR}/media-video/ffmpeg/files/${ffP}-Makefiles.diff
+ cd ${WORKDIR}
+ ln -s ${ffP} ffmpeg
+}
+
+src_compile() {
+ cd ${ffS}
+ ffmpeg_src_compile
+ cd ${S}
+ ./bootstrap
+ local myconf
+ myconf="$(use_with avi avifile)"
+ myconf="${myconf} $(use_with quicktime)"
+ myconf="${myconf} $(use_with sdl sdl) $(use_with sdl mad)"
+ econf || die "configure failed"
+ # ugly ugly ugly... but no configure option there
+ use oggvorbis && ( sed < Makefile > Makefile.new -e \
+ 's/\(^.*LDADD = .*\)/\1 -lvorbis -lvorbisenc/' && \
+ mv Makefile.new Makefile)
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "install failed"
+ insinto /etc
+ doins etc/nvrec.conf
+}
diff --git a/media-tv/nvrec/nvrec-0.1_pre20030217.ebuild b/media-tv/nvrec/nvrec-0.1_pre20030217.ebuild
new file mode 100644
index 000000000000..ba12d5211208
--- /dev/null
+++ b/media-tv/nvrec/nvrec-0.1_pre20030217.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nvrec/nvrec-0.1_pre20030217.ebuild,v 1.1 2003/06/18 12:16:54 seemant Exp $
+
+inherit eutils
+
+MY_VER="20030217"
+DESCRIPTION="High quality video capture for Linux"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/downloads/${PN}-${MY_VER}.tar.gz
+ mirror://sourceforge/ffmpeg/ffmpeg-0.4.6.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="avi quicktime sdl oggvorbis"
+
+DEPEND="dev-lang/perl
+ >=sys-devel/automake-1.6.1
+ >=sys-devel/autoconf-2.53
+ avi? ( media-video/avifile )
+ quicktime? ( media-libs/libquicktime )
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-sound/mad )
+ media-libs/divx4linux
+ media-sound/lame
+ media-video/ffmpeg"
+RDEPEND="avi? ( media-video/avifile )
+ quicktime? ( media-libs/libquicktime )
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-sound/mad )
+ media-libs/divx4linux
+ media-sound/lame"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ local ffversion
+ ffversion="ffmpeg-0.4.6-r1"
+ ffP="ffmpeg-0.4.6"
+ export ffversion
+ bash ${FILESDIR}/get_ffmpeg_functions.sh > ${T}/funcs.sh
+ source ${T}/funcs.sh
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${MY_VER}.patch
+ ffS=${WORKDIR}/${ffP}
+ cd ${ffS}
+ epatch ${PORTDIR}/media-video/ffmpeg/files/${ffP}-Makefiles.diff
+ cd ${WORKDIR}
+ ln -s ${ffP} ffmpeg
+}
+
+src_compile() {
+ cd ${ffS}
+ ffmpeg_src_compile
+ cd ${S}
+ ./bootstrap
+ local myconf
+ myconf="$(use_with avi avifile)"
+ myconf="${myconf} $(use_with quicktime)"
+ myconf="${myconf} $(use_with sdl sdl) $(use_with sdl mad)"
+ econf || die "configure failed"
+ # ugly ugly ugly... but no configure option there
+ use oggvorbis && ( sed < Makefile > Makefile.new -e \
+ 's/\(^.*LDADD = .*\)/\1 -lvorbis -lvorbisenc/' && \
+ mv Makefile.new Makefile)
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "install failed"
+ insinto /etc
+ doins etc/mvrec.conf
+}
diff --git a/media-tv/nvrec/nvrec-0.1_pre20030316.ebuild b/media-tv/nvrec/nvrec-0.1_pre20030316.ebuild
new file mode 100644
index 000000000000..c17e84ba6262
--- /dev/null
+++ b/media-tv/nvrec/nvrec-0.1_pre20030316.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nvrec/nvrec-0.1_pre20030316.ebuild,v 1.1 2003/06/18 12:16:54 seemant Exp $
+
+inherit eutils
+
+MY_VER="20030316"
+DESCRIPTION="High quality video capture for Linux"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/downloads/${PN}-${MY_VER}.tar.gz
+ mirror://sourceforge/ffmpeg/ffmpeg-0.4.6.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="avi quicktime sdl oggvorbis"
+
+DEPEND="dev-lang/perl
+ >=sys-devel/automake-1.6.1
+ >=sys-devel/autoconf-2.53
+ avi? ( media-video/avifile )
+ quicktime? ( media-libs/libquicktime )
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-sound/mad )
+ media-libs/divx4linux
+ media-sound/lame
+ media-video/ffmpeg"
+RDEPEND="avi? ( media-video/avifile )
+ quicktime? ( media-libs/libquicktime )
+ sdl? ( media-libs/libsdl )
+ sdl? ( media-sound/mad )
+ media-libs/divx4linux
+ media-sound/lame"
+
+S=${WORKDIR}/${PN}-${MY_VER}
+
+src_unpack() {
+ if nm /usr/lib/libquicktime.so | grep -q png; then
+ die "It looks like you have installed quicktime4linux after installing libquicktime. NVrec can't be installed, see bug #20705 for why."
+ fi
+
+ local ffversion
+ ffversion="ffmpeg-0.4.6-r1"
+ ffP="ffmpeg-0.4.6"
+ export ffversion
+ bash ${FILESDIR}/get_ffmpeg_functions.sh > ${T}/funcs.sh
+ source ${T}/funcs.sh
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${MY_VER}.patch
+ ffS=${WORKDIR}/${ffP}
+ cd ${ffS}
+ epatch ${PORTDIR}/media-video/ffmpeg/files/${ffP}-Makefiles.diff
+ cd ${WORKDIR}
+ ln -s ${ffP} ffmpeg
+}
+
+src_compile() {
+ cd ${ffS}
+ ffmpeg_src_compile
+ cd ${S}
+ ./bootstrap
+ local myconf
+ myconf="$(use_with avi avifile)"
+ myconf="${myconf} $(use_with quicktime)"
+ myconf="${myconf} $(use_with sdl sdl) $(use_with sdl mad)"
+ econf || die "configure failed"
+ # ugly ugly ugly... but no configure option there
+ use oggvorbis && ( sed < Makefile > Makefile.new -e \
+ 's/\(^.*LDADD = .*\)/\1 -lvorbis -lvorbisenc/' && \
+ mv Makefile.new Makefile)
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "install failed"
+ insinto /etc
+ doins etc/nvrec.conf
+ dodoc AUTHORS CREDITS ChangeLog FAQ KNOWN_BUGS README README.FIRST STATUS
+}