blob: 3db215cc668e5e56155fc9ccf63131c310f22c1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils versionator gnome2
DESCRIPTION="Me TV Gnome DVB Program"
HOMEPAGE="http://me-tv.sourceforge.net/"
SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/$(get_version_component_range 1-3)/+download/${P}.tar.gz"
RESTRICT="mirror"
EAPI="2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug doc mplayer xine vlc gstreamer nls static"
RDEPEND=">=dev-cpp/libgnomemm-2.20.0
>=dev-cpp/libgnomecanvasmm-2.20.0
>=dev-cpp/libgnomeuimm-2.20.0
>=dev-cpp/gconfmm-2.20.0
>=dev-cpp/gtkmm-2.16.0
=dev-db/sqlite-3*
>=net-libs/gnet-2.0.0
>=x11-libs/libXtst-1.0.0
mplayer? ( media-video/mplayer[dvb] )
xine? ( >=media-libs/xine-lib-1.1.7 media-video/xine-ui )
vlc? ( >=media-video/vlc-0.9[dvb] )
gstreamer? ( >=media-libs/gst-plugins-bad-0.10 )"
# XML::Parser, pkgconfig >= 0.9.0
DEPEND="${RDEPEND}
doc? ( >=dev-util/gtk-doc-1.0 )"
#S="${WORKDIR}/${PN}-0.8.0"
src_compile() {
econf \
$(use_enable static) \
$(use_enable nls) \
$(use_enable debug) \
$(use_enable doc gtk-doc) \
$(use_enable mplayer mplayer-engine) \
$(use_enable xine xine-engine) \
$(use_enable xine xine-lib-engine) \
$(use_enable vlc libvlc-engine) \
$(use_enable gstreamer libgstreamer-engine) \
|| die "econf failed"
# emake || die "emake failed"
gnome2_src_compile
}
#src_install() {
# gnome2_src_install
# #emake DESTDIR="${D}" install || die "emake install failed"
#}
pkg_postinst() {
gnome2_pkg_postinst
einfo 'Please note that xine is the only engine supported by upstream'
if ! use xine
then
ewarn 'Warning: You choose to not install the xine engine'
ewarn 'which is the only one supported by upstream.'
fi
}
|