From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1516476-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3C9A115ACFC
	for <garchives@archives.gentoo.org>; Sun,  7 May 2023 15:21:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 79096E07D3;
	Sun,  7 May 2023 15:21:42 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 43093E07D3
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 May 2023 15:21:42 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 586E4341356
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 May 2023 15:21:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C66CD8B7
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 May 2023 15:21:39 +0000 (UTC)
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" <xgqt@gentoo.org>
Message-ID: <1683472895.1df084eef400167af755890874065696420af8ea.xgqt@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/ppsspp/
X-VCS-Repository: repo/gentoo
X-VCS-Files: games-emulation/ppsspp/Manifest games-emulation/ppsspp/ppsspp-1.15.3.ebuild
X-VCS-Directories: games-emulation/ppsspp/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: 1df084eef400167af755890874065696420af8ea
X-VCS-Branch: master
Date: Sun,  7 May 2023 15:21:39 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 224bfb13-fa24-41ca-bbf5-46cf2db89905
X-Archives-Hash: 55ec69d7bdd11c6c005146621d9d74a8

commit:     1df084eef400167af755890874065696420af8ea
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May  7 14:40:44 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May  7 15:21:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1df084ee

games-emulation/ppsspp: bump to 1.15.3

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 games-emulation/ppsspp/Manifest             |  1 +
 games-emulation/ppsspp/ppsspp-1.15.3.ebuild | 65 +++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index af650650b068..f83aeecbf486 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -1,4 +1,5 @@
 DIST ppsspp-1.14.2.tar.xz 46414560 BLAKE2B 3b1cc4a1f7824be4fe0e9abaf52df333965a9b2000bb412b71ea8308a75d4f250ff80c8097856720eb6339926e0b73bb725844f6cabeededc0c2475342a003a9 SHA512 767345235faa54c6a0c19c41fead43f67c39d7f84cd3d573523a745cd082166910090789a985873be047ecaf17513ef318362041f5dcc2b068b1ff061d787f79
 DIST ppsspp-1.14.4.tar.xz 46405556 BLAKE2B 6ba958e8bcefffeeb0d05f3c14cf7381737a02deed27c45d564ba4e556af5654e51ffad5c8a8f880ce85b8916db4ed51b8be13c1ca01f7b6d7b28fa266425605 SHA512 144f5af637f747c745a34d28c95d498cfc736777240ad4eb0a08721af2fcb36106cf93a73d49df0fb572ee7ec78b4bc0965c9f4b3845e9457a4d7c967b8389ec
 DIST ppsspp-1.15.2.tar.xz 52180064 BLAKE2B b1925205a1c71e27eb14cdcd1c29a2c1d09e06b8875110d08971e157c4d11a3f69907c8bd80954bbec05c44f2c6de58eecbdcb7118684c94184755e25226f0de SHA512 3bb230c752910dcaeb11c40a1c8565208184aea8c0f8a6fa3f14f6c75c73511dfbc47cbfad419ac2fd0796acc66762c436aacf5e6610860c7d6e54aad9546bc5
+DIST ppsspp-1.15.3.tar.xz 52171404 BLAKE2B a4a5a6981beb4239a9b1d61a12f287493b81e6a8ee621b4854439fe9a7130ce76704f59f5b68f93fb4d5edb8f01ab9f03aea762e648cc0ac282c954833ffa298 SHA512 fee79e5410691262798f9b3c3bc940135bc4fa5ad005602ea44898f4047a446ad6e232a7ba78ba2a771f34ef1a5ced429e46eed318d2573e461443b9f2686154
 DIST ppsspp-1.15.tar.xz 52176784 BLAKE2B f0733edd114e09c3dfc4910fb48b7c5687af06faf39ed9184429d5f9ad0af3149a9270426b92eccbe97f61e436e7399c49e4feb0db05ce9df4d4177d091d7a08 SHA512 88e97f964e826cf791725ed62178dbfa456094af06a1c896df640b24a4e2ae8ed79e0ae63cb29cc6a92e83ecd63ab60013ddf32333fb1e8b5024a6e3fce6b71f

diff --git a/games-emulation/ppsspp/ppsspp-1.15.3.ebuild b/games-emulation/ppsspp/ppsspp-1.15.3.ebuild
new file mode 100644
index 000000000000..9653b9ec6119
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.15.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit python-any-r1 xdg cmake
+
+DESCRIPTION="A PSP emulator written in C++"
+HOMEPAGE="https://www.ppsspp.org/
+	https://github.com/hrydgard/ppsspp/"
+SRC_URI="https://github.com/hrydgard/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+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:=
+	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
+}