Difference between revisions of "MPlayerplug-in"

From CBLFS
Jump to navigationJump to search
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.45.tar.gz?modtime=1186388605&big_mirror=0
+
| http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-{{mplayerplugin-Version}}.tar.gz
 
|-
 
|-
 
|}
 
|}
Line 12: Line 12:
 
== Dependencies ==
 
== Dependencies ==
  
MPlayer
+
* [[MPlayer]]
Firefox
+
* [[Firefox]]
Gecko-SDK
 
 
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 21: Line 19:
 
Compile the package:
 
Compile the package:
  
   ./configure --prefix=/usr --with-gecko-sdk=${GECKO_SDK_PATH} --enable-gtk2 &&
+
   ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox --enable-gtk2 &&
 
   make
 
   make
  
Line 27: Line 25:
  
 
  make install
 
  make install
 
The VERSION is you firefox's version .If you want to check out Firefox's PATH , You can run command with " whereis firefox ".
 
 
export VERSION="2.0.0.7"
 
export FIREFOX_PREFIX=/opt/firefox-${VERSION}
 
 
cp -v mplayerplug-in*.so ${FIREFOX_PREFIX}/lib/firefox-${VERSION}/plugins/ &&
 
cp -v mplayerplug-in*.xpt ${FIREFOX_PREFIX}/lib/firefox-${VERSION}/components/
 
  
 
== Multilib ==
 
== Multilib ==
Line 42: Line 32:
 
Compile the package:
 
Compile the package:
  
  CC="gcc -m32" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr --with-gecko-sdk=${GECKO_SDK_PATH} --enable-gtk2 --libdir=/usr/lib --enable-force32 &&
+
  CC="gcc -m32" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox \
 +
      --enable-gtk2 --libdir=/usr/lib --enable-force32 &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make install &&
+
  make install
cp mplayerplug-in*.so ${FIREFOX_PREFIX}/lib/firefox-2.0.0.4/plugins/ &&
 
cp mplayerplug-in*.xpt ${FIREFOX_PREFIX}/lib/firefox-2.0.0.4/components/
 
  
 
=== N32 ===
 
=== N32 ===
Line 60: Line 49:
 
Compile the package:
 
Compile the package:
  
  CC="gcc -m64" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr --with-gecko-sdk=${GECKO_SDK_PATH} --enable-gtk2 --libdir=/usr/lib64 &&
+
  CC="gcc -m64" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox \
 +
      --enable-gtk2 --libdir=/usr/lib64 &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make install &&
+
  make install
cp mplayerplug-in*.so ${FIREFOX_PREFIX}/lib64/firefox-2.0.0.4/plugins/ &&
 
cp mplayerplug-in*.xpt ${FIREFOX_PREFIX}/lib64/firefox-2.0.0.4/components/
 
 
 
  
 
= Contents =
 
= Contents =
Line 74: Line 61:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
! Installed Libraries:
 
! Installed Libraries:
| ${FIREFOX_PREFIX}/lib64/firefox-2.0.0.4/plugins/mplayerplug-in*.so
+
| /path_to_firefox/plugins/mplayerplug-in*.so
| ${FIREFOX_PREFIX}/lib64/firefox-2.0.0.4/components/mplayerplug-in*.xpt
+
| /path_to_firefox/components/mplayerplug-in*.xpt
 
|}
 
|}
  

Revision as of 08:45, 25 December 2007

Download Source: http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.55.tar.gz

Introduction to MPlayerplug-in

MPlayerplug-in is a Firefox plug in for viewing various media formats using MPlayer

Project Homepage: http://mplayerplug-in.sourceforge.net/

Dependencies

Non-Multilib

Compile the package:

 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox --enable-gtk2 &&
 make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc -m32" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox \
      --enable-gtk2 --libdir=/usr/lib --enable-force32 &&
make

Install the package

make install

N32

64Bit

Compile the package:

CC="gcc -m64" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox \
      --enable-gtk2 --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Libraries: /path_to_firefox/plugins/mplayerplug-in*.so /path_to_firefox/components/mplayerplug-in*.xpt

Short Descriptions