games-arcade/osu-lazer-bin: new package, add 2024.312.1
This commit is contained in:
parent
2374e53b23
commit
8dede4a0a4
1
games-arcade/osu-lazer-bin/Manifest
Normal file
1
games-arcade/osu-lazer-bin/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST osu-lazer-2024.312.1.AppImage 155296960 BLAKE2B b920870e64bfc11f6ec8202c27e4c5a44477c11a399f0781992a174f898914e35b9ac0124d2b1ae57de9e4ceae200613aba77f64e6210cd5bdb711eeb414fc90 SHA512 740b502d284ed3f7e37409150887851770f7e63e44f29a2e43f29a4ea05b78a569c163a67db7cd4a4a1a7a78e4ba2247893b76e595211da4fd02e49c94d330a9
|
2
games-arcade/osu-lazer-bin/files/osu-lazer.bash
Normal file
2
games-arcade/osu-lazer-bin/files/osu-lazer.bash
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
OSU_EXTERNAL_UPDATE_PROVIDER=true /usr/lib/osu-lazer/osu! "$@"
|
11
games-arcade/osu-lazer-bin/files/osu-lazer.desktop
Normal file
11
games-arcade/osu-lazer-bin/files/osu-lazer.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=osu!lazer
|
||||||
|
Icon=osu-lazer
|
||||||
|
Comment=Rhythm is just a *click* away!
|
||||||
|
MimeType=application/x-osu-lazer-beatmap;application/x-osu-lazer-skin;x-scheme-handler/osu;
|
||||||
|
Exec=/usr/bin/osu-lazer %U
|
||||||
|
Categories=Game;
|
||||||
|
Terminal=false
|
||||||
|
StartupWMClass=osu!
|
||||||
|
StartupNotify=true
|
17
games-arcade/osu-lazer-bin/files/osu-lazer.xml
Normal file
17
games-arcade/osu-lazer-bin/files/osu-lazer.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||||
|
<mime-type type="application/x-osu-lazer-beatmap">
|
||||||
|
<comment>osu! Beatmap</comment>
|
||||||
|
<comment xml:lang="zh">osu! 谱面</comment>
|
||||||
|
<sub-class-of type="application/zip"/>
|
||||||
|
<icon name="osu-lazer" />
|
||||||
|
<glob pattern="*.osz" />
|
||||||
|
</mime-type>
|
||||||
|
<mime-type type="application/x-osu-lazer-skin">
|
||||||
|
<comment>osu! Skin</comment>
|
||||||
|
<comment xml:lang="zh">osu! 皮肤</comment>
|
||||||
|
<sub-class-of type="application/zip"/>
|
||||||
|
<icon name="osu-lazer" />
|
||||||
|
<glob pattern="*.osk" />
|
||||||
|
</mime-type>
|
||||||
|
</mime-info>
|
11
games-arcade/osu-lazer-bin/metadata.xml
Normal file
11
games-arcade/osu-lazer-bin/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>me@puqns67.icu</email>
|
||||||
|
<name>Puqns67</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">ppy/osu</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
39
games-arcade/osu-lazer-bin/osu-lazer-bin-2024.312.1.ebuild
Normal file
39
games-arcade/osu-lazer-bin/osu-lazer-bin-2024.312.1.ebuild
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit desktop xdg
|
||||||
|
|
||||||
|
_PN="${PN%-bin}"
|
||||||
|
|
||||||
|
DESCRIPTION="A free-to-win rhythm game. Rhythm is just a click away!"
|
||||||
|
HOMEPAGE="https://osu.ppy.sh/ https://github.com/ppy/osu"
|
||||||
|
SRC_URI="https://github.com/ppy/osu/releases/download/${PV}/osu.AppImage -> ${_PN}-${PV}.AppImage"
|
||||||
|
|
||||||
|
S="${WORKDIR}/squashfs-root"
|
||||||
|
|
||||||
|
LICENSE="MIT CC-BY-NC-4.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cp "${DISTDIR}/${_PN}-${PV}.AppImage" "${WORKDIR}/app"
|
||||||
|
chmod +x app
|
||||||
|
./app --appimage-extract
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/usr/lib/${_PN}"
|
||||||
|
doins -r usr/bin/*
|
||||||
|
|
||||||
|
newbin "${FILESDIR}/${_PN}.bash" osu-lazer
|
||||||
|
|
||||||
|
newicon 'osu!.png' osu-lazer.png
|
||||||
|
domenu "${FILESDIR}/${_PN}.desktop"
|
||||||
|
|
||||||
|
insinto /usr/share/mime/packages
|
||||||
|
doins "${FILESDIR}/${_PN}.xml"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user