From: "Samuel Bauer" <samuel.bauer@yahoo.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/citra/
Date: Sun, 16 Jan 2022 04:04:56 +0000 (UTC) [thread overview]
Message-ID: <1642305878.9e9ab097b7b57cc5a78bd8700f4adb75e80798f7.samuel.bauer@gentoo> (raw)
commit: 9e9ab097b7b57cc5a78bd8700f4adb75e80798f7
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Sun Jan 16 04:04:38 2022 +0000
Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Sun Jan 16 04:04:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e9ab097
games-emulation/citra: unbundle cubeb
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
games-emulation/citra/citra-9999.ebuild | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/games-emulation/citra/citra-9999.ebuild b/games-emulation/citra/citra-9999.ebuild
index aa5eff558..602d34179 100644
--- a/games-emulation/citra/citra-9999.ebuild
+++ b/games-emulation/citra/citra-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake git-r3 xdg
@@ -16,6 +16,7 @@ KEYWORDS=""
IUSE="cubeb +hle-sound nls +qt5 sdl system-libfmt +telemetry video"
DEPEND="
+ cubeb? ( media-libs/cubeb )
!hle-sound? ( media-libs/fdk-aac )
hle-sound? ( media-video/ffmpeg[fdk] )
qt5? ( nls? ( dev-qt/linguist )
@@ -82,7 +83,7 @@ src_prepare() {
if use system-libfmt; then # Unbundle libfmt
sed -i -e '/fmt/d' externals/CMakeLists.txt || die
sed -i -e 's/fmt/&::&/' -e '1ifind_package(fmt)' \
- src/{core,citra,citra_qt,dedicated_room,input_common,tests,video_core}/CMakeLists.txt
+ src/{core,citra,citra_qt,dedicated_room,input_common,tests,video_core}/CMakeLists.txt || die
sed -i -e '1ifind_package(fmt)' externals/dynarmic/src/CMakeLists.txt || die
fi
@@ -106,13 +107,19 @@ src_prepare() {
src/core/CMakeLists.txt || die
sed -i -e '/cryptopp/d' externals/CMakeLists.txt || die
- # TODO unbundle catch
+ # Unbundle catch
sed -i -e '1ifind_package(Catch2)' src/tests/CMakeLists.txt externals/{dynarmic,teakra}/tests/CMakeLists.txt || die
sed -i -e '/target_link_libraries/s/catch/Catch2::Catch2/' externals/{dynarmic,teakra}/tests/CMakeLists.txt || die
sed -i -e '/target_link_libraries/s/catch-single-include/Catch2::Catch2/' src/tests/CMakeLists.txt || die
sed -i -e '/catch/d' externals/CMakeLists.txt externals/{dynarmic,teakra}/externals/CMakeLists.txt || die
grep -rl 'include <catch.hpp>' externals/{dynarmic,teakra} | xargs sed -i -e '/include/s:catch.hpp:catch/&:' || die
+ # Unbundle cubeb
+ sed -i -e '/CUBEB/,/endif()/d' externals/CMakeLists.txt || die
+ if use cubeb; then
+ sed -i -e '$afind_package(cubeb REQUIRED)\n'
+ fi
+
# TODO unbundle xbyak (wait for 5.96 in ytree)
cmake_src_prepare
}
next reply other threads:[~2022-01-16 4:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-16 4:04 Samuel Bauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-07 13:13 [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/citra/ Viorel Munteanu
2023-08-22 22:52 Samuel Bauer
2023-07-26 19:04 YiFei Zhu
2023-07-26 19:04 YiFei Zhu
2023-07-26 19:00 YiFei Zhu
2023-07-13 6:46 Samuel Bauer
2022-09-27 17:34 Samuel Bauer
2022-09-27 17:19 Samuel Bauer
2022-09-27 17:12 Sam James
2022-09-23 5:09 Samuel Bauer
2022-09-23 4:34 Samuel Bauer
2022-09-09 13:58 Samuel Bauer
2022-07-24 23:12 Samuel Bauer
2022-06-07 13:09 Samuel Bauer
2022-05-22 5:03 Samuel Bauer
2022-01-21 3:43 Samuel Bauer
2021-08-04 0:39 Samuel Bauer
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=1642305878.9e9ab097b7b57cc5a78bd8700f4adb75e80798f7.samuel.bauer@gentoo \
--to=samuel.bauer@yahoo.fr \
--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