Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding

xvidix to array of system-selectable drivers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4522 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eyck 2002-02-03 20:27:20 +00:00
parent a1039fb1cd
commit 0df1b49f3d
4 changed files with 11 additions and 7 deletions

5
debian/config vendored
View File

@ -3,7 +3,8 @@
# Script to configure mplayer
# based on etherconf by John Goerzen <jgoerzen@progenylinux.com>
use Debian::DebConf::Client::ConfModule qw(:all);
use Debconf::Client::ConfModule qw(:all);
my $version = version(2.0);
title('MPlayer Configuration');
@ -48,7 +49,7 @@ sub letsgo {
}
sub configure {
subst("mplayer/voutput", "vochoices", "xv, xmga, mga, x11, gl, sdl");
subst("mplayer/voutput", "vochoices", "xv, xmga, mga, x11, gl, sdl, xvidix");
# db_subst mplayer/output vo xc,xmga,mga,x11,gl,sdl
exit(0) if (input($PRIORITY, "mplayer/voutput") eq "question skipped");
go();

2
debian/dirs vendored
View File

@ -1,4 +1,4 @@
usr/bin
usr/sbin
usr/share/man/man1
usr/share/mplayer
usr/lib/mplayer

2
debian/postinst vendored
View File

@ -4,7 +4,7 @@
require ConfHelper;
use Debian::DebConf::Client::ConfModule qw(:all);
use Debconf::Client::ConfModule qw(:all);
use IO::Handle;
use Fcntl;
my $version = version(1.0);

9
debian/rules vendored
View File

@ -6,7 +6,8 @@
export DH_COMPAT=3
package := mplayer
prefix := debian/$(package)
prefix := $(shell pwd)/debian/$(package)
arch := $(shell dpkg --print-architecture)
ifeq ($(arch),powerpc)
@ -53,8 +54,10 @@ binary-arch: build
dh_installdirs
# commands to install the package into debian/<packagename>
$(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer install
dh_link usr/bin/mplayer usr/bin/gmplayer
$(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install
dh_link usr/bin/mplayer usr/bin/gmplayer \
usr/share/man/man1/mplayer.1.gz usr/share/man/man1/gmplayer.1.gz
dh_installdebconf
dh_installdocs DOCS/*