Skip to content

Commit 1685222

Browse files
authored
Merge branch 'master' into add-aquiis-v1.1.0
2 parents 3492a40 + 05f3012 commit 1685222

12 files changed

Lines changed: 543 additions & 9 deletions

File tree

apps/mpc-qt.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
layout: app
3+
4+
permalink: /mpc-qt/
5+
description: Qt media player based on libmpv
6+
license: GPL-2.0+
7+
8+
icons:
9+
- mpc-qt/icons/scalable/mpc-qt.svg
10+
11+
screenshots:
12+
- mpc-qt/screenshot.png
13+
14+
authors:
15+
- name: mpc-qt
16+
url: https://github.com/mpc-qt
17+
18+
links:
19+
- type: GitHub
20+
url: mpc-qt/mpc-qt
21+
- type: Download
22+
url: https://github.com/mpc-qt/mpc-qt/releases
23+
24+
desktop:
25+
Desktop Entry:
26+
Type: Application
27+
Name: Media Player Classic Qute Theater
28+
GenericName: Multimedia Player
29+
GenericName[pt]: Reprodutor multimédia
30+
Comment: Qt media player based on libmpv
31+
Comment[pt]: Reprodutor multimédia baseado em Qt e libmppv
32+
Exec: mpc-qt %U
33+
TryExec: mpc-qt
34+
Icon: mpc-qt
35+
StartupNotify: true
36+
Terminal: false
37+
Categories: Qt
38+
MimeType: application/ogg
39+
X-KDE-Protocols: appending,file,ftp,hls,http,https,mms,mpv,rist,rtmp,rtmps,rtmpt,rtmpts,rtp,rtsp,rtsps,sftp,srt,srtp,webdav,webdavs
40+
X-DBUS-ServiceName:
41+
X-DBUS-StartupType:
42+
X-KDE-SubstituteUID: false
43+
X-KDE-Username:
44+
Keywords: media
45+
Actions: newFreestandingWindow
46+
Desktop Action newFreestandingWindow:
47+
Name: New Freestanding Window
48+
Exec: mpc-qt --freestanding %U
49+
AppImageHub:
50+
X-AppImage-UpdateInformation: gh-releases-zsync|mpc-qt|mpc-qt|latest|mpc-qt-linux-x64-*.AppImage.zsync
51+
X-AppImage-Signature: 'directory ''/home/runner/.gnupg'' created keybox ''/home/runner/.gnupg/pubring.kbx''
52+
created [don''t know]: invalid packet (ctb=0a) no signature found the signature
53+
could not be verified. Please remember that the signature file (.sig or .asc)
54+
should be the first file given on the command line.'
55+
X-AppImage-Type: 2
56+
X-AppImage-Architecture: x86_64
57+
---

apps/sponge256sum.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
layout: app
3+
4+
permalink: /sponge256sum/
5+
description: A sponge-based secure hash function that uses AES-256 as its internal PRF
6+
license: BSD-0-Clause
7+
8+
icons:
9+
- sponge256sum/icons/256x256/sponge256sum.png
10+
11+
screenshots:
12+
- sponge256sum/screenshot.png
13+
14+
authors:
15+
- name: lordmulder
16+
url: https://github.com/lordmulder
17+
18+
links:
19+
- type: GitHub
20+
url: lordmulder/sponge-hash-aes256
21+
- type: Download
22+
url: https://github.com/lordmulder/sponge-hash-aes256/releases
23+
24+
desktop:
25+
Desktop Entry:
26+
Type: Application
27+
Name: sponge256sum
28+
Exec: sponge256sum
29+
Comment: A sponge-based secure hash function that uses AES-256 as its internal PRF
30+
Icon: sponge256sum
31+
Categories: Utility
32+
Terminal: true
33+
X-AppImage-Payload-License: BSD-0-Clause
34+
X-AppImage-Version: 1.8.6
35+
AppImageHub:
36+
X-AppImage-Signature: 'directory ''/home/runner/.gnupg'' created keybox ''/home/runner/.gnupg/pubring.kbx''
37+
created [don''t know]: invalid packet (ctb=0a) no signature found the signature
38+
could not be verified. Please remember that the signature file (.sig or .asc)
39+
should be the first file given on the command line.'
40+
X-AppImage-Type: 2
41+
X-AppImage-Architecture: x86_64
42+
---

