summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/mtvg/mtvg-7.3.2-r1.ebuild')
-rw-r--r--media-tv/mtvg/mtvg-7.3.2-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/media-tv/mtvg/mtvg-7.3.2-r1.ebuild b/media-tv/mtvg/mtvg-7.3.2-r1.ebuild
new file mode 100644
index 000000000000..34bbf052708f
--- /dev/null
+++ b/media-tv/mtvg/mtvg-7.3.2-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mtvg/mtvg-7.3.2-r1.ebuild,v 1.1 2009/02/14 20:13:49 carlo Exp $
+
+ARTS_REQUIRED="never"
+
+inherit kde
+
+S="${WORKDIR}/maxemumtvguide-${PV}"
+
+DESCRIPTION="KDE TV-guide to display XMLTV listings."
+HOMEPAGE="http://mtvg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mtvg/maxemumtvguide-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="xml"
+DEPEND=""
+RDEPEND="xml? ( media-tv/xmltv )"
+
+need-kde 3.5
+
+PATCHES=(
+ "${FILESDIR}/mtvg-7.3.2-desktop-file.diff"
+ )
+
+src_unpack() {
+ kde_src_unpack
+ rm -f "${S}"/configure
+}
+
+pkg_setup() {
+ kde_pkg_setup
+
+ if ! use xml; then
+ echo
+ ewarn "Support for XMLTV disabled. Add the 'xml' USE flag if you"
+ ewarn "need to pull TV listings."
+ echo
+ fi
+}
+
+pkg_postinst() {
+ kde_pkg_postinst
+
+ elog "The binary to run mtvg is 'maxemumtvguide'"
+}