public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gonçalo Negrier Duarte" <gonegrier.duarte@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/
Date: Wed,  7 Feb 2024 17:59:49 +0000 (UTC)	[thread overview]
Message-ID: <1707328776.71547053737487b311e5d89204217fecc0827b88.gonegrier.duarte@gentoo> (raw)

commit:     71547053737487b311e5d89204217fecc0827b88
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Feb  7 17:58:42 2024 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
CommitDate: Wed Feb  7 17:59:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71547053

games-util/mangohud: add multilib support

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 games-util/mangohud/mangohud-0.7.0-r1.ebuild | 21 ++++++++++-----------
 games-util/mangohud/mangohud-9999.ebuild     | 20 ++++++++++----------
 2 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/games-util/mangohud/mangohud-0.7.0-r1.ebuild b/games-util/mangohud/mangohud-0.7.0-r1.ebuild
index f6022d6d7a..8a3f925da9 100644
--- a/games-util/mangohud/mangohud-0.7.0-r1.ebuild
+++ b/games-util/mangohud/mangohud-0.7.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit python-single-r1 meson
+inherit python-single-r1 meson-multilib
 
 MY_PV=$(ver_cut 1-3)
 [[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
@@ -55,21 +55,20 @@ BDEPEND="
 
 RDEPEND="
 	${PYTHON_DEPS}
-	~media-libs/imgui-1.81[opengl,vulkan]
+	~media-libs/imgui-1.81[opengl,vulkan,${MULTILIB_USEDEP}]
 	dev-cpp/nlohmann_json
-	dev-libs/spdlog
 	dev-util/glslang
 	media-fonts/lato
-	media-libs/vulkan-loader
-	media-libs/libglvnd
-	x11-libs/libdrm
-	dbus? ( sys-apps/dbus )
-	X? ( x11-libs/libX11 )
+	media-libs/vulkan-loader[${MULTILIB_USEDEP}]
+	media-libs/libglvnd[${MULTILIB_USEDEP}]
+	x11-libs/libdrm[${MULTILIB_USEDEP}]
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
 	video_cards_nvidia? (
-		x11-drivers/nvidia-drivers
+		x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
 		xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
 	)
-	wayland? ( dev-libs/wayland )
+	wayland? ( dev-libs/wayland [${MULTILIB_USEDEP}] )
 	$(python_gen_cond_dep '
 		|| (
 			dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
@@ -112,7 +111,7 @@ src_prepare() {
 	find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die
 }
 
-src_configure() {
+multilib_src_configure() {
 	# disable system spdlog in favor of the submodule version
 	local emesonargs=(
 		-Dappend_libdir_mangohud=false

diff --git a/games-util/mangohud/mangohud-9999.ebuild b/games-util/mangohud/mangohud-9999.ebuild
index 31854ad3e4..8bfb3ae515 100644
--- a/games-util/mangohud/mangohud-9999.ebuild
+++ b/games-util/mangohud/mangohud-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit python-single-r1 meson
+inherit python-single-r1 meson-multilib
 
 MY_PV=$(ver_cut 1-3)
 [[ -n "$(ver_cut 4)" ]] && MY_PV_REV="-$(ver_cut 4)"
@@ -62,20 +62,20 @@ BDEPEND="
 
 RDEPEND="
 	${PYTHON_DEPS}
-	~media-libs/imgui-1.81[opengl,vulkan]
+	~media-libs/imgui-1.81[opengl,vulkan,${MULTILIB_USEDEP}]
 	dev-cpp/nlohmann_json
 	dev-util/glslang
 	media-fonts/lato
-	media-libs/vulkan-loader
-	media-libs/libglvnd
-	x11-libs/libdrm
-	dbus? ( sys-apps/dbus )
-	X? ( x11-libs/libX11 )
+	media-libs/vulkan-loader[${MULTILIB_USEDEP}]
+	media-libs/libglvnd[${MULTILIB_USEDEP}]
+	x11-libs/libdrm[${MULTILIB_USEDEP}]
+	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+	X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
 	video_cards_nvidia? (
-		x11-drivers/nvidia-drivers
+		x11-drivers/nvidia-drivers[${MULTILIB_USEDEP}]
 		xnvctrl? ( x11-drivers/nvidia-drivers[static-libs] )
 	)
-	wayland? ( dev-libs/wayland )
+	wayland? ( dev-libs/wayland [${MULTILIB_USEDEP}] )
 	$(python_gen_cond_dep '
 		|| (
 			dev-python/matplotlib[gtk3,${PYTHON_USEDEP}]
@@ -125,7 +125,7 @@ src_prepare() {
 	find . -type f -exec sed -i 's|"imgui_internal.h"|<imgui/imgui_internal.h>|g' {} \; || die
 }
 
-src_configure() {
+multilib_src_configure() {
 	# disable system spdlog in favor of the submodule version
 	local emesonargs=(
 		-Dappend_libdir_mangohud=false


             reply	other threads:[~2024-02-07 17:59 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 17:59 Gonçalo Negrier Duarte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-10 22:19 [gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/ David Reed
2025-03-09 16:52 Kostadin Shishmanov
2025-03-09 16:52 Kostadin Shishmanov
2025-02-15 12:26 Vincent Ahluwalia
2025-02-15 12:14 Vincent Ahluwalia
2024-12-28  1:59 Adel KARA SLIMANE
2024-12-28  1:59 Adel KARA SLIMANE
2024-12-26 17:06 V Uethya
2024-12-25 20:53 Gonçalo Negrier Duarte
2024-12-11 18:28 Adel KARA SLIMANE
2024-12-10  0:01 Adel KARA SLIMANE
2024-09-18 12:08 Takuya Wakazono
2024-06-03 10:41 Gonçalo Negrier Duarte
2024-05-23  9:37 Gonçalo Negrier Duarte
2024-05-11  7:45 Gonçalo Negrier Duarte
2024-05-10 14:00 Gonçalo Negrier Duarte
2024-05-09 23:54 Gonçalo Negrier Duarte
2024-04-13 17:15 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-13 17:09 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-13 15:53 Adel KARA SLIMANE
2024-02-07 18:05 Gonçalo Negrier Duarte
2024-02-07  1:44 Gonçalo Negrier Duarte
2024-02-06 20:59 Gonçalo Negrier Duarte
2023-11-27 22:13 Adel KARA SLIMANE
2023-08-22 18:15 Adel KARA SLIMANE
2023-08-20  0:42 Adel KARA SLIMANE
2023-08-20  0:42 Adel KARA SLIMANE
2022-09-26 10:05 Andrew Ammerlaan
2022-09-07 20:55 Adel KARA SLIMANE
2022-09-02  2:11 Jay Faulkner
2022-08-27 19:22 Adel KARA SLIMANE
2022-07-22 17:39 Adel KARA SLIMANE
2022-05-11 19:07 Adel KARA SLIMANE
2022-05-11 18:33 Adel KARA SLIMANE
2022-05-09 21:07 Adel KARA SLIMANE
2022-05-09 18:44 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2022-05-09 18:34 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-05-03 21:59 Adel KARA SLIMANE

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=1707328776.71547053737487b311e5d89204217fecc0827b88.gonegrier.duarte@gentoo \
    --to=gonegrier.duarte@gmail.com \
    --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