diff --git a/packages/osu-bin/.SRCINFO b/packages/osu-bin/.SRCINFO index 27bbd12..a3aa449 100644 --- a/packages/osu-bin/.SRCINFO +++ b/packages/osu-bin/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = osu-bin pkgdesc = A free-to-win rhythm game. Rhythm is just a click away! - pkgver = 2024.625.2 + pkgver = 2024.718.0 pkgrel = 1 url = https://osu.ppy.sh/ arch = x86_64 @@ -14,20 +14,22 @@ pkgbase = osu-bin depends = hicolor-icon-theme depends = lttng-ust2.12 depends = zlib + optdepends = gamemode: run osu with gamemode provides = osu provides = osu-lazer conflicts = osu conflicts = osu-lazer replaces = osu-lazer + replaces = osu-lazer-bin options = !debug - source = osu-2024.625.2.AppImage::https://github.com/ppy/osu/releases/download/2024.625.2/osu.AppImage - source = osu-resources-LICENCE-2024.622.0.md::https://github.com/ppy/osu-resources/raw/2024.622.0/LICENCE.md + source = osu-2024.718.0.AppImage::https://github.com/ppy/osu/releases/download/2024.718.0/osu.AppImage + source = osu-resources-LICENCE-2024.713.0.md::https://github.com/ppy/osu-resources/raw/2024.713.0/LICENCE.md source = osu.bash source = osu.desktop source = osu.xml - b2sums = ddb06e0a1098f2abdfdf46c069a4fc1fb1bb25bd6edb118a7efda4f8142a82ed5efc22e559031ab3388482f626a2f9dc871a0fffb5a9c6618bae6cfd90d61c5b + b2sums = 6762ef56a20a4c07caeeed3380c90dfa5eac41f5aad6300215442510a0774b40a185f279ade0b1deb1670c959a06ed272364703de73751f88deffe6ed3ac7a5c b2sums = 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff - b2sums = cfeafcf6ba214f21983e26008571258bba5734bc9826df57c70db08b8c1ee034d1960dea8900583ceef4f25c8cbdff035cda1703e5713076943b5c9de3b45785 + b2sums = 57413ec0582254216196c52cddc7c4635c61efcd7a2b538dd61628960b7bc91c09160bd39d6383c69ae470d4d3b6a9a6b4fb67f457ac91996bbcfebb8762880b b2sums = c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7 b2sums = 06878f8aa3368d73fb72d17cdf5b95c55c5d9f721ea5fcb5db6b538527a71746a874cb58619dbca8c6f43e402ebfdc414a80dc1d515288ddf9151a4d6bcd8a1f diff --git a/packages/osu-bin/PKGBUILD b/packages/osu-bin/PKGBUILD index 83c1d40..d06921b 100644 --- a/packages/osu-bin/PKGBUILD +++ b/packages/osu-bin/PKGBUILD @@ -8,9 +8,9 @@ # This PKGBUILD is base on the AUR repo osu-lazer-bin, from these contributors above _appname='osu' -_appver='2024.625.2' +_appver='2024.718.0' _resname='osu-resources' -_resver='2024.622.0' +_resver='2024.713.0' pkgname="${_appname}-bin" pkgver="${_appver}" @@ -21,9 +21,10 @@ url='https://osu.ppy.sh/' license=('MIT' 'CC-BY-NC-4.0') depends=('bash' 'ffmpeg4.4' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'lttng-ust2.12' 'zlib') makedepends=('imagemagick') +optdepends=('gamemode: run osu with gamemode') provides=("${_appname}" 'osu-lazer') conflicts=("${_appname}" 'osu-lazer') -replaces=('osu-lazer') +replaces=('osu-lazer' 'osu-lazer-bin') options=('!debug') source=("${_appname}-${_appver}.AppImage"::"https://github.com/ppy/osu/releases/download/${_appver}/osu.AppImage" @@ -32,9 +33,9 @@ source=("${_appname}-${_appver}.AppImage"::"https://github.com/ppy/osu/releases/ "${_appname}.desktop" "${_appname}.xml") -b2sums=('ddb06e0a1098f2abdfdf46c069a4fc1fb1bb25bd6edb118a7efda4f8142a82ed5efc22e559031ab3388482f626a2f9dc871a0fffb5a9c6618bae6cfd90d61c5b' +b2sums=('6762ef56a20a4c07caeeed3380c90dfa5eac41f5aad6300215442510a0774b40a185f279ade0b1deb1670c959a06ed272364703de73751f88deffe6ed3ac7a5c' '7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff' - 'cfeafcf6ba214f21983e26008571258bba5734bc9826df57c70db08b8c1ee034d1960dea8900583ceef4f25c8cbdff035cda1703e5713076943b5c9de3b45785' + '57413ec0582254216196c52cddc7c4635c61efcd7a2b538dd61628960b7bc91c09160bd39d6383c69ae470d4d3b6a9a6b4fb67f457ac91996bbcfebb8762880b' 'c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7' '06878f8aa3368d73fb72d17cdf5b95c55c5d9f721ea5fcb5db6b538527a71746a874cb58619dbca8c6f43e402ebfdc414a80dc1d515288ddf9151a4d6bcd8a1f') diff --git a/packages/osu-bin/osu.bash b/packages/osu-bin/osu.bash index e41e7d5..d60633e 100755 --- a/packages/osu-bin/osu.bash +++ b/packages/osu-bin/osu.bash @@ -1,2 +1,10 @@ #!/usr/bin/bash -OSU_SDL3=${OSU_SDL3:=true} 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! "$@"