From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 51D20158086 for ; Sat, 1 Jan 2022 08:14:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0497D2BC00A; Sat, 1 Jan 2022 08:14:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 AFDDD2BC00A for ; Sat, 1 Jan 2022 08:14:48 +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 4262234310B for ; Sat, 1 Jan 2022 08:14:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FFB526F for ; Sat, 1 Jan 2022 08:14:45 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1641024784.20799a02b1ce02cd457cda4463c0bc5592d89d64.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/pcsx2/pcsx2-9999.ebuild X-VCS-Directories: games-emulation/pcsx2/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 20799a02b1ce02cd457cda4463c0bc5592d89d64 X-VCS-Branch: master Date: Sat, 1 Jan 2022 08:14:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 698c4558-8e92-46bc-b965-80982dcdc31b X-Archives-Hash: 577c3b7a90e46bd715b8c86ee8ab4426 commit: 20799a02b1ce02cd457cda4463c0bc5592d89d64 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Jan 1 05:21:12 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Jan 1 08:13:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20799a02 games-emulation/pcsx2: update live ebuild ebuild could use more attention before an eventual release (unbundling, re-checking options/deps, wayland, making tests run), but this is just quickfixes to at least let it build. Two new dependencies: * rapidyaml(new package): replaces yaml-cpp * cubeb(submodule): replaces portaudio pcsx2 isn't currently wired to use system's cubeb and it also isn't packaged, so use submodule for now -- but it'd be good to package it eventually given other packages like yuzu (which could be nice to have in ::gentoo eventually) can use it as well. An ebuild would also help for more proper backend support, but for now hard depend on pulseaudio given it's the only one it links with. The cubeb introduction in PCSX2 is very recent so it may also be good to wait and see. Also update licenses for cubeb(ISC) and libchdr(BSD). /usr/bin/PCSX2 was also renamed to pcsx2, update ebuild to match. Removed QA_* instead of updating them given the messages do not seem to trigger anymore. Runtime wasn't really tested, could be issues -- but it'd be expected with upstream changing things around. Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/pcsx2/pcsx2-9999.ebuild | 40 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild index 6c56bf44c0de..c80113c34e62 100644 --- a/games-emulation/pcsx2/pcsx2-9999.ebuild +++ b/games-emulation/pcsx2/pcsx2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,9 +9,13 @@ inherit cmake fcaps flag-o-matic git-r3 toolchain-funcs wxwidgets DESCRIPTION="A PlayStation 2 emulator" HOMEPAGE="https://pcsx2.net/" EGIT_REPO_URI="https://github.com/PCSX2/${PN}.git" -EGIT_SUBMODULES=( 3rdparty/libchdr/libchdr ) +EGIT_SUBMODULES=( + # TODO: unbundle + 3rdparty/cubeb/cubeb + 3rdparty/libchdr/libchdr +) -LICENSE="GPL-3" +LICENSE="GPL-3 BSD ISC" SLOT="0" KEYWORDS="" IUSE="test" @@ -19,33 +23,37 @@ IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" - app-arch/bzip2 app-arch/xz-utils - dev-cpp/yaml-cpp:= + dev-cpp/rapidyaml:= + dev-libs/glib:2 dev-libs/libaio >=dev-libs/libfmt-7.1.3:= dev-libs/libxml2:2 media-libs/alsa-lib + media-libs/freetype + media-libs/libglvnd media-libs/libpng:= media-libs/libsamplerate media-libs/libsdl2[haptic,joystick,sound] - media-libs/libsoundtouch - media-libs/portaudio + media-libs/libsoundtouch:= + media-sound/pulseaudio net-libs/libpcap sys-libs/zlib - virtual/libudev - virtual/opengl + virtual/libudev:= + x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 x11-libs/libICE x11-libs/libX11 x11-libs/libXext x11-libs/wxGTK:${WX_GTK_VER}[X] " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto" BDEPEND="test? ( dev-cpp/gtest )" FILECAPS=( - -m 755 "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2 + -m 755 "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/pcsx2 ) pkg_setup() { @@ -73,7 +81,6 @@ src_configure() { -DDISABLE_PCSX2_WRAPPER=TRUE -DDISABLE_SETCAP=TRUE -DENABLE_TESTS="$(usex test)" - -DOPTIMIZATION_FLAG= -DPACKAGE_MODE=TRUE -DXDG_STD=TRUE @@ -87,12 +94,3 @@ src_configure() { setup-wxwidgets cmake_src_configure } - -src_install() { - # Upstream issues: - # https://github.com/PCSX2/pcsx2/issues/417 - # https://github.com/PCSX2/pcsx2/issues/3077 - QA_EXECSTACK="usr/bin/PCSX2" - QA_TEXTRELS="usr/$(get_libdir)/PCSX2/* usr/bin/PCSX2" - cmake_src_install -}