View previous topic :: View next topic |
Author |
Message |
Vim_Fuego n00b
Joined: 25 Jun 2004 Posts: 23 Location: Rotterdam, The Netherlands
|
Posted: Sun Aug 21, 2005 11:11 am Post subject: emerging mplayerplug-in-3.05 |
|
|
I noticed that there is a new version of the mplayerplug-in (3.05) avaliable for quite some time. After retrofitting the 2.85-ebuild to build the 3.05 version, this off course did not work. After a minor change, it did work. For those interested, this is the ebuild I used (with a minor alteration, from 2.85):
Code: | # Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-2.85.ebuild,v 1.3 2005/07/11 22:03:14 josejx Exp $
inherit nsplugins toolchain-funcs multilib
DESCRIPTION="mplayer plug-in for Mozilla"
HOMEPAGE="http://mplayerplug-in.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 -hppa ~ia64 ppc ~sparc ~x86"
IUSE="gtk2"
DEPEND="
>=media-video/mplayer-1.0_pre5
net-libs/gecko-sdk
gtk2? (
>=x11-libs/gtk+-2.2.0
dev-libs/atk
>=dev-libs/glib-2.2.0
>=x11-libs/pango-1.2.1 )
!gtk2? (
=x11-libs/gtk+-1.2*
=dev-libs/glib-1.2* )"
S=${WORKDIR}/${PN}
src_compile() {
local myconf
myconf="${myconf} --with-gecko-sdk=/usr/share/gecko-sdk"
if use gtk2; then
einfo Configuring to build using gtk2
myconf="${myconf} --enable-gtk2"
else
einfo Configuring to build using gtk1
myconf="${myconf} --disable-gtk2 --enable-gtk1"
fi
econf ${myconf} || die
emake || die
}
src_install() {
exeinto /opt/netscape/plugins
doexe mplayerplug-in.so || die "plugin failed"
inst_plugin /opt/netscape/plugins/mplayerplug-in.so
# Install .xpt, bug #83162
insinto /opt/netscape/plugins
doins mplayerplug-in.xpt
inst_plugin /opt/netscape/plugins/mplayerplug-in.xpt
insinto /etc
doins mplayerplug-in.conf
dodoc ChangeLog INSTALL README TODO DOCS/tech/*.txt
} |
The alteration is on line 32.
Code: | myconf="${myconf} --with-gecko-sdk=/usr/$(get_libdir)/gecko-sdk" |
And I changed it to
Code: | myconf="${myconf} --with-gecko-sdk=/usr/share/gecko-sdk" |
Have phun with it...
And don't ask why this does work... I'm oblivious! |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Aug 21, 2005 12:48 pm Post subject: |
|
|
Moved from Multimedia to Unsupported Software.
Not in portage, so for now unsupported.
Did you check bugzilla first?
See here for the explanation: https://bugs.gentoo.org/show_bug.cgi?id=100809 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|