mirror of https://github.com/mpv-player/mpv
This alternative Debian directory was never used, so I'm removing it with
the consent of Attila, who originally added it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12940 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c9d95b0d26
commit
b3179e503f
|
@ -1,6 +0,0 @@
|
|||
files
|
||||
mplayer
|
||||
mplayer.postinst.debhelper
|
||||
mplayer.postrm.debhelper
|
||||
mplayer.prerm.debhelper
|
||||
mplayer.substvars
|
|
@ -1,5 +0,0 @@
|
|||
This is the debian/ directory for building mplayer packages for binary
|
||||
binary distribution. It's based on the debian/ directory Dariush Pietrzak made.
|
||||
Replace the normal debian/ with this and run dpkg-buildpackage.
|
||||
|
||||
IMPORTANT: THIS IS NOT YET FINISHED AND DOESNT WORK AT THE MOMENT
|
|
@ -1,16 +0,0 @@
|
|||
mplayer for Debian
|
||||
----------------------
|
||||
|
||||
Most options are autodetected or configured during compilation thus
|
||||
users are supposed to build this package themselves.
|
||||
|
||||
Recommended method is running "fakeroot debian/rules binary" in the top
|
||||
directory
|
||||
|
||||
In case you would like to pass some parameters to ./configure, set variable
|
||||
DEB_BUILD_OPTIONS like that:
|
||||
|
||||
eyck@ghost$ DEB_BUILD_OPTIONS="--enable-streaming" fakeroot debian/rules binary
|
||||
|
||||
|
||||
Dariush Pietrzak <eyck@ghost.anime.pl> Sat Jan 5 20:28:23 CET 2002
|
|
@ -1,12 +0,0 @@
|
|||
- create packages of mp_font (TTF? BITMAP? AND HOW?), depend/recommend them.
|
||||
- create package for win32codecs (WHY?)
|
||||
- global configuration
|
||||
( /etc/mplayer/mplayer.conf
|
||||
/etc/mplayer/codecs.conf
|
||||
/usr/lib/mplayer/font )
|
||||
- OBSOLETED: fibmap_mplayer - figure out what to do with suid.
|
||||
- OBSOLETED: create package with odivx and make this one depend/recommend it
|
||||
- OBSOLETED: Add script for copying *.dlls from users windows directory,
|
||||
or figure out some other way of satisfying other dependencies
|
||||
like *.dlls and fonts.
|
||||
In other words - automate win32dll.zip installation.
|
|
@ -1,176 +0,0 @@
|
|||
mplayer (0.90rc2-0) unstable; urgency=low
|
||||
|
||||
* new release.
|
||||
|
||||
-- Gabucino <gabucino@mplayerhq.hu> Mon, 16 Dec 2002 22:03:55 +0100
|
||||
|
||||
mplayer (0.90rc1-0) unstable; urgency=low
|
||||
|
||||
* new release.
|
||||
* now compiled with --enable-runtime-cpudetection for safety reasons.
|
||||
Disable it for slightly better performance, but the package will run only
|
||||
on the CPU the build machine had.
|
||||
* updated package description
|
||||
|
||||
-- Gabucino <gabucino@mplayerhq.hu> Sun, 24 Nov 2002 17:01:12 +0100
|
||||
|
||||
mplayer (0.90pre9-0) unstable; urgency=low
|
||||
|
||||
* new release.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Mon, 21 Oct 2002 22:30:06 +0200
|
||||
|
||||
mplayer (0.90pre8-0) unstable; urgency=low
|
||||
|
||||
* new release, fix version, we are not at 0.90, we're still at preX
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Thu, 19 Sep 2002 09:50:43 +0200
|
||||
|
||||
mplayer (0.90-4) unstable; urgency=low
|
||||
|
||||
* Fix package building by adding BINDIR.
|
||||
|
||||
-- Diego Biurrun <diego@biurrun.de> Wed, 4 Sep 2002 00:49:03 +0200
|
||||
|
||||
mplayer (0.90-3) unstable; urgency=low
|
||||
|
||||
* Remove configuration files on purge.
|
||||
|
||||
-- Diego Biurrun <diego@biurrun.de> Sun, 1 Sep 2002 11:03:13 +0200
|
||||
|
||||
mplayer (0.90-2) unstable; urgency=low
|
||||
|
||||
* Use the confdir we compile with in the helper scripts
|
||||
(/etc/mplayer/mplayer.conf instead of /etc/mplayer).
|
||||
|
||||
-- Diego Biurrun <diego@biurrun.de> Tue, 27 Aug 2002 11:18:50 +0200
|
||||
|
||||
mplayer (0.90-1) unstable; urgency=low
|
||||
|
||||
* 0.90 release including latest alsa9 fixes
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Wed, 3 Jul 2002 23:32:49 +0200
|
||||
|
||||
mplayer (0.90pre5-1) unstable; urgency=low
|
||||
|
||||
* rc1 to become 0.90
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Fri, 7 Jun 2002 15:31:20 +0200
|
||||
|
||||
mplayer (0.90pre4-1) unstable; urgency=low
|
||||
|
||||
* new pre-release
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Mon, 13 May 2002 08:06:34 +0200
|
||||
|
||||
mplayer (0.90pre3-1) unstable; urgency=low
|
||||
|
||||
* new pre-release
|
||||
* gtk bug fixed.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Tue, 30 Apr 2002 11:32:43 +0200
|
||||
|
||||
mplayer (0.90pre2-1) unstable; urgency=low
|
||||
|
||||
* new release.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Sun, 21 Apr 2002 12:49:35 +0200
|
||||
|
||||
mplayer (0.60-3) unstable; urgency=low
|
||||
|
||||
* install xvidix correctly
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Sun, 17 Mar 2002 16:38:54 +0100
|
||||
|
||||
mplayer (0.60-2) unstable; urgency=low
|
||||
|
||||
* This is meaningless, just to mark that more then 2 months have passed
|
||||
since last release and lots of thing in mplayer have changed.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Thu, 7 Mar 2002 00:34:20 +0100
|
||||
|
||||
mplayer (0.60-1) unstable; urgency=low
|
||||
|
||||
* Post 0.60 release.
|
||||
* Changed installation - make install now handles codecs.conf, manpages
|
||||
* and fontdir, so we now use make install for those.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Fri, 4 Jan 2002 11:28:54 +0100
|
||||
|
||||
mplayer (0.60pre2-1) unstable; urgency=low
|
||||
|
||||
* 0.60 pre2 release
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Fri, 28 Dec 2001 22:12:54 +0100
|
||||
|
||||
mplayer (0.60pre1-1) unstable; urgency=low
|
||||
|
||||
* 0.60 pre-release.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Tue, 25 Dec 2001 00:47:36 +0100
|
||||
|
||||
mplayer (0.50-3) unstable; urgency=low
|
||||
|
||||
* debian/rules: improve install routine; will include mencore if it is
|
||||
built
|
||||
* debian/control: remove invalid source recommends
|
||||
* debian/copyright: mention that binary distribution is not allowed
|
||||
* debian/rules: install /usr/share/mplayer/codecs.conf; this should
|
||||
probably be a config file
|
||||
* turn on fbdev option
|
||||
|
||||
-- Adam Di Carlo <aph@debian.org> Sat, 15 Dec 2001 03:33:44 -0500
|
||||
|
||||
mplayer (0.50-2) unstable; urgency=low
|
||||
|
||||
* gui added to package/menu
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Wed, 7 Nov 2001 11:31:46 +0100
|
||||
|
||||
mplayer (0.50-1) unstable; urgency=low
|
||||
|
||||
* 0.50 released.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.anime.pl> Fri, 12 Oct 2001 13:26:03 +0200
|
||||
|
||||
mplayer (0.18-4) unstable; urgency=low
|
||||
|
||||
* Changes to debian packaging suggested Josip Rodin
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.forumakad.pl> Wed, 22 Aug 2001 22:40:58 +0200
|
||||
|
||||
mplayer (0.18-3) unstable; urgency=low
|
||||
|
||||
* fixed templates.
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.tinet.pl> Sat, 28 Jul 2001 09:45:45 +0200
|
||||
|
||||
mplayer (0.18-2) unstable; urgency=low
|
||||
|
||||
* modified debian scripts
|
||||
|
||||
-- Dariush Pietrzak <eyck@ghost.tinet.pl> Fri, 27 Jul 2001 09:25:52 +0200
|
||||
|
||||
mplayer (0.18-1) unstable; urgency=low
|
||||
|
||||
* lots of changes in mplayer
|
||||
|
||||
-- Dariush Pietrzak <eyck@incubus.ar.lublin.pl> Mon, 25 Jun 2001 15:59:18 +0200
|
||||
|
||||
mplayer (0.17a-2) unstable; urgency=low
|
||||
|
||||
* mplayer.conf file, automatic menu files update
|
||||
|
||||
-- Dariush Pietrzak <eyck@incubus.ar.lublin.pl> Sun, 20 May 2001 22:50:41 +0200
|
||||
|
||||
mplayer (0.17a-1) unstable; urgency=low
|
||||
|
||||
* Version change, debian scripts update (rm), maintainer switch
|
||||
|
||||
-- Dariush Pietrzak <eyck@incubus.ar.lublin.pl> Thu, 17 May 2001 13:25:12 +0200
|
||||
|
||||
mplayer (0.11pre-1) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- * TeLeNiEkO * <telenieko@telenieko.com> Mon, 26 Feb 2001 12:24:04 +0100
|
|
@ -1,99 +0,0 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# Script to configure mplayer
|
||||
# based on etherconf by John Goerzen <jgoerzen@progenylinux.com>
|
||||
|
||||
use Debconf::Client::ConfModule qw(:all);
|
||||
|
||||
|
||||
my $version = version(2.0);
|
||||
title('MPlayer Configuration');
|
||||
my $PRIORITY = 'high';
|
||||
#TODO: 'medium'
|
||||
my $next = 'mainmenu';
|
||||
my $isediting = 0;
|
||||
|
||||
my @nextargs = ();
|
||||
|
||||
checkupgrade(); # Find out if we have to upgrade.
|
||||
mainloop(letsgo());
|
||||
|
||||
sub checkupgrade {
|
||||
open(MCFG, "</etc/mplayer/mplayer.conf") || return 1;
|
||||
my $line = <MCFG>;
|
||||
return 1 if ($line =~ /mplayer DEBCONF AREA/);
|
||||
exit(0) if (input($PRIORITY, 'mplayer/replace-existing-files') eq "question skipped");
|
||||
go();
|
||||
if (get('mplayer/replace-existing-files') eq 'false') {
|
||||
input($PRIORITY, 'mplayer/replace-existing-files-bail');
|
||||
go();
|
||||
exit();
|
||||
}
|
||||
close MCFG;
|
||||
}
|
||||
|
||||
sub mainloop {
|
||||
$next = shift @_;
|
||||
do {
|
||||
my @retval = &$next(@nextargs);
|
||||
# if ($retval[0] eq 'BACK') {
|
||||
# $retval[0] = $backups{$next};
|
||||
# }
|
||||
($next, @nextargs) = @retval;
|
||||
} while ($next ne 'Exit');
|
||||
}
|
||||
|
||||
sub letsgo {
|
||||
#useless!
|
||||
return "configure";
|
||||
}
|
||||
|
||||
sub configure {
|
||||
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();
|
||||
exit 0 unless (get("mplayer/voutput") eq 'true');
|
||||
#return 'audioout';
|
||||
return 'mainmenu';
|
||||
}
|
||||
|
||||
sub mainmenu {
|
||||
go(); # To catch spare things from before
|
||||
my @choices = (
|
||||
'Video Output: ' . scalar(get("mplayer/voutput")));
|
||||
#,
|
||||
$choices = join(', ', @choices);
|
||||
$isediting = 1;
|
||||
|
||||
subst('mplayer/mainmenu', 'choices', $choices);
|
||||
input($PRIORITY, 'mplayer/mainmenu');
|
||||
go();
|
||||
|
||||
my $selection = get('mplayer/mainmenu');
|
||||
if ($selection =~ /^Exit/) {
|
||||
return 'Exit';
|
||||
}
|
||||
|
||||
# Set to redisplay.
|
||||
fset('mplayer/mainmenu', 'isdefault', 'true');
|
||||
|
||||
$_ = $selection;
|
||||
|
||||
return 'configure' if /^Video/;
|
||||
# return 'aoutput' if /^Aoutput/;
|
||||
return 'Exit';
|
||||
}
|
||||
|
||||
sub editreturn {
|
||||
my @args = @_;
|
||||
return 'mainmenu' if $isediting;
|
||||
return @args;
|
||||
}
|
||||
|
||||
sub editfix {
|
||||
my $template = shift @_;
|
||||
if ($isediting) {
|
||||
fset($template, 'isdefault', 'true');
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
Source: mplayer
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Dariush Pietrzak <eyck@ghost.anime.pl>
|
||||
Standards-Version: 3.2.1
|
||||
Build-Depends: libglib-dev, libgtk-dev, xlibs-dev, libpng-dev, zlib1g-dev, debhelper (>= 2)
|
||||
|
||||
Package: mplayer
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},debconf,libconfhelper-perl
|
||||
Description: The Ultimate Movie Player
|
||||
MPlayer is a movie player for LINUX (runs on many other Unices, and non-x86
|
||||
CPUs, see the ports section). It plays most MPEG, VOB, AVI, OGG/OGM, VIVO,
|
||||
ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, yuv4mpeg, FILM, RoQ, PVA files,
|
||||
supported by many native, XAnim, RealPlayer, and Win32 DLL codecs. You can
|
||||
watch VideoCD, SVCD, DVD, 3ivx, RealMedia, and DivX movies too (and you don't
|
||||
need the avifile library at all!).
|
||||
.
|
||||
Another big feature of MPlayer is the wide range of supported output drivers.
|
||||
It works with X11, Xv, DGA, OpenGL, SVGAlib, fbdev, AAlib, DirectFB, but you
|
||||
can also use GGI and SDL (and this way all their drivers) and some lowlevel
|
||||
card-specific drivers (for Matrox, 3Dfx and Radeon, Mach64, Permedia3) too!
|
||||
Most of them supports software or hardware scaling, so you can enjoy movies in
|
||||
fullscreen.
|
||||
.
|
||||
MPlayer supports displaying through some hardware MPEG decoder boards, such as
|
||||
the DVB and DXR3/Hollywood+.
|
||||
.
|
||||
And what about the nice big antialiased shaded subtitles (10 supported types)
|
||||
with European/ISO 8859-1,2 (Hungarian, English, Czech, etc), Cyrillic, Korean
|
||||
fonts, and the onscreen display (OSD)?
|
|
@ -1,8 +0,0 @@
|
|||
This package was debianized by * TeLeNiEkO * telenieko@telenieko.com on
|
||||
Mon, 26 Feb 2001 12:24:04 +0100.
|
||||
|
||||
Original source can be found at: http://www.mplayerHQ.hu/homepage/
|
||||
|
||||
Copyrighted by various authors. Licensed under the terms of GNU GPL.
|
||||
See /usr/share/common-licenses/GPL for details.
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
usr/bin
|
||||
usr/share/man/man1
|
||||
usr/share/mplayer
|
||||
usr/lib/mplayer
|
|
@ -1 +0,0 @@
|
|||
mplayer_0.90rc2-0_i386.deb misc optional
|
|
@ -1 +0,0 @@
|
|||
?package(mplayer):command=/usr/bin/gmplayer section="Apps/Viewers" needs=X11 title=gmplayer
|
|
@ -1,10 +0,0 @@
|
|||
# Automatically added by dh_installdocs
|
||||
if [ "$1" = "configure" ]; then
|
||||
if [ -d /usr/doc -a ! -e /usr/doc/mplayer -a -d /usr/share/doc/mplayer ]; then
|
||||
ln -sf ../share/doc/mplayer /usr/doc/mplayer
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
# Automatically added by dh_installmenu
|
||||
if [ "$1" = "configure" -a -x /usr/bin/update-menus ]; then update-menus ; fi
|
||||
# End automatically added section
|
|
@ -1,9 +0,0 @@
|
|||
# Automatically added by dh_installdebconf
|
||||
if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
|
||||
. /usr/share/debconf/confmodule
|
||||
db_purge
|
||||
fi
|
||||
# End automatically added section
|
||||
# Automatically added by dh_installmenu
|
||||
if [ -x /usr/bin/update-menus ]; then update-menus ; fi
|
||||
# End automatically added section
|
|
@ -1,5 +0,0 @@
|
|||
# Automatically added by dh_installdocs
|
||||
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/mplayer ]; then
|
||||
rm -f /usr/doc/mplayer
|
||||
fi
|
||||
# End automatically added section
|
|
@ -1,3 +0,0 @@
|
|||
misc:Depends=debconf (>= 0.5)
|
||||
perl:Depends=perl
|
||||
shlibs:Depends=aalib1 (>= 1.2), libaudiofile0 (>= 0.2.3-4), libc6 (>= 2.2.5-13), libesd0 (>= 0.2.23-1) | libesd-alsa0 (>= 0.2.23-1), libggi2 (>= 1:2.0.1-2), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), libjpeg62, libmad0 (>= 0.14.2b), libncurses5 (>= 5.2.20020112a-1), libogg0 (>= 1.0.0), libpng2 (>=1.0.12), libsdl1.2debian (>> 1.2.3), libungif4g (>= 4.1.0b1), libvorbis0 (>= 1.0.0), svgalibg1, xlibmesa3 | libgl1, xlibs (>> 4.1.0), zlib1g (>= 1:1.1.4)
|
|
@ -1,87 +0,0 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# mplayer postinst
|
||||
|
||||
require ConfHelper;
|
||||
|
||||
use Debconf::Client::ConfModule qw(:all);
|
||||
use IO::Handle;
|
||||
use Fcntl;
|
||||
my $version = version(1.0);
|
||||
my @savedolddata = ();
|
||||
my $didupgrade = 0;
|
||||
|
||||
dealwithupgrades();
|
||||
|
||||
my $mcfg = new ConfHelper('mplayer', "/etc/mplayer/mplayer.conf");
|
||||
$mcfg->setconfarea("
|
||||
#MPlayer config file generated by .deb package.
|
||||
#ffactor = 0.9
|
||||
#fs = yes
|
||||
");
|
||||
|
||||
###########################################################################
|
||||
|
||||
debug("Configuring video output driver...");
|
||||
|
||||
my $dcarea = <<"EOF";
|
||||
# MPlayer video output driver, configured by mplayer.deb
|
||||
EOF
|
||||
|
||||
$dcarea .= "vo=" . scalar(get("mplayer/voutput"));
|
||||
$dcarea .= "\n";
|
||||
|
||||
$mcfg->setconfarea($dcarea);
|
||||
|
||||
if ($didupgrade) {
|
||||
$mcfg->setotherarea_DANGEROUS(@savedolddata);
|
||||
}
|
||||
|
||||
#%###################################
|
||||
|
||||
exit unless (get("mplayer/configure") eq 'true');
|
||||
exit unless (fget("mplayer/configure", "isdefault") eq 'false');
|
||||
|
||||
#%##################################
|
||||
get("mplayer/cfgnote");
|
||||
|
||||
|
||||
|
||||
sub dealwithupgrades {
|
||||
open(OLDCONF, "</etc/mplayer/mplayer.conf") || return 1;
|
||||
close OLDCONF;
|
||||
|
||||
my $mconf = new ConfHelper("mplayer", "/etc/mplayer/mplayer.conf");
|
||||
return 1 if ($mconf->hasconfarea());
|
||||
undef $mconf;
|
||||
|
||||
if ((get('mplayer/replace-existing-files') eq 'true') &&
|
||||
(fget('mplayer/replace-existing-files', 'isdefault') eq 'false')) {
|
||||
print STDERR "Upgrading...\n";
|
||||
#? saveolddata("/etc/network/interfaces", "pppconf");
|
||||
$didupgrade = 1;
|
||||
for my $file ("/etc/mplayer/mplayer.conf"
|
||||
#, "/etc/mplayer/fonts/sth
|
||||
) {
|
||||
debug("Deleting $file");
|
||||
unlink $file;
|
||||
}
|
||||
} else {
|
||||
print STDERR "Upgrade refused, exiting.\n";
|
||||
exit 0;
|
||||
}
|
||||
}
|
||||
|
||||
# Gets any debconf area for other packages and saves it off.
|
||||
|
||||
sub saveolddata {
|
||||
my ($file, $package) = @_;
|
||||
my $conf = new ConfHelper($package, $file);
|
||||
push(@savedolddata, $conf->{startline} . "\n");
|
||||
push(@savedolddata, $conf->getconfarea());
|
||||
push(@savedolddata, $conf->{endline} . "\n");
|
||||
}
|
||||
|
||||
sub debug {
|
||||
print STDERR @_, "\n";
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
Template: mplayer/output
|
||||
Type: select
|
||||
Choices: ${vo}
|
||||
Default: xv
|
||||
Description: Which Video Output driver would you like?
|
||||
MPlayer can use very wide range of video output drivers:
|
||||
( order aproximately by speed: )
|
||||
* mga, xmga - direct hardware access on MGA cards (G200/400/450), needs /dev/mga_vid
|
||||
this driver can work without X and display video on secondary head of matrox cards
|
||||
* xv - XVideo extensions of X 4.x ( hardware scaling, bilinear filtering )
|
||||
* sdl - SDL library, it can also use hardware scaling, filtering etc
|
||||
* dga, fsdga - DGA extension.
|
||||
* fsbdev - framebuffer device ( watching movies on text console )
|
||||
* x11 - simple x11 output.
|
||||
Please choose carefully because it has tramendous effect on speed.
|
||||
|
||||
Template: mplayer/overwrite
|
||||
Type: boolean
|
||||
Default: false
|
||||
Description: Overwrite /etc/mplayer/mplayer.conf ?
|
||||
Should I overwrite your current /etc/mplayer/mplayer.conf with the one created on the fly based on your answers?
|
||||
|
||||
Template: mplayer/cfgnote
|
||||
Type: note
|
||||
Description: Create your ~/.mplayer/conf file.
|
||||
Remember to read documentation and edit your ~/.mplayer/conf
|
||||
(or /etc/mplayer/mplayer.conf) file. This binary depends heavily on
|
||||
your hardware - which means that it needs tweaking for every single
|
||||
machine it's installed to. And it also it means that it will use
|
||||
your setup very effectively. Look at /usr/share/doc/mplayer
|
||||
end
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
if [ -d /etc/mplayer/ ]; then
|
||||
rm -rf /etc/mplayer/
|
||||
fi
|
||||
fi
|
|
@ -1,172 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# Made with the aid of debmake, by Christoph Lameter,
|
||||
# based on the sample debian/rules file for GNU hello by Ian Jackson.
|
||||
#export DH_VERBOSE=1
|
||||
# This is the debhelper compatability version to use.
|
||||
export DH_COMPAT=3
|
||||
|
||||
package := mplayer
|
||||
prefix := $(shell pwd)/debian/$(package)
|
||||
|
||||
arch := $(shell dpkg --print-architecture)
|
||||
|
||||
ifeq ($(arch),powerpc)
|
||||
arch-conf += --disable-mp1e
|
||||
endif
|
||||
|
||||
COMMON_CONFIG = --prefix=/usr \
|
||||
--confdir=/etc/mplayer \
|
||||
--enable-runtime-cpudetection \
|
||||
--enable-termcap \
|
||||
--disable-iconv \
|
||||
--disable-setlocale \
|
||||
--disable-lirc \
|
||||
--disable-tv-v4l \
|
||||
--disable-tv-bsdbt848 \
|
||||
--enable-rtc \
|
||||
--disable-dvdnav \
|
||||
--disable-dvdread \
|
||||
--enable-mpdvdkit \
|
||||
--disable-css \
|
||||
--disable-cdparanoia \
|
||||
--disable-freetype \
|
||||
--disable-gif \
|
||||
--disable-png \
|
||||
--disable-jpeg \
|
||||
--disable-liblzo \
|
||||
--enable-win32 \
|
||||
--disable-xanim \
|
||||
--disable-xvid \
|
||||
--disable-divx4linux \
|
||||
--disable-libfame \
|
||||
--enable-vorbis \
|
||||
--disable-faad \
|
||||
--disable-libdv \
|
||||
--disable-mad \
|
||||
--disable-sdl \
|
||||
--disable-aa \
|
||||
--disable-ggi \
|
||||
--disable-directx \
|
||||
--disable-dvb \
|
||||
--disable-dxr2 \
|
||||
--disable-dxr3 \
|
||||
--disable-directfb \
|
||||
--disable-zr \
|
||||
--disable-real \
|
||||
--disable-arts \
|
||||
--disable-esd \
|
||||
--disable-alsa \
|
||||
--disable-mencoder
|
||||
|
||||
VARIANTS = nongui-nonx-oss gui-x-oss
|
||||
|
||||
CONFIG_nongui-nonx-oss = --disable-gui \
|
||||
--disable-gl \
|
||||
--disable-dga \
|
||||
--enable-vesa \
|
||||
--enable-svga \
|
||||
--enable-mga \
|
||||
--disable-xmga \
|
||||
--disable-xv \
|
||||
--disable-vm \
|
||||
--disable-xinerama \
|
||||
--disable-x11 \
|
||||
--enable-fbdev
|
||||
|
||||
CONFIG_gui-x-oss = --enable-gui \
|
||||
--enable-gl \
|
||||
--enable-dga \
|
||||
--enable-vesa \
|
||||
--disable-svga \
|
||||
--enable-mga \
|
||||
--enable-xmga \
|
||||
--enable-xv \
|
||||
--enable-vm \
|
||||
--enable-xinerama \
|
||||
--enable-x11 \
|
||||
--enable-fbdev
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp: $(foreach v,$(VARIANTS),configure-stamp-$(v))
|
||||
|
||||
configure-stamp-%:
|
||||
dh_testdir
|
||||
# Add here commands to configure the package.
|
||||
$(checkdir)
|
||||
./configure $(COMMON_CONIG) $(CONFIG_$(*)) $(DEB_BUILD_OPTIONS)
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
# commands to compile the package.
|
||||
${MAKE}
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# commands to clean up after the build process.
|
||||
-$(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# commands to install the package into debian/<packagename>
|
||||
$(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib 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 --exclude=CVS DOCS/*
|
||||
dh_installexamples etc/example.conf
|
||||
dh_installmenu
|
||||
# dh_installmime
|
||||
dh_installinfo
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_perl
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
|
||||
|
||||
#binary-arch: checkroot build
|
||||
# $(checkdir)
|
||||
# -rm -rf debian/tmp
|
||||
# install -d debian/tmp
|
||||
# cd debian/tmp && install -d `cat ../dirs`
|
||||
|
||||
|
||||
# Must have debmake installed for this to work. Otherwise please copy
|
||||
# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
|
||||
# debstd
|
||||
# dpkg-gencontrol -isp
|
||||
# chown -R root.root debian/tmp
|
||||
# chmod -R go=rX debian/tmp
|
||||
# dpkg --build debian/tmp ..
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
|
||||
.PHONY: binary binary-arch binary-indep clean checkroot
|
|
@ -1,54 +0,0 @@
|
|||
Template: mplayer/replace-existing-files
|
||||
Type: boolean
|
||||
Default: true
|
||||
Description: Upgrade existing system?
|
||||
It looks like you've configured your mplayer already.
|
||||
If you'd like to configure it with this program, I'll have
|
||||
to delete the old configuration. Do you want to continue
|
||||
configuration with this program? If you say "yes", I'll go ahead
|
||||
and delete your old configuration and you can create it anew with
|
||||
this program.
|
||||
|
||||
Template: mplayer/replace-existing-files-bail
|
||||
Type: note
|
||||
Description: Files not replaced
|
||||
I'm going to exit now since you don't want me to replace your
|
||||
existing files. If you change your mind later, you can run
|
||||
dpkg-reconfigure mplayer.
|
||||
|
||||
Template: mplayer/mainmenu
|
||||
Type: select
|
||||
Choices: ${choices}, Exit
|
||||
Description: MPlayer Main Menu
|
||||
From this menu, you can modify any of the settings for your device.
|
||||
Simply select the item you'd like to change to modify it.
|
||||
When you are done, select Exit.
|
||||
|
||||
Template: mplayer/voutput
|
||||
Type: select
|
||||
Default: x11
|
||||
Choices: ${vochoices}
|
||||
Description: MPlayer Video Output
|
||||
MPlayer can use very wide range of video output drivers:
|
||||
( order aproximately by speed: )
|
||||
* mga, xmga - direct hardware access on MGA cards (G200/400/450), needs /dev/mga_vid
|
||||
this driver can work without X and display video on secondary head of matrox cards
|
||||
* xv - XVideo extensions of X 4.x ( hardware scaling, bilinear filtering )
|
||||
* sdl - SDL library, it can also use hardware scaling, filtering etc
|
||||
* ggi - GGI library, it can also use hardware scaling, filtering etc
|
||||
* dga, fsdga - DGA extension.
|
||||
* fsbdev - framebuffer device ( watching movies on text console )
|
||||
* x11 - simple x11 output.
|
||||
.
|
||||
Please choose carefully because this will have a tremendous effect on speed.
|
||||
|
||||
Template: mplayer/cfgnote
|
||||
Type: note
|
||||
Description: Create your ~/.mplayer/conf file.
|
||||
Remember to read documentation and edit your ~/.mplayer/conf
|
||||
(or /etc/mplayer.conf) file. This binary depends heavily on
|
||||
your hardware - which means that it needs tweaking for every single
|
||||
machine it's installed to. And it also it means that it will use
|
||||
your setup very effectively. Look at /usr/share/doc/mplayer
|
||||
end
|
||||
|
Loading…
Reference in New Issue