1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit distutils eutils
8 DESCRIPTION="Democracy is a free and open internet TV platform."
9 HOMEPAGE="http://www.getdemocracy.com"
10 SRC_URI="ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/${MY_P}.tar.gz"
13 KEYWORDS="~x86 ~amd64"
14 #currently the support for firefox appears to be broken
15 #IUSE="gecko-sdk mozilla firefox"
17 RDEPEND="dev-python/pyrex
21 >=dev-python/pygtk-2.0
22 dev-python/gnome-python-extras
24 || ( x11-libs/libX11 virtual/x11 )"
25 #www-client/mozilla, maybe even www-client/mozilla-firefox?
26 #this are pull by gnome-python
30 #TODO gnome2_src_configure ${G2CONF}
31 # maybe add support in this way
32 #/usr/portage/dev-python/gnome-python-extras/gnome-python-extras-2.14.0.ebuild
40 S="${WORKDIR}/${MY_P}/platform/gtk-x11/"
45 epatch ${FILESDIR}/democracy-{use-gecko-sdk,as-needed-libX11}.patch
49 if ! built_with_use -a xine-lib aac ffmpeg mad asf flac sdl win32codecs; then
50 ewarn "The Democracy team recommends you to emerge xine-lib as follows:"
52 ewarn "# echo \"media-libs/xine-lib aac ffmpeg mad asf flac sdl win32codecs\" \ "
53 ewarn ">> /etc/portage/package.use && emerge xine-lib"
55 ewarn "This way you will have support enabled for the most popular"
56 ewarn "video and audio formats. You may also want to add support"
57 ewarn "for theora and vorbis"