Mageia Bugzilla – Attachment 13414 Details for
Bug 30945
Package a mangohud 32bit library to be able to run mangohud with 32bit apps on 64bit systems.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
mangohud-0.6.8 spec file
mangohud.spec (text/plain), 2.39 KB, created by
Aurelian R
on 2022-10-06 20:04:57 CEST
(
hide
)
Description:
mangohud-0.6.8 spec file
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2022-10-06 20:04:57 CEST
Size:
2.39 KB
patch
obsolete
>%define uname MangoHud >%define uversion 0.6.8 >%define srcname %{uname}-v%{uversion} > >%define libname %mklibname %{name} > >%bcond_without docs > >Name: mangohud >Version: 0.6.8 >Release: 1%{dist}X >Summary: A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more >Group: System/Libraries >License: MIT >URL: https://github.com/flightlessmango/MangoHud ># DFSG tarball excludes nonfree nvml.h >Source0: https://github.com/flightlessmango/MangoHud/releases/download/v%{uversion}/%{srcname}-Source-DFSG.tar.xz > >BuildRequires: appstream >BuildRequires: cmake >BuildRequires: glslang >BuildRequires: meson >BuildRequires: pkgconfig(dbus-1) >BuildRequires: pkgconfig(gl) >BuildRequires: pkgconfig(libdrm) >BuildRequires: pkgconfig(spdlog) >BuildRequires: pkgconfig(vulkan) >BuildRequires: pkgconfig(wayland-client) >BuildRequires: pkgconfig(x11) >BuildRequires: python3dist(mako) > >Requires: %{_lib}vulkan-loader1 >%ifarch x86_64 aarch64 >Recommends: lib%{name} == %{version} >%endif > >Provides: bundled(imgui) > >%description >A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more. > >To enable the MangoHud Vulkan overlay layer, set `MANGOHUD=1` in the shell, >or use the `mangohud` command to launch programs. >See '%{_docdir}/%{name}' for configuration details. > >The `goverlay` package provides a third-party GUI frontend for MangoHud. > >%ifnarch x86_64 aarch64 >%package -n %{libname} >Summary: Mangohud 32bit library files >Group: System/Libraries > >%description -n %{libname} >Mangohud library files. > >%endif >%prep >%autosetup -p1 -n %{srcname} >sed -i -e '1d;2i#!%{_bindir}/bash' bin/mangohud.in > >%build >%meson \ > -Dappend_libdir_mangohud=false \ > -Dinclude_doc=%{?with_docs:true}%{!?with_docs:false} \ > -Duse_system_spdlog=enabled \ > -Duse_system_vulkan=enabled \ > -Dwith_x11=enabled \ > -Dwith_wayland=enabled \ > -Dwith_dbus=enabled \ > -Dwith_nvml=disabled \ > -Dwith_xnvctrl=disabled \ > %{nil} ># NVML is nonfree, XNVCtrl is not packaged yet (but could be enabled if it is) > >%meson_build > >%install >%meson_install > >%files >%doc README.md >%license LICENSE >%{_bindir}/%{name} >%{_datadir}/vulkan/implicit_layer.d/*.json >%if %{with docs} >%doc MangoHud.conf.example >%{_iconsdir}/hicolor/scalable/apps/* >%{_metainfodir}/* >%{_mandir}/man1/%{name}.1.* >%endif >%ifnarch x86_64 aarch64 >%files -n %{libname} >%endif >%{_libdir}/*.so
%define uname MangoHud %define uversion 0.6.8 %define srcname %{uname}-v%{uversion} %define libname %mklibname %{name} %bcond_without docs Name: mangohud Version: 0.6.8 Release: 1%{dist}X Summary: A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more Group: System/Libraries License: MIT URL: https://github.com/flightlessmango/MangoHud # DFSG tarball excludes nonfree nvml.h Source0: https://github.com/flightlessmango/MangoHud/releases/download/v%{uversion}/%{srcname}-Source-DFSG.tar.xz BuildRequires: appstream BuildRequires: cmake BuildRequires: glslang BuildRequires: meson BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(spdlog) BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(x11) BuildRequires: python3dist(mako) Requires: %{_lib}vulkan-loader1 %ifarch x86_64 aarch64 Recommends: lib%{name} == %{version} %endif Provides: bundled(imgui) %description A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more. To enable the MangoHud Vulkan overlay layer, set `MANGOHUD=1` in the shell, or use the `mangohud` command to launch programs. See '%{_docdir}/%{name}' for configuration details. The `goverlay` package provides a third-party GUI frontend for MangoHud. %ifnarch x86_64 aarch64 %package -n %{libname} Summary: Mangohud 32bit library files Group: System/Libraries %description -n %{libname} Mangohud library files. %endif %prep %autosetup -p1 -n %{srcname} sed -i -e '1d;2i#!%{_bindir}/bash' bin/mangohud.in %build %meson \ -Dappend_libdir_mangohud=false \ -Dinclude_doc=%{?with_docs:true}%{!?with_docs:false} \ -Duse_system_spdlog=enabled \ -Duse_system_vulkan=enabled \ -Dwith_x11=enabled \ -Dwith_wayland=enabled \ -Dwith_dbus=enabled \ -Dwith_nvml=disabled \ -Dwith_xnvctrl=disabled \ %{nil} # NVML is nonfree, XNVCtrl is not packaged yet (but could be enabled if it is) %meson_build %install %meson_install %files %doc README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/vulkan/implicit_layer.d/*.json %if %{with docs} %doc MangoHud.conf.example %{_iconsdir}/hicolor/scalable/apps/* %{_metainfodir}/* %{_mandir}/man1/%{name}.1.* %endif %ifnarch x86_64 aarch64 %files -n %{libname} %endif %{_libdir}/*.so
View Attachment As Raw
Actions:
View
Attachments on
bug 30945
:
13414
|
13873
|
14489