summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaciag.artur <maciag.artur@0805d722-a2c2-11dd-9b86-41075523de00>2009-04-15 19:47:33 +0000
committermaciag.artur <maciag.artur@0805d722-a2c2-11dd-9b86-41075523de00>2009-04-15 19:47:33 +0000
commit18c757753bbfd5ca4b5276be40690e2269e0e984 (patch)
treeef282495bf8910249e1735e6582afeb447ade201 /media-tv/me-tv
parentqnapi 0.1.6_rc2 ebuild (diff)
downloadpiczu-18c757753bbfd5ca4b5276be40690e2269e0e984.tar.gz
piczu-18c757753bbfd5ca4b5276be40690e2269e0e984.tar.bz2
piczu-18c757753bbfd5ca4b5276be40690e2269e0e984.zip
me-tv live ebuild updated
git-svn-id: http://piczu-overlay.googlecode.com/svn/trunk@54 0805d722-a2c2-11dd-9b86-41075523de00
Diffstat (limited to 'media-tv/me-tv')
-rw-r--r--media-tv/me-tv/Manifest2
-rw-r--r--media-tv/me-tv/me-tv-9999.ebuild64
2 files changed, 42 insertions, 24 deletions
diff --git a/media-tv/me-tv/Manifest b/media-tv/me-tv/Manifest
index 0ac396c..e605608 100644
--- a/media-tv/me-tv/Manifest
+++ b/media-tv/me-tv/Manifest
@@ -1 +1 @@
-EBUILD me-tv-9999.ebuild 892 RMD160 245b4c1d706046daa8bcb02d2359e8d8b05a2e23 SHA1 182a01d883c88f126fbc0eb267d60d09c797302b SHA256 2c025138c7303d6672a2f2a3caad0da54bf760b90eb46d6b289f04dd397317f8
+EBUILD me-tv-9999.ebuild 1513 RMD160 680e595440419de0ad92b1b8d48534b753ba397d SHA1 6710a533e24e8bdb4e0762365be7caec9905deac SHA256 35a660df8b374fe6842f95d73ab47ba3f1c85437065a22cd2518c634105ea882
diff --git a/media-tv/me-tv/me-tv-9999.ebuild b/media-tv/me-tv/me-tv-9999.ebuild
index eb91994..c90b9da 100644
--- a/media-tv/me-tv/me-tv-9999.ebuild
+++ b/media-tv/me-tv/me-tv-9999.ebuild
@@ -1,48 +1,66 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
-inherit autotools eutils bzr
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit autotools eutils bzr gnome2
DESCRIPTION="Me TV is a digital television (DVB) viewer for GNOME/GTK."
HOMEPAGE="http://me-tv.sourceforge.net"
+SRC_URI=""
EBZR_REPO_URI="lp:me-tv"
EBZR_BRANCH="me-tv"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="X nls doc xine mplayer vlc gstreamer debug"
RDEPEND=">=dev-cpp/libgnomemm-2.20
- >=gnome-base/libgnome-2.14
>=dev-cpp/libgnomeuimm-2.20
- >=gnome-base/libgnomeui-2.20
- >=dev-cpp/glibmm-2.10
- >=gnome-base/gconf-2.0
- >=dev-cpp/gconfmm-2.6
- >=dev-libs/glib-2
- =dev-db/sqlite-3*
- x11-libs/libXtst
- =net-libs/gnet-2.0*
- x11-libs/cairo[glitz]"
-DEPEND="${RDEPEND}"
-
-DOCS="NEWS AUTHORS README ChangeLog"
+ >=dev-db/sqlite-3.3.9
+ net-libs/gnet:2
+ x11-libs/cairo[glitz]
+ X? ( x11-libs/libXtst )
+ xine? ( media-libs/xine-lib )
+ mplayer? ( media-video/mplayer )
+ vlc? ( media-video/vlc )
+ gstreamer? ( media-libs/gstreamer )
+ doc? ( dev-util/gtk-doc )"
+DEPEND="${RDEPEND}
+ dev-util/intltool"
+
+G2CONF="$(use_enable debug) \
+ $(use_enable nls) \
+ $(use_enable xine xine-engine) \
+ $(use_enable mplayer mplayer-engine) \
+ $(use_enable vlc libvlc-engine) \
+ $(use_enable gstreamer libgstreamer-engine) \
+ $(use_enable doc gtk-doc) \
+ $(use_with X x)"
+
+DOCS="AUTHORS README ChangeLog"
+
+pkg_setup() {
+ if ! use xine && ! use mplayer && ! use vlc && \
+ ! use gstreamer; then
+ eerror
+ eerror "You nned to enable at least one engine."
+ eerror "Please set one or more of the following USE flags:"
+ eerror "xine mplayer vlc gstreamer"
+ die "no engine"
+ fi
+}
src_unpack() {
bzr_src_unpack
cd "${S}"
+ intltoolize --force --copy --automake || die "intltoolize failed."
eautoreconf
}
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
- dodoc ${DOCS} || die
- doman me-tv.1
-}
-
-