[Lunar-commits] <moonbase> mplayerplug-in: updated to 3.55

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Jul 13 15:31:35 CEST 2008


commit bf100cfcdf14050c3aa02d2179ab1ba2c8fd4fb5
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Jul 13 15:31:35 2008 +0200

    mplayerplug-in: updated to 3.55
---
 video/mplayerplug-in/BUILD     |   19 ++++++++++++-------
 video/mplayerplug-in/DETAILS   |   16 +++++-----------
 video/mplayerplug-in/PRE_BUILD |    5 -----
 3 files changed, 17 insertions(+), 23 deletions(-)

diff --git a/video/mplayerplug-in/BUILD b/video/mplayerplug-in/BUILD
index d5533a0..efbbdd4 100644
--- a/video/mplayerplug-in/BUILD
+++ b/video/mplayerplug-in/BUILD
@@ -1,12 +1,17 @@
-(    
+(
 
-    OPTS="$OPTS --with-gecko-sdk=$SOURCE_DIRECTORY/gecko-sdk \
-          --with-mozilla-home=/opt/lunar \
-          --enable-gmp --with-x" &&
-
-    # mozilla home is only needed to copy plugins
-    mkdir -p /opt/lunar/plugins &&
+# 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)
+fi &&
 
+    OPTS="$OPTS \
+          --enable-gmp \
+          --with-mozilla-home=$GECKO_HOME" &&
     default_build
 
 ) > $C_FIFO 2>&1
diff --git a/video/mplayerplug-in/DETAILS b/video/mplayerplug-in/DETAILS
index a39753a..316473a 100644
--- a/video/mplayerplug-in/DETAILS
+++ b/video/mplayerplug-in/DETAILS
@@ -1,22 +1,16 @@
           MODULE=mplayerplug-in
-         VERSION=3.50
+         VERSION=3.55
           SOURCE=$MODULE-$VERSION.tar.gz
-         SOURCE2=gecko-sdk-i686-pc-linux-gnu-1.8.0.4.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
       SOURCE_URL=$SFORGE_URL/$MODULE/
-  SOURCE2_URL[0]=ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.4/sdk/
-  SOURCE2_URL[1]=ftp://sunsite.icm.edu.pl/pub/mozilla/xulrunner/releases/1.8.0.4/sdk/
-      SOURCE_VFY=sha1:54e5d7a3b33f503830183545f7bc278d37cb89d5
-     SOURCE2_VFY=sha1:11d3278e304c4548a565124849f2b03d500c423f
+      SOURCE_VFY=sha1:69726d4e16523b1a39c284efee081c31b0ea7f7f
         WEB_SITE=http://mplayerplug-in.sourceforge.net
          ENTERED=20040915
-         UPDATED=20071203
-           SHORT="MPlayer based, embedded video player for Mozilla/Firefox"
-
+         UPDATED=20080713
+           SHORT="MPlayer based, embedded video player for Seamonkey/Firefox"
 cat << EOF
 mplayerplug-in is a browser plugin that uses mplayer to play
 digital media from websites.
-This plug-in gives Mozilla the ability to play media from a
+This plug-in gives Firefox/Seamonkey the ability to play media from a
 website the net without reading the source html and getting
 the url manually. Media is played embedded in the page or in
 a separate window depending on how the author of the webpage
diff --git a/video/mplayerplug-in/PRE_BUILD b/video/mplayerplug-in/PRE_BUILD
deleted file mode 100644
index 71add62..0000000
--- a/video/mplayerplug-in/PRE_BUILD
+++ /dev/null
@@ -1,5 +0,0 @@
-# We need to unpack the geck-sdk first
-
-default_pre_build &&
-cd $SOURCE_DIRECTORY &&
-unpack $SOURCE2


More information about the Lunar-commits mailing list