summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/me-tv/me-tv-1.3.2.ebuild')
-rw-r--r--media-tv/me-tv/me-tv-1.3.2.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/media-tv/me-tv/me-tv-1.3.2.ebuild b/media-tv/me-tv/me-tv-1.3.2.ebuild
new file mode 100644
index 0000000..3db215c
--- /dev/null
+++ b/media-tv/me-tv/me-tv-1.3.2.ebuild
@@ -0,0 +1,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
+} \ No newline at end of file