games-emulation/ppsspp: drop old 1.20.3

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-06-18 10:34:19 +02:00
parent dae3556f47
commit 07d520d3ea
2 changed files with 0 additions and 105 deletions

View File

@@ -1,2 +1 @@
DIST ppsspp-1.20.3.tar.xz 60499536 BLAKE2B 6cb4d7bebfce8b5eb2a6c4c0872c764f70b33f760e7bd093c5165822ec091083a74e86d2f0cc496e0380924027107ac92be504ebf6696f4ecd37460aaffeebe2 SHA512 0399ff9120efbda8958088d95aa774fa9c0d5d5b5d77de38180b7fe5d0f783335501b90465640f4a6c5a70e15d46bc463c07dc8a8e3dd79a81a6c342ba9bf66d
DIST ppsspp-1.20.4.tar.xz 60860348 BLAKE2B e734fd0ec6a74d602c05e28d79645cd34ed27c67e8825c395bf058d63e6550f9d022bbb0a6fa4339bbae6052d8da077b17f82a2df4b5043a21d8bafe3ec1f271 SHA512 0bcea5c33e58b3cfa28d5cf56b1915c663a0cc74d6c0eb7f0ec03495a81720e3ebe0b7a3f45d99de3135abef1683d9adff8327e45355bf3e24b39a32834944f7

View File

@@ -1,104 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
inherit flag-o-matic python-any-r1 xdg cmake
DESCRIPTION="A PSP emulator written in C++"
HOMEPAGE="https://www.ppsspp.org/
https://github.com/hrydgard/ppsspp/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hrydgard/${PN}"
else
SRC_URI="https://github.com/hrydgard/${PN}/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="amd64"
fi
LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
SLOT="0"
IUSE="discord test wayland"
RESTRICT="!test? ( test )"
RDEPEND="
>=media-libs/sdl2-ttf-2.24.0
app-arch/snappy:=
app-arch/zstd:=
dev-libs/libzip:=
media-libs/glew:=
media-libs/libpng:=
media-libs/libsdl2[X,opengl,sound,video,wayland?]
media-libs/libsdl2[joystick]
media-video/ffmpeg:=
virtual/opengl
virtual/zlib:=
"
DEPEND="
${RDEPEND}
"
BDEPEND="
${PYTHON_DEPS}
"
PATCHES=(
"${FILESDIR}/${PN}-1.17.1-SpvBuilder-cstdint.patch"
"${FILESDIR}/${PN}-1.17.1-cmake-cxx.patch"
)
pkg_setup() {
python-any-r1_pkg_setup
}
src_prepare() {
find . -type f \
\( -iname "*CMakeLists.txt*" -or -iname "*-config.cmake" \) \
-exec \
sed -e "/^cmake_minimum_required/I s|(.*)|(VERSION 3.20)|g" -i {} \; \
|| die
# rm -f -r ext/freetype || die
cmake_src_prepare
}
src_configure() {
# bug https://bugs.gentoo.org/926079
filter-lto
local -a mycmakeargs=(
-DBUILD_SHARED_LIBS="OFF"
-DCMAKE_SKIP_RPATH="ON"
-DUSE_CCACHE="OFF"
-DUSE_SYSTEM_FFMPEG="ON"
-DUSE_SYSTEM_LIBZIP="ON"
-DUSE_SYSTEM_SNAPPY="ON"
-DUSE_SYSTEM_ZSTD="ON"
-DATLAS_TOOL="OFF"
-DHEADLESS="OFF"
-DUSING_QT_UI="OFF"
-DUSE_DISCORD="$(usex discord)"
-DUSE_WAYLAND_WSI="$(usex wayland)"
-DUNITTEST="$(usex test)"
)
cmake_src_configure
}
src_test() {
cmake_src_test -E "glslang-testsuite|matrix_transpose"
}
src_install(){
cmake_src_install
# > /usr/lib64/libfreetype.a and other trash
rm -f -r "${ED}/usr/include" || die
rm -f -r "${ED}/usr/lib64" || die
}