public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Adel KARA SLIMANE" <adel@karaslimane.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/files/, games-util/mangohud/
Date: Tue, 10 May 2022 21:29:10 +0000 (UTC)	[thread overview]
Message-ID: <1652218147.67b8cd8e3eddbaccb77d75ef7535079a2e4950ef.adel@gentoo> (raw)

commit:     67b8cd8e3eddbaccb77d75ef7535079a2e4950ef
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Tue May 10 21:27:21 2022 +0000
Commit:     Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Tue May 10 21:29:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67b8cd8e

games-util/mangohud: make dev-python/mako BDEPEND + remove spdlog patch texts

Closes: https://bugs.gentoo.org/843551
Closes: https://bugs.gentoo.org/843554
Closes: https://bugs.gentoo.org/843566

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>

 ...on-build.patch => mangohud-0.6.6-meson-fix-imgui-dep.patch} |  2 +-
 .../{mangohud-0.6.6.1-r2.ebuild => mangohud-0.6.6.1-r3.ebuild} | 10 +++++-----
 games-util/mangohud/metadata.xml                               |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/games-util/mangohud/files/mangonhud-0.6.6-meson-build.patch b/games-util/mangohud/files/mangohud-0.6.6-meson-fix-imgui-dep.patch
similarity index 79%
rename from games-util/mangohud/files/mangonhud-0.6.6-meson-build.patch
rename to games-util/mangohud/files/mangohud-0.6.6-meson-fix-imgui-dep.patch
index c6aa9e6fd..6d3c9c285 100644
--- a/games-util/mangohud/files/mangonhud-0.6.6-meson-build.patch
+++ b/games-util/mangohud/files/mangohud-0.6.6-meson-fix-imgui-dep.patch
@@ -8,7 +8,7 @@
 
 -dearimgui_sp = subproject('imgui', default_options: imgui_options)
 -dearimgui_dep = dearimgui_sp.get_variable('imgui_dep')
-+dearimgui_dep = dependency('imgui', default_options: imgui_options, fallback : ['imgui', 'imgui_dep'])
++dearimgui_dep = dependency('imgui')
 
  spdlog_dep = cpp.find_library('spdlog', required: get_option('use_system_spdlog'))
  if not spdlog_dep.found()

diff --git a/games-util/mangohud/mangohud-0.6.6.1-r2.ebuild b/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild
similarity index 95%
rename from games-util/mangohud/mangohud-0.6.6.1-r2.ebuild
rename to games-util/mangohud/mangohud-0.6.6.1-r3.ebuild
index f237f6f88..977a71eef 100644
--- a/games-util/mangohud/mangohud-0.6.6.1-r2.ebuild
+++ b/games-util/mangohud/mangohud-0.6.6.1-r3.ebuild
@@ -34,10 +34,10 @@ REQUIRED_USE="
 
 BDEPEND="
 	app-arch/unzip
+	dev-python/mako[${PYTHON_USEDEP}]
 "
 
 DEPEND="
-	dev-python/mako[${PYTHON_USEDEP}]
 	dev-libs/spdlog
 	dev-util/glslang
 	>=dev-util/vulkan-headers-1.2
@@ -56,10 +56,9 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/MangoHud-${PV}"
 
-PATCHES=(
-	# "${FILESDIR}/mangonhud-0.6.6-meson-build.patch"
-	"${FILESDIR}/mangohud-0.6.6-meson-fix-spdlog-dep.patch"
-)
+# PATCHES=(
+# 	"${FILESDIR}/mangohud-0.6.6-meson-fix-imgui-dep.patch"
+# )
 
 src_unpack() {
 	default
@@ -73,6 +72,7 @@ src_unpack() {
 src_configure() {
 	local emesonargs=(
 		-Dappend_libdir_mangohud=false
+		-Duse_system_spdlog=enabled
 		-Duse_system_vulkan=enabled
 		-Dinclude_doc=false
 		$(meson_feature video_cards_nvidia with_nvml)

diff --git a/games-util/mangohud/metadata.xml b/games-util/mangohud/metadata.xml
index da9d5549c..53e5027d0 100644
--- a/games-util/mangohud/metadata.xml
+++ b/games-util/mangohud/metadata.xml
@@ -10,6 +10,6 @@
 		<bugs-to>https://github.com/flightlessmango/MangoHud/issues</bugs-to>
 	</upstream>
 	<use>
-		<flag name="xnvctrl">"Use XNVctrl as fall back for older Nvidia devices."</flag>
+		<flag name="xnvctrl">Use XNVctrl as fall back for older Nvidia devices.</flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2022-05-10 21:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 21:29 Adel KARA SLIMANE [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 22:36 [gentoo-commits] repo/proj/guru:dev commit in: games-util/mangohud/files/, games-util/mangohud/ Gonçalo Negrier Duarte
2024-05-09 15:57 Gonçalo Negrier Duarte
2023-11-27 22:13 Adel KARA SLIMANE
2023-11-27 19:25 Adel KARA SLIMANE
2022-04-16 17:35 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=1652218147.67b8cd8e3eddbaccb77d75ef7535079a2e4950ef.adel@gentoo \
    --to=adel@karaslimane.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