Просмотр исходного кода

Disable all packages that do not compile for jvm-android

Pierre Muller 6 месяцев назад
Родитель
Сommit
899916d76a

+ 2 - 0
packages/cairo/fpmake.pp

@@ -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];

+ 2 - 0
packages/gtk2/fpmake.pp

@@ -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];
 

+ 2 - 0
packages/libjack/fpmake.pp

@@ -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');
 

+ 2 - 0
packages/libsndfile/fpmake.pp

@@ -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');

+ 2 - 0
packages/x11/fpmake.pp

@@ -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];