mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
Revert "chore: Add stable mangohud spec"
This reverts commit 3827f7d8085f2014155d27a1d25ef8be4c6dc185.
This commit is contained in:
parent
61ae7465e6
commit
1d7eea7e4b
@ -1,10 +0,0 @@
|
|||||||
diff --git a/bin/mangoplot.py b/bin/mangoplot.py
|
|
||||||
index 7d82b3a..b974aa7 100755
|
|
||||||
--- a/bin/mangoplot.py
|
|
||||||
+++ b/bin/mangoplot.py
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/usr/bin/env python
|
|
||||||
+#!/usr/bin/python3
|
|
||||||
|
|
||||||
r"""
|
|
||||||
Script to plot all the MangoHud benchmarks contained in a given folder.
|
|
@ -1,298 +0,0 @@
|
|||||||
## START: Set by rpmautospec
|
|
||||||
## (rpmautospec version 0.3.8)
|
|
||||||
## RPMAUTOSPEC: autorelease
|
|
||||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
||||||
release_number = 1;
|
|
||||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
||||||
print(release_number + base_release_number - 1);
|
|
||||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
||||||
## END: Set by rpmautospec
|
|
||||||
|
|
||||||
## START: Set by rpmautospec
|
|
||||||
## (rpmautospec version 0.3.5)
|
|
||||||
## RPMAUTOSPEC: autorelease, autochangelog
|
|
||||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
||||||
release_number = 12;
|
|
||||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
||||||
print(release_number + base_release_number - 1);
|
|
||||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
||||||
## END: Set by rpmautospec
|
|
||||||
|
|
||||||
%global appname MangoHud
|
|
||||||
|
|
||||||
%global imgui_ver 1.81
|
|
||||||
%global imgui_wrap_ver 1
|
|
||||||
|
|
||||||
%global tarball_version %%(echo %{version} | tr '~' '-')
|
|
||||||
|
|
||||||
# Tests requires bundled stuff. Disable for now.
|
|
||||||
%bcond_with tests
|
|
||||||
|
|
||||||
Name: mangohud
|
|
||||||
Version: 0.7.0
|
|
||||||
Release: 100.bazzite.{{{ git_dir_version }}}
|
|
||||||
Summary: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
URL: https://github.com/flightlessmango/MangoHud
|
|
||||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
|
||||||
Source1: https://github.com/ocornut/imgui/archive/v%{imgui_ver}/imgui-%{imgui_ver}.tar.gz
|
|
||||||
Source2: https://wrapdb.mesonbuild.com/v1/projects/imgui/%{imgui_ver}/%{imgui_wrap_ver}/get_zip#/imgui-%{imgui_ver}-%{imgui_wrap_ver}-wrap.zip
|
|
||||||
Patch0: fedora.patch
|
|
||||||
|
|
||||||
BuildRequires: appstream
|
|
||||||
BuildRequires: dbus-devel
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: git-core
|
|
||||||
BuildRequires: glew-devel
|
|
||||||
BuildRequires: glfw-devel
|
|
||||||
BuildRequires: glslang-devel
|
|
||||||
BuildRequires: libappstream-glib
|
|
||||||
BuildRequires: libstdc++-static
|
|
||||||
BuildRequires: mesa-libGL-devel
|
|
||||||
BuildRequires: meson >= 0.60
|
|
||||||
BuildRequires: python3-mako
|
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
|
||||||
BuildRequires: pkgconfig(dri)
|
|
||||||
BuildRequires: pkgconfig(gl)
|
|
||||||
BuildRequires: pkgconfig(glew)
|
|
||||||
BuildRequires: pkgconfig(glfw3)
|
|
||||||
BuildRequires: pkgconfig(libdrm)
|
|
||||||
|
|
||||||
BuildRequires: pkgconfig(spdlog)
|
|
||||||
BuildRequires: pkgconfig(nlohmann_json)
|
|
||||||
BuildRequires: pkgconfig(vulkan)
|
|
||||||
BuildRequires: pkgconfig(wayland-client)
|
|
||||||
BuildRequires: pkgconfig(x11)
|
|
||||||
BuildRequires: cmake(VulkanHeaders)
|
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: libcmocka-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires: hicolor-icon-theme
|
|
||||||
Requires: vulkan-loader%{?_isa}
|
|
||||||
|
|
||||||
Recommends: (mangohud(x86-32) if glibc(x86-32))
|
|
||||||
|
|
||||||
Suggests: goverlay
|
|
||||||
|
|
||||||
Provides: bundled(imgui) = %{imgui_ver}
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and
|
|
||||||
more.}
|
|
||||||
|
|
||||||
%description %{_description}
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{appname}-%{version} -p1
|
|
||||||
%setup -qn %{appname}-%{version} -DTa1
|
|
||||||
%setup -qn %{appname}-%{version} -DTa2
|
|
||||||
|
|
||||||
mkdir subprojects/imgui
|
|
||||||
mv imgui-%{imgui_ver} subprojects/
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
%meson \
|
|
||||||
--wrap-mode=forcefallback \
|
|
||||||
-Dinclude_doc=true \
|
|
||||||
-Dwith_wayland=enabled \
|
|
||||||
-Dwith_xnvctrl=disabled \
|
|
||||||
-Dmangoapp=true \
|
|
||||||
-Dmangoapp_layer=true \
|
|
||||||
-Dmangohudctl=true \
|
|
||||||
%if %{with tests}
|
|
||||||
-Dtests=enabled \
|
|
||||||
%else
|
|
||||||
-Dtests=disabled \
|
|
||||||
%endif
|
|
||||||
%{nil}
|
|
||||||
%meson_build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
%meson_install
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
|
||||||
# https://github.com/flightlessmango/MangoHud/issues/812
|
|
||||||
# ? tag-invalid : stock icon is not valid [io.github.flightlessmango.mangohud]
|
|
||||||
%dnl appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
|
|
||||||
%if %{with tests}
|
|
||||||
%meson_test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{_bindir}/%{name}*
|
|
||||||
%{_bindir}/mangoapp
|
|
||||||
%{_bindir}/mangoplot
|
|
||||||
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
|
||||||
%{_datadir}/vulkan/implicit_layer.d/*Mango*.json
|
|
||||||
%{_docdir}/%{name}/*
|
|
||||||
%{_libdir}/%{name}/*
|
|
||||||
%{_mandir}/man1/%{name}.1*
|
|
||||||
%{_mandir}/man1/mangoapp.1*
|
|
||||||
%{_metainfodir}/*.metainfo.xml
|
|
||||||
%{_libdir}/%{name}/libMangoApp.so
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Oct 02 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-6
|
|
||||||
- build: Fix description about 'mangoplot'
|
|
||||||
|
|
||||||
* Mon Oct 02 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-5
|
|
||||||
- build: mangohud-mangoplot as Suggests
|
|
||||||
|
|
||||||
* Thu Sep 28 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-4
|
|
||||||
- build: Add missed deps for mangoplot
|
|
||||||
|
|
||||||
* Thu Sep 28 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-3
|
|
||||||
- build: Package mangoplot as separate sub-package
|
|
||||||
|
|
||||||
* Thu Sep 28 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-2
|
|
||||||
- build: Upload sources
|
|
||||||
|
|
||||||
* Thu Sep 28 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-1
|
|
||||||
- build: Update to 0.7.0
|
|
||||||
|
|
||||||
* Sun Sep 10 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-11
|
|
||||||
- build: Backport upstream patch
|
|
||||||
|
|
||||||
* Sun Sep 10 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-10
|
|
||||||
- test: Skip for s390x arch
|
|
||||||
|
|
||||||
* Sun Sep 10 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-9
|
|
||||||
- build: Drop BR: pkgconfig(vulkan)
|
|
||||||
|
|
||||||
* Sun Sep 10 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-8
|
|
||||||
- test: Fix and enable tests
|
|
||||||
|
|
||||||
* Sun Sep 10 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-7
|
|
||||||
- style: Minor Spec file update
|
|
||||||
|
|
||||||
* Sun Sep 10 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-6
|
|
||||||
- build: Bundle vulkan-headers to fix FTBFS
|
|
||||||
|
|
||||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.9.1-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 11 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-4
|
|
||||||
- build: mangohud relies on old Vulkan-headers < 1.3.241
|
|
||||||
|
|
||||||
* Sat Jul 08 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.9.1-3
|
|
||||||
- Rebuilt due to spdlog 1.12 update.
|
|
||||||
|
|
||||||
* Wed Jun 28 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.9.1-2
|
|
||||||
- Rebuilt due to fmt 10 update.
|
|
||||||
|
|
||||||
* Wed Apr 19 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9.1-1
|
|
||||||
- build: Update to 0.6.9-1
|
|
||||||
|
|
||||||
* Fri Apr 14 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.9-1
|
|
||||||
- build: Update to 0.6.9
|
|
||||||
|
|
||||||
* Tue Mar 14 2023 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.8-4
|
|
||||||
- build: Fix FTBFS 38
|
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Nov 03 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.6.8-2
|
|
||||||
- Rebuilt due to spdlog update.
|
|
||||||
|
|
||||||
* Tue Aug 02 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.8-1
|
|
||||||
- chore(update): 0.6.8
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.7.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 19 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.6.7.1-3
|
|
||||||
- Rebuild for fmt-9
|
|
||||||
|
|
||||||
* Fri May 13 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.7.1-2
|
|
||||||
- fix: Upload sources
|
|
||||||
|
|
||||||
* Fri May 13 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.7.1-1
|
|
||||||
- chore(update): 0.6.7-1
|
|
||||||
|
|
||||||
* Wed May 04 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.7-1
|
|
||||||
- chore(update): 0.6.7
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Oct 18 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.6-1
|
|
||||||
- chore(update): 0.6.6
|
|
||||||
|
|
||||||
* Thu Oct 07 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.5-3
|
|
||||||
- build: Fix multilib dep | rh#1830718
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 08 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.5-1
|
|
||||||
- build(update): 0.6.5
|
|
||||||
|
|
||||||
* Thu Jun 24 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.4-1
|
|
||||||
- build(update): 0.6.4
|
|
||||||
|
|
||||||
* Sat Jun 12 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.3-1
|
|
||||||
- build(update): 0.6.3
|
|
||||||
|
|
||||||
* Fri Jun 11 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.2-1
|
|
||||||
- build(update): 0.6.2
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.1-3
|
|
||||||
- build: Install 32-bit version automagically if multilib packages already
|
|
||||||
installed on end user machine
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Nov 29 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.1-1
|
|
||||||
- build(update): 0.6.1
|
|
||||||
|
|
||||||
* Sun Nov 29 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.0-2
|
|
||||||
- fix: version in HUD | GH-411
|
|
||||||
|
|
||||||
* Sat Nov 28 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.0-1
|
|
||||||
- build(update): 0.6.0
|
|
||||||
|
|
||||||
* Sun Aug 16 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.5.1-1
|
|
||||||
- Update to 0.5.1
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 13 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.4.1-2
|
|
||||||
- Add patch which fix F33 build | GH-213
|
|
||||||
|
|
||||||
* Thu Jun 11 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.4.1-1
|
|
||||||
- Update to 0.4.1
|
|
||||||
- Disable LTO
|
|
||||||
|
|
||||||
* Sat May 02 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.3.5-1
|
|
||||||
- Update to 0.3.5
|
|
||||||
- Remove ExclusiveArch. Now compiles on all arches, see GitHub#88.
|
|
||||||
|
|
||||||
* Thu Mar 26 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.3.1-2
|
|
||||||
- Add GUI fron-end 'goverlay' as very weak dep
|
|
||||||
|
|
||||||
* Wed Mar 18 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.3.1-1
|
|
||||||
- Update to 0.3.1
|
|
||||||
|
|
||||||
* Sun Mar 15 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.3.0-1
|
|
||||||
- Update to 0.3.0
|
|
||||||
|
|
||||||
* Fri Feb 14 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.2.0-11
|
|
||||||
- Initial package
|
|
||||||
- Thanks for help with packaging to:
|
|
||||||
gasinvein <gasinvein@gmail.com>
|
|
||||||
Vitaly Zaitsev <vitaly@easycoding.org>
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user