mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Add NonFreeAssets anti-feature
This commit is contained in:
parent
20ced3f303
commit
967472408b
3 changed files with 9 additions and 1 deletions
|
@ -1155,6 +1155,11 @@ This does not mean that non-free software is included with the app: Most
|
|||
likely, it has been patched in some way to remove the non-free code. However,
|
||||
functionality may be missing.
|
||||
|
||||
@item
|
||||
@samp{NonFreeAssets} - the application contains and makes use of non-free
|
||||
assets. The most common case is apps using artwork - images, sounds, music,
|
||||
etc - under a non-commercial license.
|
||||
|
||||
@end itemize
|
||||
|
||||
@node Disabled
|
||||
|
|
|
@ -466,7 +466,8 @@ valuetypes = {
|
|||
[]),
|
||||
|
||||
FieldValidator("Anti-Feature",
|
||||
["Ads", "Tracking", "NonFreeNet", "NonFreeDep", "NonFreeAdd", "UpstreamNonFree"], ',',
|
||||
["Ads", "Tracking", "NonFreeNet", "NonFreeDep", "NonFreeAdd",
|
||||
"UpstreamNonFree", "NonFreeAssets"], ',',
|
||||
["AntiFeatures"],
|
||||
[]),
|
||||
|
||||
|
|
|
@ -653,6 +653,8 @@ class FDroid
|
|||
$antifeatureDescription['NonFreeDep']['description'] = 'This application depends on another non-Free application.';
|
||||
$antifeatureDescription['UpstreamNonFree']['name'] = 'Upstream Non-Free';
|
||||
$antifeatureDescription['UpstreamNonFree']['description'] = 'The upstream source code is non-free.';
|
||||
$antifeatureDescription['NonFreeAssets']['name'] = 'Non-Free Assets';
|
||||
$antifeatureDescription['NonFreeAssets']['description'] = 'This application contains non-free assets.';
|
||||
|
||||
if(isset($antifeatureDescription[$antifeature])) {
|
||||
return $antifeatureDescription[$antifeature];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue