From 3e6b9525542cbbe8a58f27f76f527b781ca7674a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 22 Sep 2023 15:45:37 +0200 Subject: [PATCH] games-emulation/ppsspp: bump to 1.16.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- games-emulation/ppsspp/Manifest | 1 + games-emulation/ppsspp/ppsspp-1.16.3.ebuild | 75 +++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 games-emulation/ppsspp/ppsspp-1.16.3.ebuild diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest index 5465a792206ed..c4f28cf95546d 100644 --- a/games-emulation/ppsspp/Manifest +++ b/games-emulation/ppsspp/Manifest @@ -1,4 +1,5 @@ DIST ppsspp-1.15.4.tar.xz 51947468 BLAKE2B c6a5e621b02556b791ec41389f17dede63811c87ff628b8f1304ac950071b365ecc9be05f4042e4e3b81e77f5a14b6931577f08b0174fec821350a1d7eca4d6a SHA512 9d2c140b0d633e5ca6191aaf276b7e4f6d029f29d1313a45fb78ee3879fec09f57d816604c51474ab6fe9cde713787d5769e87466d3c3015fe6a9b195ff198d2 DIST ppsspp-1.16.1.tar.xz 50656184 BLAKE2B ec32ab91334889251eded8e72a1229af2566bb5c423236c8cbb6206d48e5aab625aa430b99e55cedd582525dcda9bbf8f21336ff468a1b57fa618999badd0628 SHA512 ad67739060730875fe5cb321d82f562bfa9cf8d6f130013e89d77bd4b7a1daa3efeaf3f6ad846efaaa5ae5a2ef4308a24228548f35f19c51f5ec044ea9052dd3 DIST ppsspp-1.16.2.tar.xz 51098300 BLAKE2B 48c3981a3b3f732281afe52140df25ed2c061ecc72fe88638f4c5854a447bc1a5a659272fa87d15d2174b6dc8164c226844dc1e2de4cd2088f0f9c423695e768 SHA512 ab3834651385e4f8a4728b27e7772da6a3821d96aa10ece9e15de1db3a7825bbf104aa1f5846de6f14c4b284db8d56d4757e77c4545305b300d1c296a2845f40 +DIST ppsspp-1.16.3.tar.xz 51106268 BLAKE2B 5908fb0b118007087c1394c46ca6e79cb542d14536caa5aa70271f69639def69012ad6cbb11bd40ac6966c9e733f0004a4589595f0c51c7d402fcf08c078d292 SHA512 b3549791b738c767e81c68b2de3524f71ff9b4020fc06d0f5653d0e34462575e94c79d01f41c0ddeaba5be27098c594c158686040ce2246a6cf719b05309ccdf DIST ppsspp-1.16.tar.xz 50656132 BLAKE2B 5149bd859134a76a191e0f144bdcefc4c521276ebb1390fe5e24eeeb1227b77bab0458a760f29aed5ba169d566f12d5226f2b50a19e44172f1ad98c4eb8f400f SHA512 d65a8c9fb5d7ff45a99f5852d1071029bc51c1e8bdb45b3e78d961a46587553db4465bbd97b301db54a94b60772359929524047f08de3067cd3336f5f7717826 diff --git a/games-emulation/ppsspp/ppsspp-1.16.3.ebuild b/games-emulation/ppsspp/ppsspp-1.16.3.ebuild new file mode 100644 index 0000000000000..6093ddbdd3082 --- /dev/null +++ b/games-emulation/ppsspp/ppsspp-1.16.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit 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}.git" +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 qt5" +RESTRICT="test" + +RDEPEND=" + app-arch/snappy:= + app-arch/zstd:= + dev-libs/libzip:= + media-libs/glew:= + media-libs/libpng:= + media-libs/libsdl2[joystick] + media-video/ffmpeg:0/56.58.58 + sys-libs/zlib:= + virtual/opengl + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[-gles2-only] + dev-qt/qtmultimedia:5[-gles2-only] + dev-qt/qtopengl:5[-gles2-only] + dev-qt/qtwidgets:5[-gles2-only] + ) + !qt5? ( media-libs/libsdl2[X,opengl,sound,video] ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +PATCHES=( + "${FILESDIR}"/${PN}-CMakeLists-flags.patch + "${FILESDIR}"/${PN}-disable-ccache-autodetection.patch +) + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_configure() { + local -a mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF + -DCMAKE_SKIP_RPATH=ON + -DHEADLESS=false + -DUSE_SYSTEM_FFMPEG=ON + -DUSE_SYSTEM_LIBZIP=ON + -DUSE_SYSTEM_SNAPPY=ON + -DUSE_SYSTEM_ZSTD=ON + -DUSE_DISCORD=$(usex discord) + -DUSING_QT_UI=$(usex qt5) + ) + cmake_src_configure +}