1 # Copyright 2006-2007 BreakMyGentoo.org
2 # Copyright 2008 Daniel Gryniewcz
3 # Distributed under the terms of the GNU General Public License v2
5 inherit distutils python
7 DESCRIPTION
="Elisa is an open source, cross platform media center solution for Linux, MacOSX and Windows on top of GStreamer."
8 HOMEPAGE
="http://elisa.fluendo.com/"
9 SRC_URI
="http://elisa.fluendo.com/static/download/${PN}/${P}.tar.gz"
15 KEYWORDS
="-* ~amd64 ~ppc ~x86"
16 IUSE
="daap doc dvd hal ipod flash lirc upnp weather"
20 RDEPEND
=">=dev-lang/python-2.5
22 >=dev-python/imaging-1
23 >=dev-python/twisted-2.2
24 dev-python/twisted-web
27 dev-python/gnome-python-extras
28 >=dev-python/pigment-python-0.3.5
29 >=media-libs/gstreamer-0.10.4
30 >=dev-python/gst-python-0.10
31 >=media-plugins/gst-plugins-ogg-0.10
32 >=media-plugins/gst-plugins-vorbis-0.10
33 >=media-plugins/gst-plugins-theora-0.10
34 media-plugins/libvisual-plugins:0.4
35 media-fonts/liberation-fonts-ttf
36 x11-misc/xdg-user-dirs
40 >=media-plugins/gst-plugins-ffmpeg-0.10
41 >=media-libs/gst-plugins-bad-0.10
42 >=media-libs/gst-plugins-ugly-0.10
46 >=media-plugins/gst-plugins-ffmpeg-0.10
47 >=media-libs/gst-plugins-bad-0.10
57 >=dev-python/dbus-python-0.71
62 >=dev-python/dbus-python-0.71
76 >=dev-util/pkgconfig-0.9"
78 PDEPEND
=">=media-plugins/elisa-plugins-good-${PV}
79 >=media-plugins/elisa-plugins-bad-${PV}
80 >=media-plugins/elisa-plugins-ugly-${PV}"
82 DOCS
="AUTHORS ChangeLog COPYING NEWS FIRST_RUN"
86 if built_with_use net-dns
/avahi python
; then
87 einfo
"Avahi Python bindings found ..."
89 eerror
"Please rebuild net-dns/avahi with python support enabled!"
90 eerror
"Try USE=\"python\" emerge net-dns/avahi,"
91 eerror
"or add \"python\" to your USE string in /etc/make.conf and"
92 eerror
"emerge net-dns/avahi."
93 die
"USE flag \"python\" must be enabled in net-dns/avahi"
99 if built_with_use media-libs
/libgpod python
; then
100 einfo
"libgpod Python bindings found ..."
102 eerror
"Please rebuild media-libs/libgpod with python support enabled!"
103 eerror
"Try USE=\"python\" emerge media-libs/libgpod,"
104 eerror
"or add \"python\" to your USE string in /etc/make.conf and"
105 eerror
"emerge media-libs/libgpod."
106 die
"USE flag \"python\" must be enabled in media-libs/libgpod"
110 addpredict
"/root/.gstreamer-0.10"
115 einfo
"After first run of the box, edit elisa.conf and add some media"
116 einfo
"locations in [xmlmenu:locaions_builder]"
118 einfo
"locations = ['file://./sample_data/pictures', 'file:///media/videos']"
120 einfo
"If you get failures loading plugins, delete ~/.elisa"
122 einfo
"Please replace gstreamer:gst_metadata_client with"
123 einfo
"gstreamer:gst_metadata in your ~/.elisa/elisa.conf to get song"
124 einfo
"metadata scanning"