mirror of
https://github.com/mpv-player/mpv
synced 2025-04-03 20:35:31 +02:00
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:
parent
a1039fb1cd
commit
0df1b49f3d
5
debian/config
vendored
5
debian/config
vendored
@ -3,7 +3,8 @@
|
|||||||
# Script to configure mplayer
|
# Script to configure mplayer
|
||||||
# based on etherconf by John Goerzen <jgoerzen@progenylinux.com>
|
# 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);
|
my $version = version(2.0);
|
||||||
title('MPlayer Configuration');
|
title('MPlayer Configuration');
|
||||||
@ -48,7 +49,7 @@ sub letsgo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub configure {
|
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
|
# db_subst mplayer/output vo xc,xmga,mga,x11,gl,sdl
|
||||||
exit(0) if (input($PRIORITY, "mplayer/voutput") eq "question skipped");
|
exit(0) if (input($PRIORITY, "mplayer/voutput") eq "question skipped");
|
||||||
go();
|
go();
|
||||||
|
2
debian/dirs
vendored
2
debian/dirs
vendored
@ -1,4 +1,4 @@
|
|||||||
usr/bin
|
usr/bin
|
||||||
usr/sbin
|
|
||||||
usr/share/man/man1
|
usr/share/man/man1
|
||||||
usr/share/mplayer
|
usr/share/mplayer
|
||||||
|
usr/lib/mplayer
|
||||||
|
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
require ConfHelper;
|
require ConfHelper;
|
||||||
|
|
||||||
use Debian::DebConf::Client::ConfModule qw(:all);
|
use Debconf::Client::ConfModule qw(:all);
|
||||||
use IO::Handle;
|
use IO::Handle;
|
||||||
use Fcntl;
|
use Fcntl;
|
||||||
my $version = version(1.0);
|
my $version = version(1.0);
|
||||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -6,7 +6,8 @@
|
|||||||
export DH_COMPAT=3
|
export DH_COMPAT=3
|
||||||
|
|
||||||
package := mplayer
|
package := mplayer
|
||||||
prefix := debian/$(package)
|
prefix := $(shell pwd)/debian/$(package)
|
||||||
|
|
||||||
arch := $(shell dpkg --print-architecture)
|
arch := $(shell dpkg --print-architecture)
|
||||||
|
|
||||||
ifeq ($(arch),powerpc)
|
ifeq ($(arch),powerpc)
|
||||||
@ -53,8 +54,10 @@ binary-arch: build
|
|||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
# commands to install the package into debian/<packagename>
|
# commands to install the package into debian/<packagename>
|
||||||
$(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer install
|
$(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
|
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_installdebconf
|
||||||
dh_installdocs DOCS/*
|
dh_installdocs DOCS/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user