[Lunar-commits] <moonbase> mplayerplug-in: fix the compile.
Florin Braescu
florin at lunar-linux.org
Tue Feb 23 13:25:12 CET 2010
commit da3592af67292031ac9418a42dba5c2767dc85e9
Author: Florin Braescu <florin at lunar-linux.org>
Date: Tue Feb 23 14:25:12 2010 +0200
mplayerplug-in: fix the compile.
---
video/mplayerplug-in/BUILD | 21 ++++++++++-----------
video/mplayerplug-in/DEPENDS | 4 ++++
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/video/mplayerplug-in/BUILD b/video/mplayerplug-in/BUILD
index bf80db9..04fb087 100644
--- a/video/mplayerplug-in/BUILD
+++ b/video/mplayerplug-in/BUILD
@@ -1,17 +1,16 @@
(
# Find the oldest gecko on a machine and use it as base
-if module_installed seamonkey ; then
-GECKO_HOME=/usr/lib/seamonkey-$(module_version seamonkey)
-elif module_installed firefox2 ; then
-GECKO_HOME=/usr/lib/firefox-$(module_version firefox2)
-elif module_installed firefox ; then
-GECKO_HOME=/usr/lib/firefox-$(module_version firefox)/stable
-fi &&
+ if module_installed seamonkey ; then
+ GECKO_HOME=/usr/lib/seamonkey-$(module_version seamonkey)
+ elif module_installed firefox ; then
+ GECKO_HOME=/usr/lib/firefox-devel/$(module_version firefox)/sdk
+ fi &&
+ message "Using $GECKO_HOME"
- OPTS="$OPTS \
- --enable-gmp \
- --with-mozilla-home=$GECKO_HOME" &&
- default_build
+ OPTS="$OPTS \
+ --enable-gmp \
+ --with-gecko-sdk=$GECKO_HOME" &&
+ default_build
) > $C_FIFO 2>&1
diff --git a/video/mplayerplug-in/DEPENDS b/video/mplayerplug-in/DEPENDS
index a507e3b..9a4d9c7 100644
--- a/video/mplayerplug-in/DEPENDS
+++ b/video/mplayerplug-in/DEPENDS
@@ -1 +1,5 @@
depends MPlayer
+depends xulrunner
+
+optional_depends "seamonkey" "" "" "for seamonkey support"
+optional_depends "firefox" "" "" "for firefox support"
\ No newline at end of file
More information about the Lunar-commits
mailing list