mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
```python
import yaml, glob, re, os
from fdroidserver import metadata
pat = re.compile(r'\[(https?://[^ \]]+)\s+([^\]]+)\]')
for f in glob.glob('metadata/*.yml'):
with open(f) as fp:
data = yaml.load(fp)
description = data.get('Description', '')
for m in pat.finditer(data.get('Description', '')):
link = m.group(1)
text = m.group(2)
print(f, link, text, flush=True)
description = description.replace(m.group(), '<a href="%s">%s</a>' % (link, text))
data['Description'] = description
app = metadata.App(data)
metadata.write_metadata(f, app)
```
```
sed -i 's,^ - true, - yes,' metadata/*.yml
sed -i 's,^ - false, - no,' metadata/*.yml
```
closes fdroid-website#510
38 lines
981 B
YAML
38 lines
981 B
YAML
Categories:
|
|
- Multimedia
|
|
License: GPL-3.0-only
|
|
SourceCode: https://github.com/tom-and-jerry/eyeCam
|
|
IssueTracker: https://github.com/tom-and-jerry/eyeCam/issues
|
|
|
|
AutoName: eyeCam
|
|
Description: |-
|
|
An augmented reality app which aims to support colorblind people in
|
|
distinguishing and recognizing colors.
|
|
|
|
* Color recognition
|
|
* Camera filters to enhance color differentiation
|
|
* Simulation of colorblindness (e.g. for web developers)
|
|
|
|
Known issues:
|
|
|
|
* Color recognition does not work properly sometimes
|
|
* Tablets are not yet supported (orientation is off)
|
|
|
|
<a href="http://chir.ag/projects/name-that-color">Name that color</a> is used to detect
|
|
color names.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/tom-and-jerry/eyeCam.git
|
|
|
|
Builds:
|
|
- versionName: 0.9-beta
|
|
versionCode: 81
|
|
commit: 161096295b4d4
|
|
buildjni:
|
|
- yes
|
|
ndk: r12b
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: RepoManifest
|
|
CurrentVersion: 0.9-beta
|
|
CurrentVersionCode: 81
|