Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/
Date: Mon, 02 Jan 2023 12:26:15
Message-Id: 1672661517.9e22335269bd24bc897c306d4b109c2427c4c727.xgqt@gentoo
1 commit: 9e22335269bd24bc897c306d4b109c2427c4c727
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 10:53:02 2023 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 12:11:57 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e223352
7
8 games-emulation/ppsspp: bump to 1.14.3
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 games-emulation/ppsspp/Manifest | 1 +
13 games-emulation/ppsspp/ppsspp-1.14.3.ebuild | 65 +++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
17 index aedbad47288f..01b4c0592475 100644
18 --- a/games-emulation/ppsspp/Manifest
19 +++ b/games-emulation/ppsspp/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ppsspp-1.14.1.tar.xz 46414036 BLAKE2B c0076550aea53a878e199c5767bab005df266436d0dc7acb1dc00537c4709854287202f8c5525871c93b103a59406d03b19481a644f9d5985f83d8703659d457 SHA512 b33e43e14eafeea54d40f4f0d332d4f683b80ef6dace66e6101199e7141829b7858c7f94d5a4696393022c0453fcd7ce77858279a31b2ffba5bfcaa72e675b18
22 DIST ppsspp-1.14.2.tar.xz 46414560 BLAKE2B 3b1cc4a1f7824be4fe0e9abaf52df333965a9b2000bb412b71ea8308a75d4f250ff80c8097856720eb6339926e0b73bb725844f6cabeededc0c2475342a003a9 SHA512 767345235faa54c6a0c19c41fead43f67c39d7f84cd3d573523a745cd082166910090789a985873be047ecaf17513ef318362041f5dcc2b068b1ff061d787f79
23 +DIST ppsspp-1.14.3.tar.xz 46406760 BLAKE2B 29eb88cf32276aa9730865f4df2c8d4481a6723e1a24c4f6efab35a1e80eae2f7ca799b14f381321b41985e7ccc32bacf2ce229abd8ea4ba5a62a4d4e9515918 SHA512 7c61523245a6b8a2e793123864a7758aca230ff76ee6510d71fcd65fc71b71aad48567ae6deb8ac9c4c4a624fb53dc99a68fc70c8ce843d5428eae39d2d87ba0
24
25 diff --git a/games-emulation/ppsspp/ppsspp-1.14.3.ebuild b/games-emulation/ppsspp/ppsspp-1.14.3.ebuild
26 new file mode 100644
27 index 000000000000..68d009557eee
28 --- /dev/null
29 +++ b/games-emulation/ppsspp/ppsspp-1.14.3.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit python-any-r1 xdg cmake
39 +
40 +DESCRIPTION="A PSP emulator written in C++"
41 +HOMEPAGE="https://www.ppsspp.org/
42 + https://github.com/hrydgard/ppsspp/"
43 +SRC_URI="https://github.com/hrydgard/${PN}/releases/download/v${PV}/${P}.tar.xz"
44 +
45 +LICENSE="Apache-2.0 BSD BSD-2 GPL-2 JSON MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="discord qt5"
49 +RESTRICT="test"
50 +
51 +RDEPEND="
52 + app-arch/snappy:=
53 + app-arch/zstd:=
54 + dev-libs/libzip:=
55 + dev-util/glslang:=
56 + media-libs/glew:=
57 + media-libs/libpng:=
58 + media-libs/libsdl2[joystick]
59 + media-video/ffmpeg:0/56.58.58
60 + sys-libs/zlib:=
61 + virtual/opengl
62 + qt5? (
63 + dev-qt/qtcore:5
64 + dev-qt/qtgui:5[-gles2-only]
65 + dev-qt/qtmultimedia:5[-gles2-only]
66 + dev-qt/qtopengl:5[-gles2-only]
67 + dev-qt/qtwidgets:5[-gles2-only]
68 + )
69 + !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
70 +"
71 +DEPEND="${RDEPEND}"
72 +BDEPEND="${PYTHON_DEPS}"
73 +
74 +PATCHES=(
75 + "${FILESDIR}"/${PN}-CMakeLists-flags.patch
76 + "${FILESDIR}"/${PN}-disable-ccache-autodetection.patch
77 +)
78 +
79 +pkg_setup() {
80 + python-any-r1_pkg_setup
81 +}
82 +
83 +src_configure() {
84 + local mycmakeargs=(
85 + -DCMAKE_SKIP_RPATH=ON
86 + -DHEADLESS=false
87 + -DUSE_DISCORD=$(usex discord)
88 + -DUSE_SYSTEM_FFMPEG=ON
89 + -DUSE_SYSTEM_LIBZIP=ON
90 + -DUSE_SYSTEM_SNAPPY=ON
91 + -DUSE_SYSTEM_ZSTD=ON
92 + -DUSING_QT_UI=$(usex qt5)
93 + )
94 + cmake_src_configure
95 +}