code/worker.sh

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [ x"${URL:0:22}" == x"https://api.github.com" ] || [ x"${GHURL:0:22}" == x"ht
4848
echo "URL from GitHub API: $URL"
4949
GHUSER=$(echo "$URL" | cut -d '/' -f 4)
5050
GHREPO=$(echo "$URL" | cut -d '/' -f 5)
51-
LICENSE=$(echo "$API_JSON" | grep spdx_id | cut -d '"' -f 4 | head -n 1)
51+
LICENSE=$(echo "$API_JSON" | grep spdx_id | cut -d '"' -f 4 | head -n 1) || true
5252
fi
5353

5454
# Download the file if it is not already there
@@ -459,14 +459,22 @@ sudo chmod a+x appstreamcli-x86_64.AppImage
459459
# License
460460
AS_LICENSE=""
461461
DT_LICENSE=""
462-
if [ -f database/$INPUTBASENAME/*appdata.xml ] ; then
463-
AS_LICENSE=$(cat database/$INPUTBASENAME/*appdata.xml | xmlstarlet sel -t -m "/component/project_license" -v .) || true
464-
fi
465-
DT_LICENSE=$(grep -r "X-AppImage-Payload-License=.*" database/$INPUTBASENAME/*.desktop | cut -d '=' -f 2)
462+
AS_LICENSE=$(
463+
xmlstarlet sel -t \
464+
-m "/component/project_license" -v . \
465+
$(ls database/$INPUTBASENAME/*.{appdata,metainfo}.xml 2>/dev/null)
466+
) || true
467+
DT_LICENSE=$(
468+
grep -h "X-AppImage-Payload-License=" database/$INPUTBASENAME/*.desktop 2>/dev/null \
469+
| cut -d '=' -f 2
470+
) || true
466471
if [ x"$AS_LICENSE" != x"" ] ; then
467472
echo "license: $AS_LICENSE" >> apps/$INPUTBASENAME.md
468473
elif [ x"$DT_LICENSE" != x"" ] ; then
469474
echo "license: $DT_LICENSE" >> apps/$INPUTBASENAME.md
475+
else
476+
echo "No license found!"
477+
exit 1
470478
fi
471479
# Icon
472480
ICONBASENAME=$(basename "$ICONFILE")
@@ -490,9 +498,13 @@ sudo chmod a+x appstreamcli-x86_64.AppImage
490498
# Authors
491499
echo "" >> apps/$INPUTBASENAME.md
492500
echo "authors:" >> apps/$INPUTBASENAME.md
493-
GH_USER=$(grep "^https://github.com.*" data/$INPUTBASENAME | cut -d '/' -f 4 )
494-
GH_REPO=$(grep "^https://github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 )
495-
OBS_USER=$(grep "^http.*://download.opensuse.org/repositories/home:/" data/$INPUTBASENAME | cut -d "/" -f 6 | sed -e 's|:||g')
501+
GH_USER=$(grep "^https://github.com/" data/$INPUTBASENAME | cut -d '/' -f 4) || true
502+
GH_REPO=$(grep "^https://github.com/" data/$INPUTBASENAME | cut -d '/' -f 5) || true
503+
OBS_USER=$(
504+
grep -h "^http.*://download.opensuse.org/repositories/home:/" "data/$INPUTBASENAME" 2>/dev/null \
505+
| cut -d "/" -f 6 \
506+
| sed 's|:||g'
507+
) || true
496508
# BB_USER=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 4 )
497509
# BB_REPO=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 5 )
498510
if [ x"$GH_USER" == x"" ] ; then
@@ -518,7 +530,7 @@ sudo chmod a+x appstreamcli-x86_64.AppImage
518530
echo " - type: Download" >> apps/$INPUTBASENAME.md
519531
echo " url: https://github.com/$GH_USER/$GH_REPO/releases" >> apps/$INPUTBASENAME.md
520532
fi
521-
OBS_LINK=$(grep "^http.*://download.opensuse.org.*latest.*AppImage$" data/$INPUTBASENAME | sed -e 's|http://d|https://d|g')
533+
OBS_LINK=$(grep "^http.*://download.opensuse.org.*latest.*AppImage$" data/$INPUTBASENAME | sed -e 's|http://d|https://d|g') || true
522534
if [ x"$OBS_LINK" != x"" ] ; then
523535
echo " - type: Download" >> apps/$INPUTBASENAME.md
524536
echo " url: $OBS_LINK.mirrorlist" >> apps/$INPUTBASENAME.md

data/mpc-qt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/mpc-qt/mpc-qt/releases/latest/download/mpc-qt-linux-x64-26.01.AppImage

data/sponge256sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://github.com/lordmulder/sponge-hash-aes256/
2+
#

0 commit comments

Comments
 (0)