diff options
author | 2023-09-13 15:06:15 +0200 | |
---|---|---|
committer | 2023-09-13 20:31:13 +0200 | |
commit | 773609db1bd3c8cea4927d3119377008b330daa3 (patch) | |
tree | a4b95b938e5703361c73ee18464da864754cd1f4 /games-emulation | |
parent | app-emacs/magit: bump to 3.3.0.50_p20230912 (diff) | |
download | gentoo-773609db1bd3c8cea4927d3119377008b330daa3.tar.gz gentoo-773609db1bd3c8cea4927d3119377008b330daa3.tar.bz2 gentoo-773609db1bd3c8cea4927d3119377008b330daa3.zip |
games-emulation/ppsspp: bump to 1.16.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/ppsspp/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/ppsspp/ppsspp-1.16.1.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest index d82b84485154..bb22be75c19a 100644 --- a/games-emulation/ppsspp/Manifest +++ b/games-emulation/ppsspp/Manifest @@ -1,2 +1,3 @@ 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.tar.xz 50656132 BLAKE2B 5149bd859134a76a191e0f144bdcefc4c521276ebb1390fe5e24eeeb1227b77bab0458a760f29aed5ba169d566f12d5226f2b50a19e44172f1ad98c4eb8f400f SHA512 d65a8c9fb5d7ff45a99f5852d1071029bc51c1e8bdb45b3e78d961a46587553db4465bbd97b301db54a94b60772359929524047f08de3067cd3336f5f7717826 diff --git a/games-emulation/ppsspp/ppsspp-1.16.1.ebuild b/games-emulation/ppsspp/ppsspp-1.16.1.ebuild new file mode 100644 index 000000000000..6093ddbdd308 --- /dev/null +++ b/games-emulation/ppsspp/ppsspp-1.16.1.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 +} |