commit:     63f59c1e6ff8aaa00562403aed460f6a39bdbd6e
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Wed Feb 11 12:48:03 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 23:56:24 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63f59c1e

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

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> 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 <AT> gentoo.org>

 games-arcade/oshu/Manifest                         |  1 -
 .../oshu/files/oshu-2.0.2-ffmpeg4-compat.patch     | 16 -----
 games-arcade/oshu/oshu-2.0.2-r1.ebuild             | 69 ----------------------
 games-arcade/oshu/oshu-2.0.2.ebuild                | 65 --------------------
 4 files changed, 151 deletions(-)

diff --git a/games-arcade/oshu/Manifest b/games-arcade/oshu/Manifest
index 0fcb8d40e838..c9f1a8279787 100644
--- a/games-arcade/oshu/Manifest
+++ b/games-arcade/oshu/Manifest
@@ -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

diff --git a/games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch 
b/games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch
deleted file mode 100644
index c16e61ce1288..000000000000
--- a/games-arcade/oshu/files/oshu-2.0.2-ffmpeg4-compat.patch
+++ /dev/null
@@ -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) {

diff --git a/games-arcade/oshu/oshu-2.0.2-r1.ebuild 
b/games-arcade/oshu/oshu-2.0.2-r1.ebuild
deleted file mode 100644
index 0398b85e3621..000000000000
--- a/games-arcade/oshu/oshu-2.0.2-r1.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/games-arcade/oshu/oshu-2.0.2.ebuild 
b/games-arcade/oshu/oshu-2.0.2.ebuild
deleted file mode 100644
index c1d02ab63c76..000000000000
--- a/games-arcade/oshu/oshu-2.0.2.ebuild
+++ /dev/null
@@ -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
-}

Reply via email to