Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40518 - Enable koffice-plugin support in kmplayer
Summary: Enable koffice-plugin support in kmplayer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 12:37 UTC by Øystein Olsen
Modified: 2004-02-09 08:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Øystein Olsen 2004-02-05 12:37:09 UTC
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.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-09 08:17:18 UTC
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)