/usr/bin/dh_xine is in libxine2-dev 1.2.6-1+b2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | #! /usr/bin/perl -w
=head1 NAME
dh_xine - calculates xine-lib dependencies
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_xine> [S<I<debhelper options>>] [S<I<package name suffixes>>]
=head1 DESCRIPTION
dh_xine is a debhelper program that is responsible for generating the
${xine-x:Depends} and ${xine-console:Depends} substitutions and adding them
to substvars files.
Each xine-lib front end is required to have one of these two substvars
listed in its Depends line in debian/control. Using package names directly
will, sooner or later, break.
By listing package name suffixes, you can generate dependencies and
recommendations (almost) at will. If you don't specify any, then 'x' and
'console' are used, generating xine-x:Depends and xine-console:Depends.
=head1 EXAMPLES
dh_xine is usually called indirectly in a rules file via the dh command.
%:
dh --with xine $@
It can also be called directly, prior to calling dh_gencontrol.
=head1 CONFORMS TO
Debian policy, version 3.8.1
=cut
init ();
no locale;
my @suffix;
foreach my $suffix (@ARGV) {
if ($suffix =~ /^[-[:lower:]]*$/) {
push @suffix, $suffix;
} else {
warn "bad package name suffix: $suffix";
}
}
@suffix = ('x', 'console') if $#suffix < 0;
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp = tmpdir ($package);
foreach my $suffix (@suffix) {
delsubstvar($package, "xine-$suffix:Depends");
addsubstvar ($package, "xine-$suffix:Depends", "libxine2-$suffix");
}
}
=head1 SEE ALSO
L<debhelper(7)>
This program is not a part of debhelper.
=head1 AUTHOR
Darren Salt <linux@youmustbejoking.demon.co.uk>
=cut
|