# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Internet DJ Console - Be a DJ on the internet online or via podcast." HOMEPAGE="http://www.onlymeok.nildram.co.uk" SRC_URI="http://www.onlymeok.nildram.co.uk/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=media-sound/jack-audio-connection-kit-0.99.0-r1 >=media-libs/libshout-2.1" RDEPEND=">=dev-python/pygtk-2.6.1 >=media-sound/vorbis-tools-1.0.1 >=media-video/mplayer-1.0_pre6-r4 >=dev-python/eyeD3-0.6.4 >=media-sound/lame-3.96.1 >=media-libs/flac-1.1.1" src_compile() { econf CFLAGS="${CFLAGS}" || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die rm -rf ${D}/${prefix}/share/doc dodoc AUTHORS ChangeLog NEWS README } pkg_postinst() { einfo "In order to run idjc you first need to have a JACK sound server running." einfo "With all audio apps closed and sound servers on idle type the following:" einfo "jackd -d alsa -r 44100 -p 2048" einfo "Alternatively to have JACK start automatically when launching idjc:" einfo "echo \"/usr/bin/jackd -d alsa -r 44100 -p 2048\" >~/.jackdrc" }