public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-util/mangohud/
Date: Thu,  5 May 2022 04:07:30 +0000 (UTC)	[thread overview]
Message-ID: <1651615163.91e7bc3da242cddbc57a644c87d01e48cca18270.lanodan@gentoo> (raw)

commit:     91e7bc3da242cddbc57a644c87d01e48cca18270
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Tue May  3 21:57:57 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue May  3 21:59:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91e7bc3d

media-libs/imgui: fix ebuild

Closes: https://bugs.gentoo.org/839315

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

 ...d-0.6.6.1.ebuild => mangohud-0.6.6.1-r1.ebuild} | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/games-util/mangohud/mangohud-0.6.6.1.ebuild b/games-util/mangohud/mangohud-0.6.6.1-r1.ebuild
similarity index 85%
rename from games-util/mangohud/mangohud-0.6.6.1.ebuild
rename to games-util/mangohud/mangohud-0.6.6.1-r1.ebuild
index ae6a20b76..f6f2e4aaf 100644
--- a/games-util/mangohud/mangohud-0.6.6.1.ebuild
+++ b/games-util/mangohud/mangohud-0.6.6.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit distutils-r1 meson-multilib
+inherit python-r1 distutils-r1 meson-multilib
 
 MY_PV=$(ver_cut 1-3)
 [ -n "$(ver_cut 4)" ] && MY_PV_REV="-$(ver_cut 4)"
@@ -13,7 +13,7 @@ MY_PV=$(ver_cut 1-3)
 IMGUI_VER="1.81"
 IMGUI_MESON_WRAP_VER="1"
 
-DESCRIPTION="A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more."
+DESCRIPTION="A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more"
 HOMEPAGE="https://github.com/flightlessmango/MangoHud"
 
 SRC_URI="
@@ -22,7 +22,7 @@ SRC_URI="
 	https://wrapdb.mesonbuild.com/v2/imgui_${IMGUI_VER}-${IMGUI_MESON_WRAP_VER}/get_patch -> imgui-${IMGUI_VER}-${IMGUI_MESON_WRAP_VER}-meson-wrap.zip
 "
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="~amd64 ~x86"
 
 LICENSE="MIT"
 SLOT="0"
@@ -34,9 +34,12 @@ REQUIRED_USE="
 
 BDEPEND="
 	app-arch/unzip
+"
+
+DEPEND="
 	dev-python/mako[${PYTHON_USEDEP}]
-	dev-libs/spdlog
-	dev-util/glslang
+	dev-libs/spdlog[${MULTILIB_USEDEP}]
+	dev-util/glslang[${MULTILIB_USEDEP}]
 	>=dev-util/vulkan-headers-1.2
 	media-libs/vulkan-loader[${MULTILIB_USEDEP}]
 	media-libs/libglvnd[$MULTILIB_USEDEP]
@@ -49,24 +52,21 @@ BDEPEND="
 	wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
 "
 
-RDEPEND="${BDEPEND}"
+RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/MangoHud-${PV}"
 
+# PATCHES=( "${FILESDIR}/mangonhud-0.6.6-meson-build.patch" )
+
 src_unpack() {
 	default
-	[ -n "${MY_PV_REV}" ] && ( mv ${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV} ${WORKDIR}/MangoHud-${PV} || die )
+	[[ -n "${MY_PV_REV}" ]] && ( mv ${WORKDIR}/MangoHud-${MY_PV}${MY_PV_REV} ${WORKDIR}/MangoHud-${PV} || die )
 
 	unpack imgui-${IMGUI_VER}.tar.gz
 	unpack imgui-${IMGUI_VER}-${IMGUI_MESON_WRAP_VER}-meson-wrap.zip
 	mv ${WORKDIR}/imgui-${IMGUI_VER} ${S}/subprojects/imgui || die
 }
 
-src_prepare() {
-	default
-	eapply "${FILESDIR}/mangonhud-0.6.6-meson-build.patch"
-}
-
 multilib_src_configure() {
 	local emesonargs=(
 		-Dappend_libdir_mangohud=false


             reply	other threads:[~2022-05-05  4:07 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05  4:07 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-09 18:44 [gentoo-commits] repo/proj/guru:master commit in: games-util/mangohud/ Andrew Ammerlaan
2022-05-10  7:49 Florian Schmaus
2022-05-12  9:14 Andrew Ammerlaan
2022-05-12  9:14 Andrew Ammerlaan
2022-07-23 17:36 Haelwenn Monnier
2022-09-06  1:06 Ronny Gutbrod
2022-09-08  1:46 Ronny Gutbrod
2022-09-26 10:05 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2022-09-26 10:05 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2023-08-21 12:43 Haelwenn Monnier
2023-08-21 12:43 Haelwenn Monnier
2023-08-23 17:33 David Roman
2024-02-07 10:10 David Roman
2024-02-07 10:10 David Roman
2024-02-08  9:29 David Roman
2024-02-08  9:29 David Roman
2024-04-13 16:14 Julien Roy
2024-04-13 17:15 Julien Roy
2024-05-10  0:33 Haelwenn Monnier
2024-05-12  9:38 Viorel Munteanu
2024-05-12  9:38 Viorel Munteanu
2024-05-23 10:36 David Roman
2024-09-18 23:46 Haelwenn Monnier
2024-12-10 11:32 David Roman
2024-12-12 13:06 David Roman
2024-12-26 15:36 Julien Roy
2024-12-27 15:34 Julien Roy
2024-12-28 20:08 Florian Schmaus
2024-12-28 20:08 Florian Schmaus
2025-02-17  9:49 David Roman
2025-02-17  9:49 David Roman
2025-03-10 11:04 David Roman
2025-03-10 11:04 David Roman

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=1651615163.91e7bc3da242cddbc57a644c87d01e48cca18270.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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