From: "Samuel Bauer" <samuel.bauer@yahoo.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/
Date: Sun, 16 Jan 2022 04:03:01 +0000 (UTC) [thread overview]
Message-ID: <1642305747.b00e62a18c6be01c5693346c8f448bffbf768828.samuel.bauer@gentoo> (raw)
commit: b00e62a18c6be01c5693346c8f448bffbf768828
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Sun Jan 16 04:02:27 2022 +0000
Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Sun Jan 16 04:02:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b00e62a1
games-emulation/yuzu: unbundle cubeb, rework submodules
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
games-emulation/yuzu/yuzu-9999.ebuild | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/games-emulation/yuzu/yuzu-9999.ebuild b/games-emulation/yuzu/yuzu-9999.ebuild
index 76869251c..c194b8c19 100644
--- a/games-emulation/yuzu/yuzu-9999.ebuild
+++ b/games-emulation/yuzu/yuzu-9999.ebuild
@@ -8,11 +8,10 @@ inherit cmake git-r3 toolchain-funcs xdg
DESCRIPTION="An emulator for Nintendo Switch"
HOMEPAGE="https://yuzu-emu.org"
EGIT_REPO_URI="https://github.com/yuzu-emu/yuzu-mainline"
-EGIT_SUBMODULES=( '*' '-ffmpeg' '-inih' '-libressl' '-libusb' '-opus' '-SDL'
- '-externals/sirit/externals/SPIRV-Headers' )
-# TODO '-xbyak' wait for bump in tree
-# TODO cubeb auto-links to jack, pulse, alsa .., allow determining cubeb output
-# media-libs/cubeb would benefit to a lot of packages: dolphin-emu, firefox, citra, self, ...
+EGIT_SUBMODULES=( '-*' 'dynarmic' 'soundtouch' 'sirit' 'mbedtls' 'xbyak' 'externals/cpp-httplib' )
+# Soundtouch cannot be unbundled -> custom version
+# Dynarmic is heavily tweaked to emulate switch cpu non sense to unbundle
+# TODO wait 'xbyak' for bump in tree, require 5.96
# TODO many submodules produce static libraries which forces to unset BUILD_SHARED_LIBS
# this may be better to generate shared libraries and install them under /usr/$(get_libdir)/yuzu
@@ -32,6 +31,7 @@ RDEPEND="
>=media-video/ffmpeg-4.3:=
>=sys-libs/zlib-1.2
virtual/libusb:1
+ cubeb? ( media-libs/cubeb )
qt5? (
>=dev-qt/qtcore-5.15:5
>=dev-qt/qtgui-5.15:5
@@ -67,12 +67,12 @@ pkg_setup() {
}
src_unpack() {
- if ! use discord; then
- EGIT_SUBMODULES+=('-discord-rpc')
+ if use discord; then
+ EGIT_SUBMODULES+=('discord-rpc')
fi
- if use system-vulkan; then
- EGIT_SUBMODULES+=('-Vulkan-Headers')
+ if !use system-vulkan; then
+ EGIT_SUBMODULES+=('Vulkan-Headers')
fi
git-r3_src_unpack
@@ -121,6 +121,10 @@ src_prepare() {
externals/discord-rpc/CMakeLists.txt || die
fi
+ # Unbundle cubeb
+ use cubeb && sed -i '$afind_package(Threads REQUIRED)' CMakeLists.txt || die
+ sed -i '/cubeb/d' externals/CMakeLists.txt || die
+
cmake_src_prepare
}
next reply other threads:[~2022-01-16 4:03 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-16 4:03 Samuel Bauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-08 6:05 [gentoo-commits] repo/proj/guru:dev commit in: games-emulation/yuzu/ Takuya Wakazono
2024-01-03 19:55 Moritz Brunner
2024-01-03 19:55 Moritz Brunner
2023-09-28 6:16 Samuel Bauer
2023-09-01 19:13 Samuel Bauer
2023-07-13 6:46 Samuel Bauer
2023-07-04 20:36 Samuel Bauer
2023-07-03 16:19 Samuel Bauer
2023-07-03 15:53 Samuel Bauer
2023-06-26 19:13 Henri Gasc
2023-06-15 13:03 YiFei Zhu
2023-02-14 11:32 Samuel Bauer
2023-02-14 11:11 Samuel Bauer
2023-02-13 11:28 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2023-02-13 11:19 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2023-02-13 0:10 Samuel Bauer
2023-02-05 18:26 Samuel Bauer
2023-02-05 18:15 Samuel Bauer
2023-02-02 20:02 Artemis Everfree
2023-02-02 15:14 Samuel Bauer
2022-12-21 10:03 Samuel Bauer
2022-12-21 10:03 Samuel Bauer
2022-12-21 4:23 Samuel Bauer
2022-12-19 22:42 Samuel Bauer
2022-11-13 1:06 Samuel Bauer
2022-10-12 12:03 Samuel Bauer
2022-09-09 13:49 Samuel Bauer
2022-09-08 10:24 Andrew Ammerlaan
2022-08-08 11:04 Samuel Bauer
2022-08-04 10:05 Samuel Bauer
2022-08-04 10:05 Samuel Bauer
2022-07-26 22:26 Samuel Bauer
2022-07-26 2:20 Samuel Bauer
2022-07-24 23:12 Samuel Bauer
2022-06-07 13:09 Samuel Bauer
2022-01-21 3:31 Samuel Bauer
2022-01-08 0:25 Samuel Bauer
2021-11-07 13:56 Anna Vyalkova
2021-10-06 8:14 Samuel Bauer
2021-08-20 22:21 Samuel Bauer
2021-08-04 0:36 Samuel Bauer
2021-08-04 0:30 Samuel Bauer
2021-07-13 1:52 Samuel Bauer
2021-06-26 1:16 Samuel Bauer
2021-06-05 0:57 Samuel Bauer
2021-05-30 19:21 Samuel Bauer
2021-05-30 19:06 Samuel Bauer
2021-05-30 18:55 Samuel Bauer
2021-05-25 18:24 Samuel Bauer
2021-05-16 13:50 Samuel Bauer
2021-05-03 16:41 Samuel Bauer
2021-04-30 1:10 Samuel Bauer
2021-04-29 14:19 Samuel Bauer
2021-04-29 12:53 Samuel Bauer
2021-04-28 23:34 Samuel Bauer
2021-04-28 23:11 Samuel Bauer
2021-04-28 20:09 Andrew Ammerlaan
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=1642305747.b00e62a18c6be01c5693346c8f448bffbf768828.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