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
28 lines
917 B
YAML
28 lines
917 B
YAML
Categories:
|
|
- Games
|
|
License: GPL-3.0-only
|
|
SourceCode: https://github.com/jackpal/glesquake
|
|
IssueTracker: https://github.com/jackpal/glesquake/issues
|
|
|
|
AutoName: Quake
|
|
Description: |-
|
|
Port of Quake 1 to Android. Requires hardware keys, no sound. You have to put
|
|
your own copy of the pak0.pak and maps Quake game data files under
|
|
/sdcard/data/quake/id1/. The best way to obtain those files currently is by
|
|
using <a href="http://nquake.sourceforge.net/">nQuake</a>.
|
|
|
|
RepoType: git
|
|
Repo: https://github.com/jackpal/glesquake
|
|
|
|
Builds:
|
|
- versionName: '1.0'
|
|
versionCode: 1
|
|
commit: 823b728ed3a9
|
|
prebuild: sed -i 's/package="com.android.quake"/package="com.android.quake" android:installLocation="auto"
|
|
android:versionCode="1" android:versionName="1.0"/g' AndroidManifest.xml
|
|
target: android-10
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: None
|
|
CurrentVersion: '1.0'
|
|
CurrentVersionCode: 1
|