diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-03-19 14:57:10 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-03-19 14:57:10 +0000 |
commit | 8c29cfb6bf2caaba88798bd473663ba16e12c7df (patch) | |
tree | 5262109abcb96d13ce5a559676773e561c63082b /media-video | |
parent | src_uri changes (diff) | |
download | gentoo-2-8c29cfb6bf2caaba88798bd473663ba16e12c7df.tar.gz gentoo-2-8c29cfb6bf2caaba88798bd473663ba16e12c7df.tar.bz2 gentoo-2-8c29cfb6bf2caaba88798bd473663ba16e12c7df.zip |
fixed a typo that excluded config file from installation
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/nvrec/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/nvrec/files/digest-nvrec-0.1_pre20030217-r1 | 2 | ||||
-rw-r--r-- | media-video/nvrec/nvrec-0.1_pre20030217-r1.ebuild | 75 |
3 files changed, 83 insertions, 1 deletions
diff --git a/media-video/nvrec/ChangeLog b/media-video/nvrec/ChangeLog index 0a5df76d9430..39be8aca18a8 100644 --- a/media-video/nvrec/ChangeLog +++ b/media-video/nvrec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/nvrec # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/nvrec/ChangeLog,v 1.1 2003/03/18 14:36:56 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/nvrec/ChangeLog,v 1.2 2003/03/19 14:57:10 phosphan Exp $ + +*nvrec-0.1_pre20030217-r1 (19 Mar 2003) + + 19 Mar 2003; Patrick Kursawe <phosphan@gentoo.org> : + Fixed a typo that excluded the config file from installation *nvrec-0.1_pre20030217 (18 Mar 2003) diff --git a/media-video/nvrec/files/digest-nvrec-0.1_pre20030217-r1 b/media-video/nvrec/files/digest-nvrec-0.1_pre20030217-r1 new file mode 100644 index 000000000000..d88d0b7cb3a4 --- /dev/null +++ b/media-video/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-video/nvrec/nvrec-0.1_pre20030217-r1.ebuild b/media-video/nvrec/nvrec-0.1_pre20030217-r1.ebuild new file mode 100644 index 000000000000..2c1636c2258a --- /dev/null +++ b/media-video/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-video/nvrec/nvrec-0.1_pre20030217-r1.ebuild,v 1.1 2003/03/19 14:57:10 phosphan Exp $ + +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" +S="${WORKDIR}/${PN}" +IUSE="avi quicktime sdl oggvorbis" +SLOT="0" +KEYWORDS="~x86" + +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" + + +inherit eutils + +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 +} |