games-arcade/oshu: drop 2.0.2, 2.0.2-r1

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Part-of: https://github.com/gentoo/gentoo/pull/44393
Closes: https://github.com/gentoo/gentoo/pull/44393
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-02-11 13:48:03 +01:00
committed by Sam James
parent 5ae039db98
commit 63f59c1e6f
4 changed files with 0 additions and 151 deletions

View File

@@ -1,3 +1,2 @@
DIST oshu-2.0.2.tar.gz 146109 BLAKE2B 98dd49f972f1f1f820f654a2d358ceffdd2c54cd2daa0594914e6a1e29f1d1e757fe46d021afc75a33f4ef94bbb370213f20229843c173d7c55d876fe3db7e12 SHA512 e881e9429cebaf74337e55e7fa5445d992627d7616088f15abfafa2c125e1ff057a5b0f39ee4a1d1728c310728a8590e65286b9a0f81dca1f8963b2943fba596
DIST oshu-2.0.3.tar.gz 146175 BLAKE2B 52cd7ee0c6d1361e622b67246597ba2494b7b64b583ae76d294143035022c9f5c317019156e7c86a7a9ca245a3403ccdc1874aeb416ab8b3b7bcfe217b2b479f SHA512 d3db0b996ce2e21400fd874682afb31ad20fdd852f44a297255a65d84a53d3c4d8110ed5268906eb70583c9cb2126c3530653057f3a809b76487c766aac9857c
DIST oshu-skin-v1.tar.gz 2224947 BLAKE2B 0b463133dd7ab54421551627d12932f5257848b1130d57af8c2ff6b6836a49c9322b8f2f7e95de540909390d0139e547650a6bb321614cf92fac464b09075674 SHA512 d562294ac5e122a9d9971e3ab92f6168d848177cc5e22a94bbc450fde2b3b14007796a24d33722da9b6675467b109ce128ba94dca5dcc7c61c91c1e373032618

View File

@@ -1,16 +0,0 @@
diff --git a/./lib/audio/stream.cc.old b/./lib/audio/stream.cc
index 808851f..09eb4fb 100644
--- a/./lib/audio/stream.cc.old
+++ b/./lib/audio/stream.cc
@@ -193,7 +193,11 @@ static int open_demuxer(const char *url, oshu::stream *stream)
stream->demuxer,
AVMEDIA_TYPE_AUDIO,
-1, -1,
+#if LIBAVCODEC_VERSION_MAJOR < 59
+ &stream->codec,
+#else
(const AVCodec**)&stream->codec,
+#endif
0
);
if (rc < 0 || stream->codec == NULL) {

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake ffmpeg-compat xdg
DESCRIPTION="Lightweight osu! port"
HOMEPAGE="https://github.com/fmang/oshu"
if [[ ${PV} = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fmang/oshu.git"
SRC_URI="osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
else
SRC_URI="https://github.com/fmang/oshu/archive/${PV}.tar.gz -> oshu-${PV}.tar.gz
osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3 CC-BY-NC-4.0"
SLOT="0"
IUSE="osu-skin"
RDEPEND="
media-libs/libsdl2
media-libs/sdl2-image
x11-libs/cairo
x11-libs/pango
media-video/ffmpeg-compat:6=
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/oshu-2.0.2-ffmpeg4-compat.patch" )
src_unpack() {
default
if [[ ${PV} = *9999 ]]; then
git-r3_src_unpack
fi
}
src_prepare() {
if use osu-skin; then
eapply "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch"
mv "${WORKDIR}/osu" share/skins/ || die "Failed to move osu-skin"
fi
cmake_src_prepare
}
src_configure() {
# TODO: fix with >=ffmpeg-7 then drop compat (bug #948392)
ffmpeg_compat_setup 6
ffmpeg_compat_add_flags
local mycmakeargs=(
-DOSHU_DEFAULT_SKIN=$(usex osu-skin osu minimal)
-DOSHU_SKINS=minimal$(usev osu-skin ';osu')
)
cmake_src_configure
}
src_test() {
cmake_build check
}

View File

@@ -1,65 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Lightweight osu! port"
HOMEPAGE="https://github.com/fmang/oshu"
if [[ ${PV} = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fmang/oshu.git"
SRC_URI="osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
else
SRC_URI="https://github.com/fmang/oshu/archive/${PV}.tar.gz -> oshu-${PV}.tar.gz
osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3 CC-BY-NC-4.0"
SLOT="0"
IUSE="osu-skin"
RDEPEND="
media-libs/libsdl2
media-libs/sdl2-image
x11-libs/cairo
x11-libs/pango
media-video/ffmpeg:=
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/oshu-2.0.2-ffmpeg4-compat.patch" )
src_unpack() {
default
if [[ ${PV} = *9999 ]]; then
git-r3_src_unpack
fi
}
src_prepare() {
if use osu-skin; then
eapply "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch"
mv "${WORKDIR}/osu" share/skins/ || die "Failed to move osu-skin"
fi
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DOSHU_DEFAULT_SKIN=$(usex osu-skin osu minimal)
-DOSHU_SKINS=minimal$(usev osu-skin ';osu')
)
cmake_src_configure
}
src_test() {
cmake_build check
}