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
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
Categories:
|
|
- Games
|
|
License: GPL-2.0-or-later
|
|
WebSite: https://yabause.org
|
|
SourceCode: https://sourceforge.net/p/yabause/code
|
|
IssueTracker: https://sourceforge.net/projects/yabause/support
|
|
Changelog: http://wiki.yabause.org/index.php5?title=Changelog
|
|
|
|
Description: |-
|
|
Yabause support booting games using Saturn cds or iso files. BIOS (optional)
|
|
should be placed into /sdcard/yabause/bios and games go in
|
|
/sdcard/yabause/games.
|
|
|
|
<a href="https://wiki.yabause.org/index.php5?title=Compatibility_list">Compatibility
|
|
list</a>
|
|
|
|
Status: ALPHA
|
|
|
|
RepoType: git-svn
|
|
Repo: https://svn.code.sf.net/p/yabause/code/trunk
|
|
|
|
Builds:
|
|
- versionName: 0.9.11
|
|
versionCode: 1
|
|
commit: '3136'
|
|
subdir: yabause/src/android
|
|
patch:
|
|
- toolchain.patch
|
|
build:
|
|
- echo "APP_CFLAGS+=-Wno-error=format-security" > jni/Application.mk
|
|
- cd ../..
|
|
- export PATH="$PATH:$$NDK$$/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin"
|
|
- cmake -DCMAKE_TOOLCHAIN_FILE=src/android/android.cmake -DNDK_BUILD=$$NDK$$/ndk-build
|
|
-DSDK_ANDROID=$$SDK$$/tools/android -DYAB_PORTS=android .
|
|
- make
|
|
ndk: r12b
|
|
|
|
AutoUpdateMode: None
|
|
UpdateCheckMode: None
|
|
CurrentVersion: 0.9.11
|
|
CurrentVersionCode: 1
|