From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1473348-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 CDE4415800F
	for <garchives@archives.gentoo.org>; Mon,  2 Jan 2023 12:26:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 229DEE08E0;
	Mon,  2 Jan 2023 12:26:15 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 063A7E08E0
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Jan 2023 12:26:15 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 287CE335D7F
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Jan 2023 12:26:14 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AE1647FA
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Jan 2023 12:26:12 +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: <1672661517.9e22335269bd24bc897c306d4b109c2427c4c727.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.14.3.ebuild
X-VCS-Directories: games-emulation/ppsspp/
X-VCS-Committer: xgqt
X-VCS-Committer-Name: Maciej Barć
X-VCS-Revision: 9e22335269bd24bc897c306d4b109c2427c4c727
X-VCS-Branch: master
Date: Mon,  2 Jan 2023 12:26:12 +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: cf25caf1-b610-4afe-98b9-95c87a830511
X-Archives-Hash: c954859bc462de2c6ac27f12d4d9d08e

commit:     9e22335269bd24bc897c306d4b109c2427c4c727
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 10:53:02 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 12:11:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e223352

games-emulation/ppsspp: bump to 1.14.3

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

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

diff --git a/games-emulation/ppsspp/Manifest b/games-emulation/ppsspp/Manifest
index aedbad47288f..01b4c0592475 100644
--- a/games-emulation/ppsspp/Manifest
+++ b/games-emulation/ppsspp/Manifest
@@ -1,2 +1,3 @@
 DIST ppsspp-1.14.1.tar.xz 46414036 BLAKE2B c0076550aea53a878e199c5767bab005df266436d0dc7acb1dc00537c4709854287202f8c5525871c93b103a59406d03b19481a644f9d5985f83d8703659d457 SHA512 b33e43e14eafeea54d40f4f0d332d4f683b80ef6dace66e6101199e7141829b7858c7f94d5a4696393022c0453fcd7ce77858279a31b2ffba5bfcaa72e675b18
 DIST ppsspp-1.14.2.tar.xz 46414560 BLAKE2B 3b1cc4a1f7824be4fe0e9abaf52df333965a9b2000bb412b71ea8308a75d4f250ff80c8097856720eb6339926e0b73bb725844f6cabeededc0c2475342a003a9 SHA512 767345235faa54c6a0c19c41fead43f67c39d7f84cd3d573523a745cd082166910090789a985873be047ecaf17513ef318362041f5dcc2b068b1ff061d787f79
+DIST ppsspp-1.14.3.tar.xz 46406760 BLAKE2B 29eb88cf32276aa9730865f4df2c8d4481a6723e1a24c4f6efab35a1e80eae2f7ca799b14f381321b41985e7ccc32bacf2ce229abd8ea4ba5a62a4d4e9515918 SHA512 7c61523245a6b8a2e793123864a7758aca230ff76ee6510d71fcd65fc71b71aad48567ae6deb8ac9c4c4a624fb53dc99a68fc70c8ce843d5428eae39d2d87ba0

diff --git a/games-emulation/ppsspp/ppsspp-1.14.3.ebuild b/games-emulation/ppsspp/ppsspp-1.14.3.ebuild
new file mode 100644
index 000000000000..68d009557eee
--- /dev/null
+++ b/games-emulation/ppsspp/ppsspp-1.14.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_{8..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:=
+	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}"
+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 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
+}