mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Add basic support for abis on the web repo
This commit is contained in:
parent
67d75e550b
commit
fc09d23ad0
1 changed files with 12 additions and 0 deletions
|
|
@ -239,6 +239,12 @@ class FDroid
|
||||||
case "sdkver":
|
case "sdkver":
|
||||||
$thisapk['sdkver']=$pel;
|
$thisapk['sdkver']=$pel;
|
||||||
break;
|
break;
|
||||||
|
case "maxsdkver":
|
||||||
|
$thisapk['maxsdkver']=$pel;
|
||||||
|
break;
|
||||||
|
case "nativecode":
|
||||||
|
$thisapk['nativecode']=$pel;
|
||||||
|
break;
|
||||||
case "permissions":
|
case "permissions":
|
||||||
$thisapk['permissions']=$pel;
|
$thisapk['permissions']=$pel;
|
||||||
break;
|
break;
|
||||||
|
|
@ -336,6 +342,12 @@ class FDroid
|
||||||
$out.="<p><b>Version ".$apk['version']."</b>";
|
$out.="<p><b>Version ".$apk['version']."</b>";
|
||||||
$out.=" - Added on ".$apk['added']."<br />";
|
$out.=" - Added on ".$apk['added']."<br />";
|
||||||
|
|
||||||
|
$hasabis = isset($apk['nativecode']);
|
||||||
|
if($hasabis) {
|
||||||
|
$abis = str_replace(',', ' ', $apk['nativecode']);
|
||||||
|
$out.="<p>This app uses native code and will only run on: ".$abis."</p>";
|
||||||
|
}
|
||||||
|
|
||||||
// Is this source or binary?
|
// Is this source or binary?
|
||||||
$srcbuild = isset($apk['srcname']) && file_exists($this->site_path.'/repo/'.$apk['srcname']);
|
$srcbuild = isset($apk['srcname']) && file_exists($this->site_path.'/repo/'.$apk['srcname']);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue