osu-bin/2024.906.1-1: update, use system sdl2
This commit is contained in:
parent
6b13320f98
commit
2ffb145c96
@ -1,6 +1,6 @@
|
||||
pkgbase = osu-bin
|
||||
pkgdesc = A free-to-win rhythm game. Rhythm is just a click away!
|
||||
pkgver = 2024.817.0
|
||||
pkgver = 2024.906.1
|
||||
pkgrel = 1
|
||||
url = https://osu.ppy.sh/
|
||||
arch = x86_64
|
||||
@ -14,6 +14,7 @@ pkgbase = osu-bin
|
||||
depends = hicolor-icon-theme
|
||||
depends = lttng-ust2.12
|
||||
depends = zlib
|
||||
depends = sdl2
|
||||
optdepends = gamemode: run osu with gamemode
|
||||
provides = osu
|
||||
provides = osu-lazer
|
||||
@ -22,12 +23,12 @@ pkgbase = osu-bin
|
||||
replaces = osu-lazer
|
||||
replaces = osu-lazer-bin
|
||||
options = !debug
|
||||
source = osu-2024.817.0.AppImage::https://github.com/ppy/osu/releases/download/2024.817.0/osu.AppImage
|
||||
source = osu-resources-LICENCE-2024.810.0.md::https://github.com/ppy/osu-resources/raw/2024.810.0/LICENCE.md
|
||||
source = osu-2024.906.1.AppImage::https://github.com/ppy/osu/releases/download/2024.906.1/osu.AppImage
|
||||
source = osu-resources-LICENCE-2024.904.0.md::https://github.com/ppy/osu-resources/raw/2024.904.0/LICENCE.md
|
||||
source = osu.bash
|
||||
source = osu.desktop
|
||||
source = osu.xml
|
||||
b2sums = b221773fe5b49a4f387e54afde8fcdf400d2b61775c9433d6bf1eb874fe2f23fec120b09f8ed34dc7e5c85f5cf974a9415a50cc3278ca6f5c8d7892f6c29f5c4
|
||||
b2sums = f71708358296e4f3700b919de9b281855b3632d6492d5169bb8db74ab0112c123143a0140aff9c972db6f5d4ae3e90e0f892d7ba8f0df650cc677757c01ca080
|
||||
b2sums = 7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff
|
||||
b2sums = 57413ec0582254216196c52cddc7c4635c61efcd7a2b538dd61628960b7bc91c09160bd39d6383c69ae470d4d3b6a9a6b4fb67f457ac91996bbcfebb8762880b
|
||||
b2sums = c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7
|
||||
|
@ -8,9 +8,9 @@
|
||||
# This PKGBUILD is base on the AUR repo osu-lazer-bin, from these contributors above
|
||||
|
||||
_appname='osu'
|
||||
_appver='2024.817.0'
|
||||
_appver='2024.906.1'
|
||||
_resname='osu-resources'
|
||||
_resver='2024.810.0'
|
||||
_resver='2024.904.0'
|
||||
|
||||
pkgname="${_appname}-bin"
|
||||
pkgver="${_appver}"
|
||||
@ -19,7 +19,7 @@ pkgdesc="A free-to-win rhythm game. Rhythm is just a click away!"
|
||||
arch=('x86_64')
|
||||
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')
|
||||
depends=('bash' 'ffmpeg4.4' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'lttng-ust2.12' 'sdl2' 'zlib')
|
||||
makedepends=('imagemagick')
|
||||
optdepends=('gamemode: run osu with gamemode')
|
||||
provides=("${_appname}" 'osu-lazer')
|
||||
@ -33,7 +33,7 @@ source=("${_appname}-${_appver}.AppImage"::"https://github.com/ppy/osu/releases/
|
||||
"${_appname}.desktop"
|
||||
"${_appname}.xml")
|
||||
|
||||
b2sums=('b221773fe5b49a4f387e54afde8fcdf400d2b61775c9433d6bf1eb874fe2f23fec120b09f8ed34dc7e5c85f5cf974a9415a50cc3278ca6f5c8d7892f6c29f5c4'
|
||||
b2sums=('f71708358296e4f3700b919de9b281855b3632d6492d5169bb8db74ab0112c123143a0140aff9c972db6f5d4ae3e90e0f892d7ba8f0df650cc677757c01ca080'
|
||||
'7b7d10932a3c9b07ae10870c7830cacb2dd7164ec3e13ca419a931d6702c496b3ca2b7430f52aa3e71727b8d5f089f174ab13b1c69698925b2e37f8634e3fbff'
|
||||
'57413ec0582254216196c52cddc7c4635c61efcd7a2b538dd61628960b7bc91c09160bd39d6383c69ae470d4d3b6a9a6b4fb67f457ac91996bbcfebb8762880b'
|
||||
'c1f20062245a02bdaef45ee0eb18c6eefd1faa09b6354d3dc83951e844cdf72a1832fdacad05139c1cfa54afd6ac0e0912971a7f4c324d4e5a6c681e833df1e7'
|
||||
@ -46,11 +46,14 @@ prepare() {
|
||||
|
||||
cd "${srcdir}/squashfs-root/usr/bin"
|
||||
|
||||
# Use system libraries
|
||||
rm -v libav*.so.*
|
||||
# Use system ffmpeg
|
||||
rm -fv libav*.so.*
|
||||
|
||||
# Use system ffmpeg
|
||||
rm -fv libSDL2.so
|
||||
|
||||
# Remove pdb files
|
||||
rm -v *.pdb
|
||||
rm -fv *.pdb
|
||||
|
||||
# Downscale icon
|
||||
magick -verbose "${srcdir}/squashfs-root/osu!.png" -resize "512x512!" "${srcdir}/osu-512x512.png"
|
||||
@ -59,7 +62,7 @@ prepare() {
|
||||
package() {
|
||||
# Install osu and libraries
|
||||
install -dm755 "${pkgdir}/usr/lib"
|
||||
mv -v "${srcdir}/squashfs-root/usr/bin" "${pkgdir}/usr/lib/${_appname}"
|
||||
mv "${srcdir}/squashfs-root/usr/bin" "${pkgdir}/usr/lib/${_appname}"
|
||||
|
||||
# Install launch script
|
||||
install -Dm755 "${srcdir}/${_appname}.bash" "${pkgdir}/usr/bin/${_appname}"
|
||||
|
Loading…
Reference in New Issue
Block a user