[MPlayer-DOCS] CVS: main/DOCS/xml/en ports.xml,1.53,1.54

Diego Biurrun CVS syncmail at mplayerhq.hu
Sun Nov 14 15:24:21 CET 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/DOCS/xml/en
In directory mail:/var2/tmp/cvs-serv20567/xml/en

Modified Files:
	ports.xml 
Log Message:
More detailed Debian package building instructions, based on a patch by
Guillaume Poirier <guillaume dot poirier at ifsic dot univ-rennes1 dot fr>


Index: ports.xml
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/en/ports.xml,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ports.xml	7 Nov 2004 18:28:51 -0000	1.53
+++ ports.xml	14 Nov 2004 14:24:18 -0000	1.54
@@ -18,8 +18,26 @@
 <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>
 




More information about the MPlayer-DOCS mailing list