diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-06-11 10:11:34 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-06-11 10:11:34 +0000 |
commit | 464e09f4c6ce2efeb7da63d5c0cafecf7d49487f (patch) | |
tree | 935cef1b5fa538005c226b8babc7b75fbca03cec /media-video/kmplayer/kmplayer-0.9.2a.ebuild | |
parent | stable amd64 (diff) | |
download | gentoo-2-464e09f4c6ce2efeb7da63d5c0cafecf7d49487f.tar.gz gentoo-2-464e09f4c6ce2efeb7da63d5c0cafecf7d49487f.tar.bz2 gentoo-2-464e09f4c6ce2efeb7da63d5c0cafecf7d49487f.zip |
Version bump.
(Portage version: 2.1)
Diffstat (limited to 'media-video/kmplayer/kmplayer-0.9.2a.ebuild')
-rw-r--r-- | media-video/kmplayer/kmplayer-0.9.2a.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-video/kmplayer/kmplayer-0.9.2a.ebuild b/media-video/kmplayer/kmplayer-0.9.2a.ebuild new file mode 100644 index 000000000000..25365da431da --- /dev/null +++ b/media-video/kmplayer/kmplayer-0.9.2a.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.2a.ebuild,v 1.1 2006/06/11 10:11:34 carlo Exp $ + +inherit kde + +MY_P="${P/_/-}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="KMPlayer is a Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE." +HOMEPAGE="http://kmplayer.kde.org/" +SRC_URI="http://kmplayer.kde.org/pkgs/${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gstreamer mplayer xine" + +DEPEND="xine? ( >=media-libs/xine-lib-1.1.1 ) + gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )" + +RDEPEND="mplayer? ( >=media-video/mplayer-1.0 ) + xine? ( >=media-libs/xine-lib-1.1.1 ) + gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )" + +need-kde 3 + +pkg_setup() { + if ! use mplayer && ! use xine ; then + echo + ewarn "Neither mplayer nor xine use flag is set. Either one is needed." + ewarn "You can install mplayer later, though.\n" + fi +} + +src_compile(){ + local myconf="$(use_with gstreamer) $(use_with xine)" + kde_src_compile +} |