summaryrefslogtreecommitdiff
path: root/packages/libvlc/fpmake.pp
blob: 943b116bcd55451e83f78d26922f9e7687401841 (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
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;

uses fpmkunit;

Var
  T : TTarget;
  P : TPackage;
begin
  With Installer do
    begin
{$endif ALLPACKAGES}
    P:=AddPackage('libvlc');
{$ifdef ALLPACKAGES}
    P.Directory:=ADirectory;
{$endif ALLPACKAGES}
    P.OSes := [win32, win64, linux, freebsd];
    P.Dependencies.Add('fcl-base');
    P.Version:='3.0.5';
    P.License := 'LGPL with modification';
    P.HomepageURL := 'www.freepascal.org';
    P.Email := 'michael@freepascal.org';
    P.Description := 'VLC library (version 2 or higher) interface and component.';
    T:=P.Targets.AddUnit('src/libvlc.pp',[linux,win32,win64]);
    T:=P.Targets.AddUnit('src/vlc.pp',[linux,win32,win64]);
    with T.Dependencies do
      begin
      AddUnit('libvlc');
      end;
{$ifndef ALLPACKAGES}
    Run;
    end;
end.
{$endif}