# Template file for 'idjc'
pkgname=idjc
version=0.8.9
revision=3
build_style=gnu-configure
hostmakedepends="which pkg-config"
makedepends="
 libvorbis-devel libogg-devel jack-devel libsamplerate-devel
 libflac-devel libsndfile-devel libmad-devel ffmpeg-devel>=2.1
 speex-devel glib-devel pixman-devel lame-devel pygtk-devel>=2.24.0_8
 libshout-idjc-devel opus-devel mutagen desktop-file-utils shared-mime-info"
depends="pygtk mutagen desktop-file-utils shared-mime-info"
pycompile_module="idjc"
short_desc="Internet DJ Console"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://${pkgname}.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b74e9a8378b951492c35ea9c2e3e665c5dd79f94958168d4ca872592ab326e71

pre_configure() {
	sed -e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|g' -i c/avcodecdecode.c
}
