From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] MangoHud: update to 0.7.0.
Date: Wed, 27 Sep 2023 23:49:16 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46301@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
There is a new pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages mangohud-0.7.0
https://github.com/void-linux/void-packages/pull/46301
MangoHud: update to 0.7.0.
None
A patch file from https://github.com/void-linux/void-packages/pull/46301.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mangohud-0.7.0-46301.patch --]
[-- Type: text/x-diff, Size: 3657 bytes --]
From 0e2a74d9ac28353e3ad76b427c15fb1fd7c70b92 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Wed, 27 Sep 2023 23:27:16 +0200
Subject: [PATCH] MangoHud: update to 0.7.0.
---
srcpkgs/MangoHud/files/musl.patch | 22 ----------------------
srcpkgs/MangoHud/patches/git.patch | 11 +++++++++++
srcpkgs/MangoHud/template | 16 +++++-----------
3 files changed, 16 insertions(+), 33 deletions(-)
delete mode 100644 srcpkgs/MangoHud/files/musl.patch
create mode 100644 srcpkgs/MangoHud/patches/git.patch
diff --git a/srcpkgs/MangoHud/files/musl.patch b/srcpkgs/MangoHud/files/musl.patch
deleted file mode 100644
index c11ac1b414c2d..0000000000000
--- a/srcpkgs/MangoHud/files/musl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/meson.build 2021-06-11 22:12:53.000000000 +0200
-+++ - 2021-06-14 23:32:49.677413454 +0200
-@@ -3,16 +3,16 @@
- # Needs prefix for configure_file()
- if get_option('append_libdir_mangohud')
- libdir_mangohud = join_paths(get_option('libdir'), 'mangohud')
-- ld_libdir_mangohud = get_option('prefix') + '/\$LIB/mangohud/'
-+ ld_libdir_mangohud = join_paths(get_option('prefix') ,get_option('libdir'), 'mangohud')
- else
- libdir_mangohud = get_option('libdir')
-- ld_libdir_mangohud = get_option('prefix') + '/\$LIB/'
-+ ld_libdir_mangohud = join_paths(get_option('prefix') ,get_option('libdir'))
- endif
-
- # For build.sh
- if get_option('ld_libdir_prefix')
- # FIXME derive from libdir
-- ld_libdir_mangohud = get_option('prefix') + '/lib/mangohud/\$LIB/'
-+ ld_libdir_mangohud = get_option('prefix') + '/lib/mangohud/lib'
- endif
-
- conf_data = configuration_data()
diff --git a/srcpkgs/MangoHud/patches/git.patch b/srcpkgs/MangoHud/patches/git.patch
new file mode 100644
index 0000000000000..b33b35e6274fa
--- /dev/null
+++ b/srcpkgs/MangoHud/patches/git.patch
@@ -0,0 +1,11 @@
+--- a/src/meson.build 2023-09-26 08:29:47.000000000 +0200
++++ - 2023-09-27 23:33:42.659590482 +0200
+@@ -14,7 +14,7 @@
+ conf_data.set('ld_libdir_mangohud_abs', libdir_mangohud)
+ conf_data.set('ld_libdir_mangohud', ld_libdir_mangohud)
+ conf_data.set('cpu_family', host_machine.cpu_family())
+-conf_data.set('version', run_command(['git', 'describe', '--tags', '--dirty=+']).stdout().strip())
++conf_data.set('version', meson.project_version())
+
+ overlay_shaders = [
+ 'overlay.frag',
diff --git a/srcpkgs/MangoHud/template b/srcpkgs/MangoHud/template
index 4e2a01ca1ce90..91f91475a98a6 100644
--- a/srcpkgs/MangoHud/template
+++ b/srcpkgs/MangoHud/template
@@ -1,25 +1,19 @@
# Template file for 'MangoHud'
pkgname=MangoHud
-version=0.6.8
+version=0.7.0
revision=1
build_style=meson
-configure_args="-Duse_system_vulkan=enabled -Dwith_xnvctrl=disabled
+configure_args="-Dwith_xnvctrl=disabled
-Dwith_nvml=disabled -Duse_system_spdlog=enabled"
hostmakedepends="Vulkan-Headers python3-Mako glslang pkg-config"
-makedepends="libglvnd-devel dbus-devel vulkan-loader Vulkan-Headers
- spdlog"
+makedepends="libglvnd-devel dbus-devel vulkan-loader spdlog json-c++"
short_desc="Vulkan and OpenGL overlay for monitoring FPS, temperatures and more"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/flightlessmango/MangoHud"
distfiles="https://github.com/flightlessmango/MangoHud/releases/download/v${version}/MangoHud-v${version}-Source-DFSG.tar.xz"
-checksum=0c4358428e6ae48d13282dec4bf4e78015b4f5e46d080a7e7588786cef63c09f
-
-post_patch() {
- if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- patch -Np0 -i ${FILESDIR}/musl.patch
- fi
-}
+checksum=222e15d4f3e679937f7594e2e5615aaae41b97d487eb7938b96b26eeb1fbcf35
+python_version=3
post_install() {
vlicense LICENSE
next reply other threads:[~2023-09-27 21:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 21:49 Johnnynator [this message]
2023-09-28 12:10 ` [PR PATCH] [Updated] " Johnnynator
2023-09-28 15:54 ` Johnnynator
2023-09-28 16:25 ` Johnnynator
2023-09-28 16:33 ` [PR PATCH] [Merged]: " Johnnynator
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46301@inbox.vuxu.org \
--to=johnnynator@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).