From 2512faa12f58e69a2f3e27e13e10fd0aef3ab384 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Aug 2022 04:45:37 +0100 Subject: gentoo auto-resync : 29:08:2022 - 04:45:37 --- games-emulation/Manifest.gz | Bin 9522 -> 9523 bytes games-emulation/ppsspp/Manifest | 2 + .../ppsspp-disable-ccache-autodetection.patch | 26 ++++++ games-emulation/ppsspp/ppsspp-1.13-r1.ebuild | 102 +++++++++++++++++++++ 4 files changed, 130 insertions(+) create mode 100644 games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch create mode 100644 games-emulation/ppsspp/ppsspp-1.13-r1.ebuild (limited to 'games-emulation') diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz index e88a37e50e06..9d99b2d9c226 100644 Binary files a/games-emulation/Manifest.gz and b/games-emulation/Manifest.gz differ diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest index b8f26bb3ffcf..886108c751d7 100644 --- a/games-emulation/ppsspp/Manifest +++ b/games-emulation/ppsspp/Manifest @@ -1,4 +1,5 @@ AUX ppsspp-CMakeLists-flags.patch 913 BLAKE2B 7bd5df94b51dad35325586f7ad23284436ba670a8c2218a4a6bfb28fb5a055240aeb0543fe331310a0d86d3661cbdf418689a592139ff832802ba1fabbd10fc3 SHA512 5b2ee899b2fbed7229d4abc027e2a010327be4d334e343f977319c475feaf2d180bd74d3640022d0175b11e8256035c828dd4cf03c8a5b9240c989b2d7f72fb7 +AUX ppsspp-disable-ccache-autodetection.patch 753 BLAKE2B aa580bb2c657830bb079618e83903c4a0e28aa13acd612592f58feae2b0ef98535ea6f7e3c76aa9e74004aa80367aea372aec443bb2b789d5f3e7359872ea34f SHA512 cbf1f6e9f200cfa3b51bb84e09206a85aaea38511c0036a24d5e12547c659019fe88fbf221d2f7ddbdb9f0129f8b0fabb24baa594c658ab5ab584a0a723bc1c4 DIST ppsspp-1.11.3_p20210627-assets_lang.tar.gz 664123 BLAKE2B 8d96634eb3e930f7f97e8ac24d97eba1e2e7fce3a8f4dbe5a8a4c0c0438a24e981769c3638d7e7770eb1a3af2827a3ece0996fdba8cf668d2c058e3d20741e94 SHA512 691cb38c65ca20700dc5b91c0dc02eec1839f153e042c87f8f4fd480e44c823c0ece9f4752f5e597f2aa4b5cfb22aaf49d76ff990eb2dd5231cc4065dd62566d DIST ppsspp-1.11.3_p20210627-ext_SPIRV-Cross.tar.gz 1441538 BLAKE2B 011a0bc8fea2a5986b5884f315d877d0de111dbda226cc6aa5eaf11c0b2cb14acfd94c1279fb80f0a48b27d1a2117487f634a0888f7499d733261c0ced94ea89 SHA512 be77131814691dfbe65de3a2d3ea65de98c7169824997056637bbce39485327ff0f64e7eed8588237615948824e1f9dff1d083472b8cbccd3748a52379411e4e DIST ppsspp-1.11.3_p20210627-ext_armips.tar.gz 197263 BLAKE2B 2b2cbeaabf5fb5f0b5cbf8c93ea61d4546e04054f54be5a7dad081ca0aaacf09d1fe1cc710fd0c66f28c7d4c84b98961a6d96bb9cea941f8b02492c1dff6344d SHA512 2a94e2c7b7280c00a39c8fc92d81ed15fc4b3270a124ef882e3cd8878db6ec827aefa06b0e646a60916636a95e4ebfa886e9878ba70c6bcfcd048def457368be @@ -31,5 +32,6 @@ DIST ppsspp-1.13-ext_zstd.tar.gz 1868621 BLAKE2B abbd48a18c587fc6c413c3df32aa6b7 DIST ppsspp-1.13.tar.gz 31675858 BLAKE2B bfad05d3097481699f555ed16582731a512d14ab36214470d76c5437f7d0d634825546a94eb511568cf291e1a785a3ac392222aa3cc01db6a063816d4e7ee551 SHA512 73233c3da6787808696fa961d9c42127e893be088ecb7eb6d2767392b94eccf35b39c476d17973dd2a34891feb17ca33883b50f90f5e90cf9e758bae1a32452f EBUILD ppsspp-1.11.3_p20210627-r2.ebuild 3054 BLAKE2B 8ca37316d56bd8af3608f841f559e0c4e6ede699d9d800f1b5bd47ebea7ea279d4790329616bbfcd91fce36a2a21ade079de200d735006e145021efaa8c524d6 SHA512 902a956249dbcead560594b174f5e7d525bfbde2852133f643d939854f94b0dfc4bc8609a225137668adb0cc2d6eaf342b219973335a791c10012ea19ab5a67a EBUILD ppsspp-1.12.3-r1.ebuild 2960 BLAKE2B 1acd9ad12a4703b3bbcfb45518ade6475b0db80e45804dc3564318eb9791f5089f73a4132ba0edf463cc61580b25c1939be9164a39985969002396808cf189c5 SHA512 4c9b07f9eba1e5c8f70ece68bfe8764e59a3a8bfafcde44820040be8e8fb8a3302cc629e7872b202c3d9bbb0807ecc1d31753a7ce151330fd52cdda7b7e1c3c0 +EBUILD ppsspp-1.13-r1.ebuild 2990 BLAKE2B c85742c8dc58c54625b5209a86aecbc66ea7e9ffae193e31e33b66c7a154bb1386aa3147b8cf2810e3e25d85e70b50a00937d91e3dc7b5bd6e19f85c52261871 SHA512 65aec275632349561e1b9518af9ef930db0492617a257e2583da76ffd0df786078058504e3863ad680dc6058526b78a1c245f1e3037eba454276c6e74a3858ac EBUILD ppsspp-1.13.ebuild 3018 BLAKE2B 9535171be9755129d1594d6d149ce5790b3c71286291481f43777f8015e81baffdb4e16600f99ad151ebdc1aa1c08b537db2bf54c6588df5536b0a0d0beb891d SHA512 96bfc3aa24c84eb7f386115fde6aa61d5f297a463761c6b7b37f1250e5968728b11f39d7549e4a13c1e494611fb41b1c2ebfb53299dd6c0b79f689f5f56e1a83 MISC metadata.xml 526 BLAKE2B 19d0378d36d2b1d81ce404a95d98488b54f4368c72a7397b6d7c9a444edec9c19d146295cfc247a75aca1e1b5d1643161a627b80ea76aa8d43189a5eb14380c2 SHA512 7a8c8a7c05acdc110422d7c38552c8106d1886a672e6bda1212ce9cba737ae5e89e6624010d5bc3149b8da7c061b10295a721c74e7377587ec52ec7be2237855 diff --git a/games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch b/games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch new file mode 100644 index 000000000000..007e64774c20 --- /dev/null +++ b/games-emulation/ppsspp/files/ppsspp-disable-ccache-autodetection.patch @@ -0,0 +1,26 @@ +From ca18b1b578ec7215277a73b6658753ff35e677ea Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" +Date: Sun, 28 Aug 2022 17:53:05 +0300 +Subject: [PATCH] Disable ccache autodetection + +Build system automagically detects ccache and use it in situations where +it should'nt do that. +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 376e2c5ad..8c382ce5c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -111,7 +111,6 @@ if(MACOSX AND NOT USE_SYSTEM_LIBSDL2) + set(SDL2_LIBRARY ${CMAKE_SOURCE_DIR}/SDL/macOS/SDL2.framework) + endif() + +-include(ccache) + include(GNUInstallDirs) + + add_definitions(-DASSETS_DIR="${CMAKE_INSTALL_FULL_DATADIR}/ppsspp/assets/") +-- +2.35.1 + diff --git a/games-emulation/ppsspp/ppsspp-1.13-r1.ebuild b/games-emulation/ppsspp/ppsspp-1.13-r1.ebuild new file mode 100644 index 000000000000..3b1688d5a6d4 --- /dev/null +++ b/games-emulation/ppsspp/ppsspp-1.13-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg cmake + +DESCRIPTION="A PSP emulator written in C++" +HOMEPAGE="https://www.ppsspp.org/" +SRC_URI=" + https://github.com/hrydgard/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/KhronosGroup/SPIRV-Cross/archive/9acb9ec31f5a8ef80ea6b994bb77be787b08d3d1.tar.gz -> ${P}-ext_SPIRV-Cross.tar.gz + https://github.com/Kingcom/armips/archive/7885552b208493a6a0f21663770c446c3ba65576.tar.gz -> ${P}-ext_armips.tar.gz + https://github.com/Tencent/rapidjson/archive/73063f5002612c6bf64fe24f851cd5cc0d83eef9.tar.gz -> ${P}-ext_rapidjson.tar.gz + https://github.com/hrydgard/glslang/archive/dc11adde23c455a24e13dd54de9b4ede8bdd7db8.tar.gz -> ${P}-ext_glslang.tar.gz + https://github.com/hrydgard/miniupnp/archive/3a87be33e797ba947b2b2a5f8d087f6c3ff4d93e.tar.gz -> ${P}-ext_miniupnp.tar.gz + https://github.com/hrydgard/ppsspp-freetype/archive/cbea79dc8fef4d9210e2bac7e7b9b5ff3388197a.tar.gz -> ${P}-ext_native_tools_prebuilt.tar.gz + https://github.com/hrydgard/ppsspp-lang/archive/3bf6b18eb0ae68861fbfbb7b43cd764771ca42a9.tar.gz -> ${P}-assets_lang.tar.gz + discord? ( https://github.com/discordapp/discord-rpc/archive/963aa9f3e5ce81a4682c6ca3d136cddda614db33.tar.gz -> ${P}-ext_discord-rpc.tar.gz ) +" + +LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="discord qt5" +RESTRICT="test" + +RDEPEND=" + app-arch/snappy:= + app-arch/zstd:= + dev-libs/libzip:= + dev-util/glslang:= + 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}" + +PATCHES=( + "${FILESDIR}/${PN}-CMakeLists-flags.patch" + "${FILESDIR}/${PN}-disable-ccache-autodetection.patch" +) + +src_unpack() { + unpack ${P}.tar.gz + + cd "${S}" || die + local list=( + assets_lang + ext_SPIRV-Cross + ext_armips + ext_glslang + ext_miniupnp + ext_native_tools_prebuilt + ext_rapidjson + ) + use discord && list+=( ext_discord-rpc ) + + local i + for i in "${list[@]}" ; do + tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || + die "Failed to unpack ${P}-${i}.tar.gz" + done +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DHEADLESS=false + -DUSE_DISCORD=$(usex discord) + -DUSE_SYSTEM_FFMPEG=ON + -DUSE_SYSTEM_LIBZIP=ON + -DUSE_SYSTEM_SNAPPY=ON + -DUSE_SYSTEM_ZSTD=ON + -DUSING_QT_UI=$(usex qt5) + ) + cmake_src_configure +} + +src_install() { + insinto /usr/share/${PN} + doins -r "${BUILD_DIR}/assets" + + local i + for i in 16 24 32 48 64 96 128 256 512 ; do + doicon -s ${i} icons/hicolor/${i}x${i}/apps/${PN}.png + done + + dobin "${BUILD_DIR}/PPSSPP$(usex qt5 Qt SDL)" + make_desktop_entry "PPSSPP$(usex qt5 Qt SDL)" "PPSSPP ($(usex qt5 Qt SDL))" +} -- cgit v1.2.3