Difference between revisions of "MPlayerplug-in"

From CBLFS
Jump to navigationJump to search
 
(2 intermediate revisions by 2 users not shown)
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
+
* [[libIDL]]
 
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 21: Line 20:
 
Compile the package:
 
Compile the package:
  
   ./configure --prefix=/usr --with-gecko-sdk=${GECKO_SDK_PATH} --enable-gtk2 &&
+
   ./configure --prefix=/usr --enable-gtk2 &&
 
   make
 
   make
  
Line 27: Line 26:
  
 
  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 ==
  
 
=== 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-gecko-sdk=${GECKO_SDK_PATH} --enable-gtk2 --libdir=/usr/lib --enable-force32 &&
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 ./configure --prefix=/usr \
 +
--enable-gtk2 --libdir=/usr/lib &&
 
  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 56: Line 48:
  
 
=== 64Bit ===
 
=== 64Bit ===
 
  
 
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 ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 ./configure --prefix=/usr \
 +
--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 63:
 
{| 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
 
|}
 
|}
  
Line 82: Line 71:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|}
 
|}
 +
 +
[[Category:Media Utilities]]

Latest revision as of 15:18, 19 March 2009

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