[proaudio] ffmpeg patch for ac3jack |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: [proaudio] ffmpeg patch for ac3jack
- From: Reuben Martin <reuben.m@xxxxxxxxx>
- Date: Mon, 24 Aug 2009 23:44:48 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:message-id; bh=5iNKlf2DfPSyT1yx01bn7XjJsvYMrvlC6/UJ0etlmmo=; b=JuSEnI+koqTVvIY7MD8h7aauf79JfoUCzIMReDkuuM3/AEXpqN6sRbUcfhZYIQ9f6u 3Oh16nz7CMBwUzu51l/5LLlD012qfSOwghP9rFdhnk0sxPeBW7bLvmegtICEuWSX7Hsf jXTAgXX1WXJ7Tze2b5qgOYxx1FjMELShkXjmQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :message-id; b=fTW7mu0DaVviFsLYqq6oF1NLG/qbaOSLmuK6Xvhd6Qu/SM/tCFZbtkXW5Wi//zjuvs eoYY8q+knE1Va2LR1Ibs6opBGLdjFW9OjhwV0bASaoAvqMjziuDN7ur3JMOdIC3YcP98 aNZoiL/ZSCta+1/uUYAOKI6kDz3gngRdBD0IY=
# 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"