Disable all packages that do not compile for jvm-android

This commit is contained in:
Pierre Muller 2025-02-22 13:00:37 +01:00
parent 13a5cdb8fa
commit 899916d76a
5 changed files with 10 additions and 0 deletions

View File

@ -21,6 +21,8 @@ begin
P.License := 'Library: MPL 1.1 + LGPL-2.1, header: LGPL with modification, ';
P.HomepageURL := 'www.freepascal.org';
P.OSes := [beos,haiku,freebsd,solaris,netbsd,openbsd,linux,win32,win64,aix,dragonfly,android];
if Defaults.CPU=jvm then
P.OSes := P.OSes - [android];
// Do not build cairo on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];

View File

@ -19,6 +19,8 @@ begin
P.Version:='3.3.1';
P.SupportBuildModes := [bmOneByOne];
P.OSes:=AllUnixOSes+[Win32,Win64]-[darwin,iphonesim,ios];
if Defaults.CPU=jvm then
P.OSes := P.OSes - [android];
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];

View File

@ -25,6 +25,8 @@ begin
P.Description := 'Headers for the JACK Audio Connection Kit library';
P.NeedLibC:= true; // true for headers that indirectly link to libc?
P.OSes := AllUnixOSes+[win32,win64]-[qnx];
if Defaults.CPU=jvm then
P.OSes := P.OSes - [android];
P.SourcePath.Add('src');
P.IncludePath.Add('src');

View File

@ -25,6 +25,8 @@ begin
P.Description := 'Headers for the libsndfile library';
P.NeedLibC:= true; // true for headers that indirectly link to libc?
P.OSes := AllUnixOSes-[qnx];
if Defaults.CPU=jvm then
P.OSes := P.OSes - [android];
P.SourcePath.Add('src');
T:=P.Targets.AddUnit('sndfile.pp');

View File

@ -19,6 +19,8 @@ begin
{$endif ALLPACKAGES}
P.Version:='3.3.1';
P.OSes:=[beos,haiku,freebsd,solaris,netbsd,openbsd,linux,os2,emx,aix,dragonfly,android];
if Defaults.CPU=jvm then
P.OSes := P.OSes - [android];
// Do not build x11 on iPhone (=arm-darwin)
if Defaults.CPU<>arm then
P.OSes := P.OSes + [darwin];