games-arcade/osu-bin: add 2024.906.2, drop 2024.521.2
This commit is contained in:
parent
123c25608d
commit
f8521b3101
@ -1 +1,2 @@
|
||||
DIST osu-2024.521.2.AppImage 155780288 BLAKE2B c367473a3bdd21e251183a68b9c6f6bb59140267772d68210f33886ea12eee8fb92abb3043cfddf93a388c80e5ddb6a8f084ac90aab84a28d8ef392df620e960 SHA512 4210cded45133dcfeac5fdc40629a2accc12c50d22f5d6ad02d1b29753ad12dbe60c8a12bee5b392ddb221ce36947a69e3c40abd725669ea60654a033b2ecf41
|
||||
DIST osu-2024.906.2.AppImage 148882624 BLAKE2B 6088b7f24c7f0789d825f7390c5d287b1ea3e93ee6aa6db12857e05e13877b2942bf22063629c6b0b10ca9cdf95fe7d0ac72ead14a46e1061b21e2d20380b158 SHA512 e529111af3330e88a296ef3c891b2338cd367110fe338b0d067fae616417e6418f2657fd86e0f5ee822b6e20714cb869f63197b636bad2b619bf880ceca83a87
|
||||
DIST osu-resources-2024.904.0-LICENCE.md 17893 BLAKE2B 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff SHA512 7390eec94d102a98b62d54808b53d713017532f114e07ed53eee3ca2e91790e9d7c800e3e78b4a1996256142afd9293eba2b2c3d247d935e451e409c603dfef1
|
||||
|
@ -1,2 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
OSU_EXTERNAL_UPDATE_PROVIDER=true exec /usr/lib/osu/osu! "$@"
|
||||
|
||||
export OSU_SDL3=${OSU_SDL3:=true}
|
||||
export OSU_EXTERNAL_UPDATE_PROVIDER=true
|
||||
|
||||
if command -v gamemoderun &> /dev/null; then
|
||||
exec $(command -v gamemoderun) /usr/lib/osu/osu! "$@"
|
||||
fi
|
||||
|
||||
exec /usr/lib/osu/osu! "$@"
|
||||
|
@ -6,12 +6,16 @@ EAPI=8
|
||||
inherit desktop xdg
|
||||
|
||||
_PN="${PN%-bin}"
|
||||
_RV="2024.904.0"
|
||||
|
||||
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"
|
||||
SRC_URI="
|
||||
https://github.com/ppy/osu/releases/download/${PV}/osu.AppImage -> ${_PN}-${PV}.AppImage
|
||||
https://github.com/ppy/osu-resources/raw/${_RV}/LICENCE.md -> osu-resources-${_RV}-LICENCE.md
|
||||
"
|
||||
|
||||
S="${WORKDIR}/squashfs-root"
|
||||
S="${WORKDIR}/squashfs-root/usr/bin"
|
||||
|
||||
LICENSE="MIT CC-BY-NC-4.0"
|
||||
SLOT="0"
|
||||
@ -19,7 +23,10 @@ KEYWORDS="-* ~amd64"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="dev-util/lttng-ust:0/2.12"
|
||||
RDEPEND="
|
||||
dev-util/lttng-ust:0/2.12
|
||||
media-libs/libsdl2
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${_PN}-${PV}.AppImage" "${WORKDIR}/app"
|
||||
@ -28,15 +35,21 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/lib/${_PN}"
|
||||
doins -r usr/bin/*
|
||||
chmod 755 "${D}/usr/lib/${_PN}/osu!"
|
||||
rm -fv libSDL2.so
|
||||
|
||||
newbin "${FILESDIR}/${_PN}.bash" "${_PN}"
|
||||
|
||||
newicon 'osu!.png' "${_PN}.png"
|
||||
insinto "/usr/lib/${_PN}"
|
||||
doins -r *
|
||||
|
||||
chmod 755 "${D}/usr/lib/${_PN}/osu!"
|
||||
|
||||
newicon '../osu!.png' "${_PN}.png"
|
||||
domenu "${FILESDIR}/${_PN}.desktop"
|
||||
|
||||
insinto /usr/share/mime/packages
|
||||
insinto '/usr/share/mime/packages'
|
||||
doins "${FILESDIR}/${_PN}.xml"
|
||||
|
||||
insinto "/usr/share/licenses/${_PN}"
|
||||
doins "${DISTDIR}/osu-resources-${_RV}-LICENCE.md" "osu-resources-LICENCE.md"
|
||||
}
|
Loading…
Reference in New Issue
Block a user