public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/, games-emulation/pcsx2/files/
Date: Thu, 01 May 2025 07:35:01 +0000 (UTC)	[thread overview]
Message-ID: <1746084888.0def01c726e66b580a7eef4d1c4fc47de9a3384d.ionen@gentoo> (raw)

commit:     0def01c726e66b580a7eef4d1c4fc47de9a3384d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu May  1 07:11:02 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu May  1 07:34:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0def01c7

games-emulation/pcsx2: update live

Have not really looked into pluto(s)vg packages to know if they
should have one or if pcsx2 upstream should be using pkg-config,
so just doing a quick workaround for now.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../pcsx2/files/pcsx2-2.3.275-missing-header.patch           |  7 +++++++
 .../pcsx2/files/pcsx2-2.3.309-pluto-pkgconf.patch            | 12 ++++++++++++
 games-emulation/pcsx2/pcsx2-9999.ebuild                      |  4 ++++
 3 files changed, 23 insertions(+)

diff --git a/games-emulation/pcsx2/files/pcsx2-2.3.275-missing-header.patch b/games-emulation/pcsx2/files/pcsx2-2.3.275-missing-header.patch
new file mode 100644
index 000000000000..1c16806f1249
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-2.3.275-missing-header.patch
@@ -0,0 +1,7 @@
+GSHwHack.cpp:799:55: error: no member named 'exp2' in namespace 'std'
+--- a/pcsx2/GS/Renderers/HW/GSHwHack.cpp
++++ b/pcsx2/GS/Renderers/HW/GSHwHack.cpp
+@@ -7,2 +7,3 @@
+ #include "GS/GSUtil.h"
++#include <cmath>
+ 

diff --git a/games-emulation/pcsx2/files/pcsx2-2.3.309-pluto-pkgconf.patch b/games-emulation/pcsx2/files/pcsx2-2.3.309-pluto-pkgconf.patch
new file mode 100644
index 000000000000..4cae3001ca13
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2-2.3.309-pluto-pkgconf.patch
@@ -0,0 +1,12 @@
+--- a/cmake/SearchForStuff.cmake
++++ b/cmake/SearchForStuff.cmake
+@@ -22,2 +22,5 @@
+-find_package(plutovg 0.0.13 REQUIRED)
+-find_package(plutosvg 0.0.6 REQUIRED)
++find_package(PkgConfig REQUIRED)
++pkg_check_modules(plutovg REQUIRED IMPORTED_TARGET plutovg)
++alias_library(plutovg::plutovg PkgConfig::plutovg)
++pkg_check_modules(plutosvg REQUIRED IMPORTED_TARGET plutosvg)
++alias_library(plutosvg::plutosvg PkgConfig::plutosvg)
+@@ -74 +76,0 @@
+-		find_package(PkgConfig REQUIRED)

diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 25692d762b9a..583d8bec9d8c 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -41,6 +41,8 @@ COMMON_DEPEND="
 	media-libs/libpng:=
 	media-libs/libsdl3
 	media-libs/libwebp:=
+	media-libs/plutosvg
+	media-libs/plutovg
 	media-video/ffmpeg:=
 	net-libs/libpcap
 	net-misc/curl
@@ -85,6 +87,8 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-1.7.5835-musl-header.patch
 	"${FILESDIR}"/${PN}-1.7.5913-musl-cache.patch
 	"${FILESDIR}"/${PN}-2.2.0-missing-header.patch
+	"${FILESDIR}"/${PN}-2.3.275-missing-header.patch
+	"${FILESDIR}"/${PN}-2.3.309-pluto-pkgconf.patch
 )
 
 src_prepare() {


             reply	other threads:[~2025-05-01  7:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-01  7:35 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 13:16 [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/, games-emulation/pcsx2/files/ Ionen Wolkens
2024-05-31  4:37 Ionen Wolkens
2024-05-17  5:21 Ionen Wolkens
2024-03-20  7:17 Ionen Wolkens
2023-11-27  5:15 Ionen Wolkens
2023-08-25  4:41 Ionen Wolkens
2023-08-06  4:32 Ionen Wolkens
2023-07-01  9:07 Ionen Wolkens
2023-04-05 13:25 Ionen Wolkens
2022-12-24 16:03 Ionen Wolkens
2022-10-27 22:19 Ionen Wolkens
2022-10-21 10:27 Ionen Wolkens
2022-10-01 13:19 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-02-19 10:45 Ionen Wolkens
2021-02-20 10:10 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1746084888.0def01c726e66b580a7eef4d1c4fc47de9a3384d.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox