Add NonFreeAssets anti-feature

This commit is contained in:
Daniel Martí 2015-12-29 12:39:48 +01:00
parent 20ced3f303
commit 967472408b
3 changed files with 9 additions and 1 deletions

View file

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

View file

@ -466,7 +466,8 @@ valuetypes = {
[]),
FieldValidator("Anti-Feature",
["Ads", "Tracking", "NonFreeNet", "NonFreeDep", "NonFreeAdd", "UpstreamNonFree"], ',',
["Ads", "Tracking", "NonFreeNet", "NonFreeDep", "NonFreeAdd",
"UpstreamNonFree", "NonFreeAssets"], ',',
["AntiFeatures"],
[]),

View file

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