games-arcade/performous: drop 1.2.0

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/45172
Closes: https://github.com/gentoo/gentoo/pull/45172
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2025-12-26 23:59:08 +01:00
committed by Sam James
parent a27d200f9b
commit 7427112de3
3 changed files with 0 additions and 129 deletions

View File

@@ -1,8 +1,6 @@
DIST performous-1.2.0.tar.gz 7240476 BLAKE2B c5c27fc02fe0a17261ad6549492ccc88c7ad213df08f6ec68d86bad9116a2f83eae8ab4b85fc19f63d260b28864fad84c19d55befa81dde7aabedb1c50fef89f SHA512 a8fbbe3768f46915eacb65adcc1592295e4c6a84775ca55def01ebcff2218b1860daee0d4d5fcccc407d8df71da1ac25da667b47dd4a17239041a3d5fbfa1c56
DIST performous-1.3.1_p20250723.tar.gz 51778245 BLAKE2B 9051311ec79d5c18b1d648696dcf6058c3071c4396d1ee7fccce46d03a46430ed142b57486c1625da0be4d72d2dc998ed8802b0b0b39faf480ad8ebc1e895fa4 SHA512 290a8cb713247ff9055cc3f7042504f15c8c204d5cdf8a3f470867fa6b930ad82dc777f19084a4aad8055e5eb6d3af9922462d88ce776983998d539c20f8d7cf
DIST performous-1.3.1_p20251224.tar.gz 51784544 BLAKE2B c59cd22554ef00cd03a8f1d22b861783ec2162baba227331b0154cb34a46fc4c0c6c1c6ada0717d025d8b8cdeae007fb59658dc3be6b1d100e4ab65f60d36e09 SHA512 1b5f31da5d3e8daf365faeaf5f202546fe91cc5341fa3e125905cb3051f2cc29c0e03fae671fed422c54e7095ecd9eebdebaad5a9b95c3644551b87cb9416544
DIST performous-ced-28f46c18c60b851773b0ff61f3ce416fb09adcf3.tar.gz 221317 BLAKE2B 979063d1d6a355194d800f09211a0951be154f2b72960cd5fe450e6d82f6474fb29ecde0ad76df25a4075225b0ccf28e3735ca4f6c506873fbc4180f814a3cb3 SHA512 abec9d1d61a1ed2b779cf37317e8e4ff9095927480f69e165e74558e2b48d46e722d7b1d7ecc2ada515a843862faea6a849306ac12341fef639e2111feeaa489
DIST performous-ced-9ca1351fe0b1e85992a407b0fc54a63e9b3adc6e.tar.gz 221300 BLAKE2B 1aa7027c8543725c812e6a066a2a707fa19a79ae2f36c49bc8eaf0d3d6549ae11b365a76b47c1fc851a3c0d1bbafc3ff739fa32c1599a1f1853033de78b27d0c SHA512 6721ae5936a58b8298d175f3875675bfb8249208642eaf2766dc6a62c7db96454d4f95d8c39de0ca862aa3edc741de535af69242f0d2d0b8f7527408ab673089
DIST ultrastar-songs-jc-1.zip 242698201 BLAKE2B 39c37160c1ce305252c7b94910aae4ed930d6762716b985f35d64b502bcb8c0310ff830384a652bb1b8a72dea5dd08eebbfd89ae047861bd88e2fc983a863d84 SHA512 2f1b8416990c39617269cd6bb7271abdd4ebae65a9bac3dbb3f37cca26876bb7c79460a37597943a10a2d8bfcb5d2d9e2bf24084fe517a418e69f5c6111f6aea
DIST ultrastar-songs-libre-3.zip 5289866 BLAKE2B 2c3fc640ad808b12987e9b50510df644ab8dd1ae41a4b9e5056950c7aa1823678a4b568a60a260b93a4bdf06f199fac1b99bd22e4e39301bf34f337c08d68b69 SHA512 820e3637a7b778c92ed1a8b925802134fa2146879b3e03e88cd412de5414635c90fe256dfaf984cfa3e8b07b7da8531dc3061b7c4e1bb4422127b469b2345e66
DIST ultrastar-songs-restricted-3.zip 10242651 BLAKE2B de923f72bdd3081f2870457fd734ae2f8c11a84a74344af165aa5c6cf7b812c98fd53b3ab18ac9ac51f488fbf3fe274289205724c9f8547a31245536bea3c6b1 SHA512 70b987fec3705d6610625c1f30a7ff683a51bb6b7ee3174609c80dc31c1bccdb23dcb2c6ae8154e1b1d9ef115b914e27e73925878a3c5460b997fdde813456b8

View File

