blob: e6129624e3c7da777678405ddce395f565e59b96 (
plain)
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
|
#! /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>>]
=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.
=head1 CONFORMS TO
Debian policy, version 3.8.1
=cut
init ();
my $version;
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp = tmpdir ($package);
delsubstvar($package, 'xine-x:Depends');
addsubstvar ($package, 'xine-x:Depends', 'libxine1-x');
delsubstvar($package, 'xine-console:Depends');
addsubstvar ($package, 'xine-console:Depends', 'libxine1-console');
}
=head1 SEE ALSO
L<debhelper(7)>
This program is not a part of debhelper.
=head1 AUTHOR
Darren Salt <linux@youmustbejoking.demon.co.uk>
=cut
|