Doc / linux


Doc / linux
2011-11-05 (土) 05:04:40更新
カテゴリ:未訳
原文:http://www.mplayerhq.hu/DOCS/HTML/en/linux.html

12.1. Linux †

開発者の多くはx86 Linuxを使っていますが、それ以外の多くのLinux portsでもMPLayerは動きます。 MPlayerのバイナリ・パッケージを配布しているところがいくつかあります。しかしながら、公式プロジェクトではそうしたパッケージのサポートはしていません。問題があった場合はそのパッケージの配布元に言って下さい。

12.1.1. Debian packaging †

To build a Debian package, run the following command in the MPlayer source directory:

fakeroot debian/rules binary

If you want to pass custom options to configure, you can set up the DEB_BUILD_OPTIONS environment variable. For instance, if you want GUI and OSD menu support you would use:

DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary

You can also pass some variables to the Makefile. For example, if you want to compile with gcc 3.4 even if it's not the default compiler:

CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary

To clean up the source tree run the following command:

fakeroot debian/rules clean

As root you can then install the .deb package as usual:

dpkg -i ../mplayer_version.deb

Christian Marillat has been making unofficial Debian packages of MPlayer, MEncoder and our bitmap fonts for a while, you can (apt-)get them from his homepage.

12.1.2. RPM packaging †

Dominik Mierzejewski created and maintains the official RPM packages of MPlayer for Red Hat and Fedora Core. They are available from his repository.

Mandrake/Mandriva RPM packages are available from the P.L.F.. SuSE used to include a crippled version of MPlayer in their distribution. They have removed it in their latest releases. You can get working RPMs from links2linux.de.

12.1.3. ARM †

MPlayer は ARM CPU を持った Linux PDAでも動作します。例えば Sharp Zaurus, Compaq Ipaq. もっとも簡単な MPlayer の入手方法は、OpenZaurus パッケージ・フィードです。自前でコンパイルしたければ、 OpenZaurus distribution buildroot の中の mplayerや、 libavcodec といったディレクトリを見てみましょう。 ここには常に、libavcodec と共に CVS MPlayer をビルドするための最新のmakefileとパッチがあります。GUIフロントエンドが必要なら、 xmms-embeddedを使いましょう。