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: Sun, 01 Jan 2023 12:30:19
Message-Id: 1672576210.f81dbcf454b91dd47c1763ce879ed4208297c90b.xgqt@gentoo
1 commit: f81dbcf454b91dd47c1763ce879ed4208297c90b
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 31 15:46:13 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 1 12:30:10 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f81dbcf4
7
8 games-emulation/ppsspp: properly pick up python
9
10 Closes: https://bugs.gentoo.org/800905
11 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
12
13 .../ppsspp/{ppsspp-1.14.1.ebuild => ppsspp-1.14-r1.ebuild} | 9 ++++++++-
14 .../ppsspp/{ppsspp-1.14.ebuild => ppsspp-1.14.1-r1.ebuild} | 9 ++++++++-
15 2 files changed, 16 insertions(+), 2 deletions(-)
16
17 diff --git a/games-emulation/ppsspp/ppsspp-1.14.1.ebuild b/games-emulation/ppsspp/ppsspp-1.14-r1.ebuild
18 similarity index 90%
19 rename from games-emulation/ppsspp/ppsspp-1.14.1.ebuild
20 rename to games-emulation/ppsspp/ppsspp-1.14-r1.ebuild
21 index 97e3e57bd6db..b8d1f94a03d8 100644
22 --- a/games-emulation/ppsspp/ppsspp-1.14.1.ebuild
23 +++ b/games-emulation/ppsspp/ppsspp-1.14-r1.ebuild
24 @@ -3,7 +3,9 @@
25
26 EAPI=8
27
28 -inherit xdg cmake
29 +PYTHON_COMPAT=( python3_{8..11} )
30 +
31 +inherit python-any-r1 xdg cmake
32
33 DESCRIPTION="A PSP emulator written in C++"
34 HOMEPAGE="https://www.ppsspp.org/
35 @@ -37,12 +39,17 @@ RDEPEND="
36 !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
37 "
38 DEPEND="${RDEPEND}"
39 +BDEPEND="${PYTHON_DEPS}"
40
41 PATCHES=(
42 "${FILESDIR}"/${PN}-CMakeLists-flags.patch
43 "${FILESDIR}"/${PN}-disable-ccache-autodetection.patch
44 )
45
46 +pkg_setup() {
47 + python-any-r1_pkg_setup
48 +}
49 +
50 src_configure() {
51 local mycmakeargs=(
52 -DCMAKE_SKIP_RPATH=ON
53
54 diff --git a/games-emulation/ppsspp/ppsspp-1.14.ebuild b/games-emulation/ppsspp/ppsspp-1.14.1-r1.ebuild
55 similarity index 90%
56 rename from games-emulation/ppsspp/ppsspp-1.14.ebuild
57 rename to games-emulation/ppsspp/ppsspp-1.14.1-r1.ebuild
58 index 97e3e57bd6db..b8d1f94a03d8 100644
59 --- a/games-emulation/ppsspp/ppsspp-1.14.ebuild
60 +++ b/games-emulation/ppsspp/ppsspp-1.14.1-r1.ebuild
61 @@ -3,7 +3,9 @@
62
63 EAPI=8
64
65 -inherit xdg cmake
66 +PYTHON_COMPAT=( python3_{8..11} )
67 +
68 +inherit python-any-r1 xdg cmake
69
70 DESCRIPTION="A PSP emulator written in C++"
71 HOMEPAGE="https://www.ppsspp.org/
72 @@ -37,12 +39,17 @@ RDEPEND="
73 !qt5? ( media-libs/libsdl2[X,opengl,sound,video] )
74 "
75 DEPEND="${RDEPEND}"
76 +BDEPEND="${PYTHON_DEPS}"
77
78 PATCHES=(
79 "${FILESDIR}"/${PN}-CMakeLists-flags.patch
80 "${FILESDIR}"/${PN}-disable-ccache-autodetection.patch
81 )
82
83 +pkg_setup() {
84 + python-any-r1_pkg_setup
85 +}
86 +
87 src_configure() {
88 local mycmakeargs=(
89 -DCMAKE_SKIP_RPATH=ON