1234567891011121314151617181920212223242526272829303132333435 |
- {$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:='1.0';
- P.License := 'LGPL with modification';
- P.HomepageURL := 'www.freepascal.org';
- P.Email := '[email protected]';
- 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}
|