diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-14 14:24:18 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-11-14 14:24:18 +0000 |
commit | a0a7e284efd290db2ccf0f43cd857bfb230639c1 (patch) | |
tree | b61081ae1c181030ab9c53c2d0c3580c3cb0d458 /DOCS/xml/en/ports.xml | |
parent | 6003582d970f6a2cf6b43fedf15fd45493a7160e (diff) | |
download | mpv-a0a7e284efd290db2ccf0f43cd857bfb230639c1.tar.bz2 mpv-a0a7e284efd290db2ccf0f43cd857bfb230639c1.tar.xz |
More detailed Debian package building instructions, based on a patch by
Guillaume Poirier <guillaume dot poirier at ifsic dot univ-rennes1 dot fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13940 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/en/ports.xml')
-rw-r--r-- | DOCS/xml/en/ports.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/DOCS/xml/en/ports.xml b/DOCS/xml/en/ports.xml index 0fbbd4c536..acdd9057cc 100644 --- a/DOCS/xml/en/ports.xml +++ b/DOCS/xml/en/ports.xml @@ -18,8 +18,26 @@ Report problems to the authors, not to us. <para> To build a Debian package, run the following command in the <application>MPlayer</application> source directory: + <screen>fakeroot debian/rules binary</screen> + +If you want to pass custom options to configure, you can set up the +<envar>DEB_BUILD_OPTIONS</envar> environment variable. For instance, +if you want GUI and OSD menu support you would use: + +<screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen> + +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: + +<screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen> + +To clean up the source tree run the following command: + +<screen>fakeroot debian/rules clean</screen> + As root you can then install the <filename>.deb</filename> package as usual: + <screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen> </para> |