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
commitfbfb52dc6ebbc8d037259fee902597f670aaa427 (patch)
treea1ddfaddd0f4f9961beb9f6db47cc20db87449a3 /www-plugins/gecko-mediaplayer
parentMarking netspeed_applet-0.16 ppc for bug 353436 (diff)
downloadhistorical-fbfb52dc6ebbc8d037259fee902597f670aaa427.tar.gz
historical-fbfb52dc6ebbc8d037259fee902597f670aaa427.tar.bz2
historical-fbfb52dc6ebbc8d037259fee902597f670aaa427.zip
Fix compability with net-libs/xulrunner >= 2.
Package-Manager: portage-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/Manifest4
-rw-r--r--www-plugins/gecko-mediaplayer/gecko-mediaplayer-1.0.0.ebuild11
3 files changed, 17 insertions, 4 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/Manifest b/www-plugins/gecko-mediaplayer/Manifest
index 301df9a20f3a..3170f05a9ae0 100644
--- a/www-plugins/gecko-mediaplayer/Manifest
+++ b/www-plugins/gecko-mediaplayer/Manifest
@@ -1,6 +1,6 @@
DIST gecko-mediaplayer-0.9.9.2.tar.gz 262053 RMD160 24326ba75d4c733be275fe5a64a59fed068c960e SHA1 fb9620bbb9e4df27a7e588dcf3d0b6e55188c262 SHA256 378b6c149e41efd5f0e47c8a711d7b3e108409cb72c6f9504ac4a8791de83cd6
DIST gecko-mediaplayer-1.0.0.tar.gz 263320 RMD160 218134c088669ae15ab12b7f008d988af3eba308 SHA1 702fbb47b45b92fcffbcd324983e96a8027bc075 SHA256 d0e5d6516c943de2257661d4718c91aa878e243d3fa891a121e99c887929499e
EBUILD gecko-mediaplayer-0.9.9.2.ebuild 1096 RMD160 15e66bb597c8e4e990886b2755d5c310f1cbe54f SHA1 923085c144af844625fd41047d22bad61df1f7b3 SHA256 c0570ef1f6b4201167c3679551e85a1dfe07b74c5b34968dc58fc461e96d9439
-EBUILD gecko-mediaplayer-1.0.0.ebuild 1140 RMD160 e7c683ccaf69d7d959b6dc9fab268a648b63670c SHA1 b80a0e8d8fd99c992383dfda1973c52d8e851aac SHA256 6890df9fff526e1abebd4d703a2699c971033f551a615ced140d4a39f47fbee6
-MISC ChangeLog 8326 RMD160 148a25c9125b35fc89bb950b02b1010da9a25ff3 SHA1 a8e6876944612beb9591200cdc9db599c72ac059 SHA256 54cd3de8f74e23f7bf271bf3d27d0a88a5d1893353334431a3167eafbbd3e69d
+EBUILD gecko-mediaplayer-1.0.0.ebuild 1360 RMD160 28591438b213e2a50129b244f3dd0cb20a3f2a82 SHA1 652110fd66abe94e86f7afdbfbba453c6eff73c9 SHA256 682098267160ec79a16684b127440c55b867f20dc2d77b03787876c9d0dd856e
+MISC ChangeLog 8465 RMD160 3760720ac7c0b30778dc0495d70712afb27ab147 SHA1 32914c1f426fe174c08cf30a7e0071bdee683936 SHA256 f9d242dee9798bfbc1a690b22913768b0968afe384d9025296578ab43d954976
MISC metadata.xml 228 RMD160 3071d739d8e15041d594882afdfc434453568466 SHA1 06e3ee83b7a5a910d2d63ea77afb2e5a292606f6 SHA256 060670a1a67923937e4bf55598ae59368d5e716b0b618dedaf12b15f45e8e234
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}