idjc: update to 0.8.7; add ffmpeg-1.0 workarounds.

This commit is contained in:
Juan RP 2012-12-05 00:44:31 +01:00
parent ed9125e89e
commit 74d7f192d2
1 changed files with 13 additions and 6 deletions

View File

@ -1,22 +1,29 @@
# Template file for 'idjc'
pkgname=idjc
version=0.8.6
revision=3
version=0.8.7
revision=1
build_style=gnu-configure
homepage="http://${pkgname}.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
depends="pygtk"
makedepends="libvorbis-devel libogg-devel jack-devel libsamplerate-devel
libflac-devel libsndfile-devel libmad-devel ffmpeg-devel>=1.0.1
speex-devel glib-devel pixman-devel pygtk-devel"
speex-devel glib-devel pixman-devel lame-devel pygtk-devel"
fulldepends="mutagen desktop-file-utils shared-mime-info"
short_desc="Internet DJ Console"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
checksum=846ab6b5e27fb2105d92c8cdde885db3cadd764fb4849249aeead7fe5c7c30d0
homepage="http://${pkgname}.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=987f168de16c13342f16a55dcbbe9f9607c79e5dcf8d198523bd8fa28feafa4c
long_desc="
Internet DJ Console is a project started in March 2005 to provide a powerful
yet easy to use source-client for individuals interested in streaming live
radio shows over the Internet using Shoutcast or Icecast servers."
pycompile_module="idjc"
pre_configure() {
# ffmpeg-1.0 definitions.
sed -i -e "s|AV_METADATA_DONT_STRDUP_KEY|AV_DICT_DONT_STRDUP_KEY|g" \
-e "s|AV_METADATA_DONT_STRDUP_VAL|AV_DICT_DONT_STRDUP_VAL|g" \
-e "/avcodec_init();/d" c/avcodecdecode.c
}