Difference between revisions of "MPlayerplug-in"

From CBLFS
Jump to navigationJump to search
(Added note about l33t CBLFS build method.)
Line 14: Line 14:
 
* [[MPlayer]]
 
* [[MPlayer]]
 
* [[Firefox]]
 
* [[Firefox]]
 +
* [[libIDL]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 19: Line 20:
 
Compile the package:
 
Compile the package:
  
   ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox --enable-gtk2 &&
+
   ./configure --prefix=/usr --enable-gtk2 &&
 
   make
 
   make
  
Line 29: Line 30:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
{{Note|Do not use the <nowiki>--enable-force32</nowiki> switch to build the 32<nowiki>-</nowiki>bit plugin.  This causes the configure script to use a hard-coded PKG_CONFIG_PATH.  The CBLFS build method ensures that the Firefox components are found if installed in other than the /usr hierarchy.}}
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc -m32" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox \
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr \
      --enable-gtk2 --libdir=/usr/lib --enable-force32 &&
+
--enable-gtk2 --libdir=/usr/lib &&
 
  make
 
  make
  
Line 45: Line 48:
  
 
=== 64Bit ===
 
=== 64Bit ===
 
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc -m64" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr --with-mozilla-home=/path_to_firefox \
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr \
      --enable-gtk2 --libdir=/usr/lib64 &&
+
--enable-gtk2 --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 18:16, 8 August 2008

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 --enable-gtk2 &&
 make

Install the package

make install

Multilib

32Bit

Caution.png

Note

Do not use the --enable-force32 switch to build the 32-bit plugin. This causes the configure script to use a hard-coded PKG_CONFIG_PATH. The CBLFS build method ensures that the Firefox components are found if installed in other than the /usr hierarchy.

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr \
--enable-gtk2 --libdir=/usr/lib &&
make

Install the package

make install

N32

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr \
--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