summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-22 19:40:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-22 19:40:32 +0000
commit0506ca1f3b040d278aedbfdd4a966e3be0dcecef (patch)
treee2cc55f3a78e89aaaa52cd5979cf12251bd8e76d /www-plugins/gecko-mediaplayer
parentMarking netspeed_applet-0.16 ppc for bug 353436 (diff)
downloadgentoo-2-0506ca1f3b040d278aedbfdd4a966e3be0dcecef.tar.gz
gentoo-2-0506ca1f3b040d278aedbfdd4a966e3be0dcecef.tar.bz2
gentoo-2-0506ca1f3b040d278aedbfdd4a966e3be0dcecef.zip
Fix compability with net-libs/xulrunner >= 2.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'www-plugins/gecko-mediaplayer')
-rw-r--r--www-plugins/gecko-mediaplayer/ChangeLog6
-rw-r--r--www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild11
2 files changed, 15 insertions, 2 deletions
diff --git a/www-plugins/gecko-mediaplayer/ChangeLog b/www-plugins/gecko-mediaplayer/ChangeLog
index 704db424ef8f..b0fcc9175425 100644
--- a/www-plugins/gecko-mediaplayer/ChangeLog
+++ b/www-plugins/gecko-mediaplayer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-plugins/gecko-mediaplayer
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/ChangeLog,v 1.43 2011/01/30 18:46:33 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/ChangeLog,v 1.44 2011/03/22 19:40:32 ssuominen Exp $
+
+ 22 Mar 2011; Samuli Suominen <ssuominen@gentoo.org>
+ gecko-mediaplayer-1.0.0.ebuild:
+ Fix compability with net-libs/xulrunner >= 2.
30 Jan 2011; Raúl Porcel <armin76@gentoo.org>
gecko-mediaplayer-1.0.0.ebuild:
diff --git a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild
index e9ad30e8d0c2..5d26ddde488a 100644
--- a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild
+++ b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild,v 1.6 2011/03/03 19:33:45 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild,v 1.7 2011/03/22 19:40:32 ssuominen Exp $
EAPI=2
GCONF_DEBUG=no
@@ -35,6 +35,15 @@ pkg_setup() {
DOCS="ChangeLog DOCS/tech/javascript.txt"
}
+src_prepare() {
+ if has_version ">=net-libs/xulrunner-2"; then
+ sed -i -e '/PKG_CONFIG/s:libxul >= 2.0:libxul >= 2:' configure || die
+ sed -i -e '/NPP_Initialize/d' src/np_entry.cpp || die
+ fi
+
+ gnome2_src_prepare
+}
+
src_install() {
gnome2_src_install
rm -rf "${D}"/usr/share/doc/${PN}