[proaudio] ffmpeg patch for ac3jack

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2
inherit eutils

DESCRIPTION="Tool for creating an AC-3 (Dolby Digital) multichannel stream from its JACK input ports"
HOMEPAGE="http://essej.net/ac3jack/";
SRC_URI="http://essej.net/ac3jack/${P}.tar.gz";

LICENSE="GPL"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE=""

DEPEND=">=media-video/ffmpeg-0.5
	>=media-sound/jack-audio-connection-kit-0.80.0"
RDEPEND=""


src_unpack(){
	unpack "${A}"
	cd "${S}"

	EPATCH_OPTS="" epatch "${FILESDIR}/ffmpeg-libavcodec.patch" || die "epatch failed"
}


src_install(){
	emake DESTDIR="${D}" install || die "emake install failed"
}
diff -ur ac3jack-0.1.2.orig/ac3jack.c ac3jack-0.1.2/ac3jack.c
--- ac3jack-0.1.2.orig/ac3jack.c	2009-08-24 22:49:52.000000000 -0500
+++ ac3jack-0.1.2/ac3jack.c	2004-02-12 12:32:17.000000000 -0600
@@ -34,7 +34,7 @@
 #include <jack/transport.h>
 
 
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
 #include "memops.h"
 
 #include "version.h"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/