# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-tv/me-tv/me-tv-1.4.0.10.ebuild,v 1.2 2013/03/03 07:51:26 dirtyepic Exp $ EAPI="4" inherit eutils versionator autotools gnome2 DESCRIPTION="Me TV is a GTK desktop application for watching digital television." 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" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="http" RDEPEND=">=dev-cpp/gconfmm-2.6 dev-cpp/gtkmm:2.4 dev-cpp/libxmlpp:2.6 dev-libs/libunique:1 >=dev-libs/dbus-glib-0.92 net-libs/gnet:2 =dev-db/sqlite-3* >=media-video/vlc-1.1.8 media-libs/gstreamer:0.10 media-plugins/gst-plugins-xvideo:0.10 media-libs/gst-plugins-base:0.10" DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { epatch "${FILESDIR}"/${P}-gcc47.patch eautoreconf } src_install() { gnome2_src_install if use http; then dodoc -r http/ fi } pkg_postinst() { if use http; then elog "The HTTP server port, .. are hardcoded" fi elog "Please note that Version 1.4 has a new DB so you" elog "have to re-import your channels." }