idjc: update to 0.8.9.

This commit is contained in:
Juan RP 2013-10-30 08:29:41 +01:00
parent c42042f42b
commit 8851202a28
1 changed files with 6 additions and 10 deletions

View File

@ -1,31 +1,27 @@
# Template file for 'idjc'
pkgname=idjc
version=0.8.7
revision=3
version=0.8.9
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
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
mutagen desktop-file-utils shared-mime-info"
libshout-idjc-devel opus-devel mutagen desktop-file-utils shared-mime-info"
short_desc="Internet DJ Console"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://${pkgname}.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=987f168de16c13342f16a55dcbbe9f9607c79e5dcf8d198523bd8fa28feafa4c
checksum=b74e9a8378b951492c35ea9c2e3e665c5dd79f94958168d4ca872592ab326e71
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."
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 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|g' \
-e "/avcodec_init();/d" c/avcodecdecode.c
sed -e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|g' -i c/avcodecdecode.c
}
idjc_package() {