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