osu-bin/2024.412.1-3: update mime type

This commit is contained in:
Puqns67 2024-05-02 18:17:44 +08:00
parent 69caafe97d
commit 8090091b3f
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
4 changed files with 33 additions and 13 deletions

View File

@ -1,7 +1,7 @@
pkgbase = osu-bin
pkgdesc = A free-to-win rhythm game. Rhythm is just a click away!
pkgver = 2024.412.1
pkgrel = 2
pkgrel = 3
url = https://osu.ppy.sh/
arch = x86_64
license = MIT
@ -25,7 +25,7 @@ pkgbase = osu-bin
b2sums = 72b4031eae04765797b4a9395c01418ac3b3d16d90472dc489c240218f1f8778ffe7291daeca8dca79d9f831be7940005b57d5b0e17344d79def1e2d0b1c3a22
b2sums = 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff
b2sums = 63c4f291210a06d1116689ba073fd370ab72db8bd951cf445da447d39a2c05492cebd37c293bf72519e6c86efb97600a9ac146d31ba29b8b6543cc50bcb9c6e9
b2sums = c2562cacd36b07727e8d40fd413f29c5a935f35dd0fa0943a934844b30c4aca80d527ac8a6b40d7366e039760903cdb6cdd72e1e6354271ad359517df87550ff
b2sums = 738e9f7a8a0e9e1871b682f15e72714b9c1c53a21328495b4588172dfae810828cc8df1b5a85e66a6058bd5b6a1fd059932f0304a8a5afda2992f27809257001
b2sums = c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7
b2sums = 600157f8f10ac78ecb081f261b27303ff89ded9cd5b33e46bdfb82e8aadd572696e572de10af95527c08e64489f642d71c6b43e2007f1114829aa8b14b2118fb
pkgname = osu-bin

View File

@ -14,7 +14,7 @@ _resver=2024.410.0
pkgname="${_appname}-bin"
pkgver="${_appver}"
pkgrel=2
pkgrel=3
pkgdesc="A free-to-win rhythm game. Rhythm is just a click away!"
arch=('x86_64')
url='https://osu.ppy.sh/'
@ -33,13 +33,12 @@ source=("${_appname}-${_appver}.AppImage"::"https://github.com/ppy/osu/releases/
b2sums=('72b4031eae04765797b4a9395c01418ac3b3d16d90472dc489c240218f1f8778ffe7291daeca8dca79d9f831be7940005b57d5b0e17344d79def1e2d0b1c3a22'
'7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff'
'63c4f291210a06d1116689ba073fd370ab72db8bd951cf445da447d39a2c05492cebd37c293bf72519e6c86efb97600a9ac146d31ba29b8b6543cc50bcb9c6e9'
'c2562cacd36b07727e8d40fd413f29c5a935f35dd0fa0943a934844b30c4aca80d527ac8a6b40d7366e039760903cdb6cdd72e1e6354271ad359517df87550ff'
'738e9f7a8a0e9e1871b682f15e72714b9c1c53a21328495b4588172dfae810828cc8df1b5a85e66a6058bd5b6a1fd059932f0304a8a5afda2992f27809257001')
'c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7'
'600157f8f10ac78ecb081f261b27303ff89ded9cd5b33e46bdfb82e8aadd572696e572de10af95527c08e64489f642d71c6b43e2007f1114829aa8b14b2118fb')
prepare() {
# Extract AppImage
cd "${srcdir}"
chmod +x "${srcdir}/${_appname}-${_appver}.AppImage"
chmod +x "${_appname}-${_appver}.AppImage"
"${srcdir}/${_appname}-${_appver}.AppImage" --appimage-extract
# Use system libraries

View File

@ -3,7 +3,7 @@ Type=Application
Name=osu!
Icon=osu
Comment=Rhythm is just a *click* away!
MimeType=application/x-osu-beatmap;application/x-osu-skin;x-scheme-handler/osu;
MimeType=application/x-osu-beatmap;application/x-osu-beatmap-archive;application/x-osu-skin-archive;application/x-osu-storyboard;application/x-osu-replay;x-scheme-handler/osu;
Exec=/usr/bin/osu %U
Categories=Game;
Terminal=false

View File

@ -1,17 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-osu-beatmap">
<comment>osu! Beatmap</comment>
<comment xml:lang="zh">osu! 谱面</comment>
<sub-class-of type="text/plain" />
<comment>osu! Beatmap archive</comment>
<comment xml:lang="zh">osu! 难度</comment>
<icon name="osu" />
<glob pattern="*.osu" />
</mime-type>
<mime-type type="application/x-osu-beatmap-archive">
<sub-class-of type="application/zip" />
<comment>osu! Beatmap archive</comment>
<comment xml:lang="zh">osu! 谱面</comment>
<icon name="osu" />
<glob pattern="*.osz" />
</mime-type>
<mime-type type="application/x-osu-skin">
<mime-type type="application/x-osu-skin-archive">
<sub-class-of type="application/zip" />
<comment>osu! Skin</comment>
<comment xml:lang="zh">osu! 皮肤</comment>
<sub-class-of type="application/zip"/>
<icon name="osu" />
<glob pattern="*.osk" />
</mime-type>
<mime-type type="application/x-osu-storyboard">
<sub-class-of type="text/plain" />
<comment>osu! Storyboard</comment>
<comment xml:lang="zh">osu! 故事板</comment>
<icon name="osu" />
<glob pattern="*.osb" />
</mime-type>
<mime-type type="application/x-osu-replay">
<sub-class-of type="application/octet-stream" />
<comment>osu! Replay</comment>
<comment xml:lang="zh">osu! 回放</comment>
<icon name="osu" />
<glob pattern="*.osr" />
</mime-type>
</mime-info>