@@ -1,25 +0,0 @@
https://bugs.gentoo.org/834371
https://github.com/performous/performous/commit/c3c0d2b7172
From: Sébastien Gonzalve <sebastien.gonzalve@aliceadsl.fr>
Date: Tue, 3 May 2022 20:26:25 +0200
Subject: [PATCH] Fix ffmpeg compilation on FC36
The new version stats:
2021-04-27 - 46dac8cf3d - lavf 59.0.100 - avformat.h
av_find_best_stream now uses a const AVCodec ** parameter
for the returned decoder.
So performous needs a patch to add const when needed.
--- a/game/ffmpeg.cc
+++ b/game/ffmpeg.cc
@@ -251,6 +251,9 @@ FFmpeg::FFmpeg(fs::path const& _filename, int mediaType) : m_filename(_filename)
if (err < 0) throw Error(*this, err);
m_formatContext->flags |= AVFMT_FLAG_GENPTS;
// Find a track and open the codec
+#if (LIBAVFORMAT_VERSION_INT) >= (AV_VERSION_INT(59, 0, 100))
+ const
+#endif
AVCodec* codec = nullptr;
m_streamId = av_find_best_stream(m_formatContext.get(), static_cast<AVMediaType>(mediaType), -1, -1, &codec, 0);
if (m_streamId < 0) throw Error(*this, m_streamId);

View File

@@ -1,102 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
# CED is only used in 1.2.0 and can be dropped on bump, no LICENSE
# changes needed given Apache-2.0 is also used by installed fonts
HASH_CED=9ca1351fe0b1e85992a407b0fc54a63e9b3adc6e
DESCRIPTION="SingStar GPL clone"
HOMEPAGE="https://performous.org/"
SRC_URI="
https://github.com/performous/performous/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz
https://github.com/performous/compact_enc_det/archive/${HASH_CED}.tar.gz
-> ${PN}-ced-${HASH_CED}.tar.gz
songs? (
https://downloads.sourceforge.net/performous/ultrastar-songs-jc-1.zip
https://downloads.sourceforge.net/performous/ultrastar-songs-libre-3.zip
https://downloads.sourceforge.net/performous/ultrastar-songs-restricted-3.zip
https://downloads.sourceforge.net/performous/ultrastar-songs-shearer-1.zip
)"
LICENSE="
GPL-2
Apache-2.0 OFL-1.1
songs? ( CC-BY-NC-SA-2.5 CC-BY-NC-ND-2.5 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="midi songs webcam"
RDEPEND="
dev-cpp/libxmlpp:5.0
dev-libs/boost:=[nls]
dev-libs/glib:2
dev-libs/icu:=
gnome-base/librsvg:2
media-libs/aubio:=[fftw]
media-libs/fontconfig:1.0
media-libs/glm
media-libs/libepoxy
media-libs/libjpeg-turbo:=
media-libs/libpng:=
media-libs/libsdl2[joystick,opengl,video]
media-libs/portaudio
media-video/ffmpeg:=
virtual/libintl
x11-libs/cairo
x11-libs/pango
midi? ( media-libs/portmidi )
webcam? ( media-libs/opencv:= )"
DEPEND="${RDEPEND}"
BDEPEND="
sys-apps/help2man
sys-devel/gettext
songs? ( app-arch/unzip )"
PATCHES=(
"${FILESDIR}"/${P}-ffmpeg5.patch
)
src_prepare() {
cmake_src_prepare
if [[ -v LINGUAS ]]; then
local po
for po in lang/*.po; do
: "${po#*/}"
has "${_%.*}" ${LINGUAS} || rm "${po}" || die
done
fi
# glibmm is only needed if libxmlpp:2.6, but :5.0 is used if available
sed -i '/Glibmm/d' cmake/Modules/FindLibXML++.cmake || die
}
src_configure() {
local mycmakeargs=(
-DENABLE_MIDI=$(usex midi)
-DENABLE_WEBCAM=$(usex webcam)
-DFETCHCONTENT_SOURCE_DIR_CED-SOURCES="${WORKDIR}"/compact_enc_det-${HASH_CED}
-DSHARE_INSTALL="${EPREFIX}"/usr/share/${PN}
# webserver needs unpackaged cpprestsdk which is not recommended for
# use by its upstream (dead), may consider adding only if requested
-DENABLE_WEBSERVER=no
)
cmake_src_configure
}
src_install() {
local DOCS=( README.md docs/{Authors,instruments}.txt )
cmake_src_install
insinto /usr/share/${PN}
use songs && doins -r "${WORKDIR}"/songs
gzip -d "${ED}"/usr/share/man/man6/${PN}.6.gz || die
}