It possible to have kmplayer as a plugin for koffice (presenter). This enhancement to the kmplayer-0.8.2.ebuild checks if koffice is in the use variable and if it is, it tries to enable the koffice-plugin. The new ebuild is included below( '\' means that the next line belongs to the previous line): --- # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.8. 2.ebuild,v 1.1 2004/02/05 14:02:48 caleb Exp $ inherit kde need-kde 3.1 DESCRIPTION="MPlayer frontend for KDE" HOMEPAGE="http://www.xs4all.nl/~jjvrieze/kmplayer.html" SRC_URI="http://www.xs4all.nl/~jjvrieze/${P}.tar.bz2" LICENSE="GPL-2" IUSE="" KEYWORDS="~x86 ~ppc" S=${WORKDIR}/${PN} DEPEND=">=kde-base/kdelibs-3.1 >=media-video/mplayer-0.90 >=media-libs/xine-lib-1_beta12" src_compile() { use koffice && myconf="${myconf} --enable-koffice-plugin" ||\ myconf="${myconf} --disable-koffice-plugin" econf ${myconf} || die emake CFLAGS="${CFLAGS}" || die } src_install() { einstall || die dodoc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS READM E TODO } Reproducible: Always Steps to Reproduce: 1. 2. 3.
Added support in the ebuild (didn't use a use flag, just added the option...it will get picked up automatically if you have koffice installed, or ignored if you don't)