Mageia Bugzilla – Attachment 13873 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.9-1 spec file
mangohud_mga9X.spec (text/x-rpm-spec), 3.29 KB, created by
Aurelian R
on 2023-06-13 17:18:27 CEST
(
hide
)
Description:
mangohud-0.6.9-1 spec file
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2023-06-13 17:18:27 CEST
Size:
3.29 KB
patch
obsolete
>%define uname MangoHud >%define uversion 0.6.9-1 >%define srcname %{uname}-v%{uversion} >%define rdnsname io.github.flightlessmango.mangohud > >%define libname %mklibname %{name} > >%bcond_without mango_apps >%bcond_without tests > >Name: mangohud >Version: 0.6.9.1 >Release: 1.0%{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 > >Patch0: mangohud-0.6.9-use-system-vulkan-headers.patch > >BuildRequires: appstream >BuildRequires: cmake >BuildRequires: glslang >BuildRequires: meson >BuildRequires: vulkan-headers <= 1.3.241 >BuildRequires: pkgconfig(dbus-1) >BuildRequires: pkgconfig(glew) >BuildRequires: pkgconfig(glfw3) >BuildRequires: pkgconfig(libffi) >BuildRequires: pkgconfig(spdlog) >BuildRequires: pkgconfig(vulkan) <= 1.3.241 >BuildRequires: pkgconfig(xrandr) >BuildRequires: pkgconfig(wayland-client) >BuildRequires: python3dist(mako) > >%if %{with tests} >BuildRequires: pkgconfig(cmocka) >%endif > >Requires: %{_lib}vulkan-loader1 > >Provides: bundled(imgui) > >#For x86_64 system with 32bit repos enabled, load 32bit support >%ifarch x86_64 >Recommends: lib%{name} == %{version} >%endif > >%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. > >%ifarch %{ix86} >%package -n %{libname} >Summary: Mangohud library files >Group: System/Libraries > >%description -n %{libname} >Mangohud library files. >%endif > >%prep >%autosetup -p1 -n %{srcname} > >%if %{with tests} ># Force system cmocka instead of bundled cmocka >sed -i "s/ cmocka = subproject('cmocka')//g" meson.build >sed -i "s/cmocka_dep = cmocka.get_variable('cmocka_dep')/cmocka_dep = dependency('cmocka')/g" meson.build >%endif > >%build >%meson \ > -Dinclude_doc=true \ > -Duse_system_spdlog=enabled \ > -Duse_system_vulkan=enabled \ > -Dwith_nvml=disabled \ > -Dwith_xnvctrl=disabled \ > -Dwith_x11=enabled \ > -Dwith_wayland=enabled \ > -Dwith_dbus=enabled \ > -Dappend_libdir_mangohud=false \ >%if %{with mango_apps} > -Dmangoapp=true \ > -Dmangoapp_layer=true \ > -Dmangohudctl=true \ >%endif > -Dtests=%{?with_tests:enabled}%{!?with_tests:disabled} ># NVML is nonfree, XNVCtrl is not packaged yet (but could be enabled if it is) > >%meson_build > >%install >%meson_install > >%check >%if %{with tests} >%meson_test "test amdgpu" "validate metainfo file" >%endif > >%files >%doc README.md %{uname}.conf.example >%license LICENSE >%{_bindir}/%{name} >%{_metainfodir}/%{rdnsname}.metainfo.xml >%{_iconsdir}/hicolor/scalable/apps/* >%{_mandir}/man1/%{name}.1.* >%if %{with mango_apps} >%{_bindir}/mangoapp >%{_bindir}/mangohudctl >%{_mandir}/man1/mangoapp.1.* >%endif > >%ifarch %{ix86} >%files -n %{libname} >%endif >%{_libdir}/libMango*.so >%{_datadir}/vulkan/implicit_layer.d/*Mango*.json > > >%changelog >* Tue Jun 13 2023 <> 0.6.9.1-1.0.mga9X >- Update to version 0.6.9-1-Source-DFSG
%define uname MangoHud %define uversion 0.6.9-1 %define srcname %{uname}-v%{uversion} %define rdnsname io.github.flightlessmango.mangohud %define libname %mklibname %{name} %bcond_without mango_apps %bcond_without tests Name: mangohud Version: 0.6.9.1 Release: 1.0%{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 Patch0: mangohud-0.6.9-use-system-vulkan-headers.patch BuildRequires: appstream BuildRequires: cmake BuildRequires: glslang BuildRequires: meson BuildRequires: vulkan-headers <= 1.3.241 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(spdlog) BuildRequires: pkgconfig(vulkan) <= 1.3.241 BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(wayland-client) BuildRequires: python3dist(mako) %if %{with tests} BuildRequires: pkgconfig(cmocka) %endif Requires: %{_lib}vulkan-loader1 Provides: bundled(imgui) #For x86_64 system with 32bit repos enabled, load 32bit support %ifarch x86_64 Recommends: lib%{name} == %{version} %endif %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. %ifarch %{ix86} %package -n %{libname} Summary: Mangohud library files Group: System/Libraries %description -n %{libname} Mangohud library files. %endif %prep %autosetup -p1 -n %{srcname} %if %{with tests} # Force system cmocka instead of bundled cmocka sed -i "s/ cmocka = subproject('cmocka')//g" meson.build sed -i "s/cmocka_dep = cmocka.get_variable('cmocka_dep')/cmocka_dep = dependency('cmocka')/g" meson.build %endif %build %meson \ -Dinclude_doc=true \ -Duse_system_spdlog=enabled \ -Duse_system_vulkan=enabled \ -Dwith_nvml=disabled \ -Dwith_xnvctrl=disabled \ -Dwith_x11=enabled \ -Dwith_wayland=enabled \ -Dwith_dbus=enabled \ -Dappend_libdir_mangohud=false \ %if %{with mango_apps} -Dmangoapp=true \ -Dmangoapp_layer=true \ -Dmangohudctl=true \ %endif -Dtests=%{?with_tests:enabled}%{!?with_tests:disabled} # NVML is nonfree, XNVCtrl is not packaged yet (but could be enabled if it is) %meson_build %install %meson_install %check %if %{with tests} %meson_test "test amdgpu" "validate metainfo file" %endif %files %doc README.md %{uname}.conf.example %license LICENSE %{_bindir}/%{name} %{_metainfodir}/%{rdnsname}.metainfo.xml %{_iconsdir}/hicolor/scalable/apps/* %{_mandir}/man1/%{name}.1.* %if %{with mango_apps} %{_bindir}/mangoapp %{_bindir}/mangohudctl %{_mandir}/man1/mangoapp.1.* %endif %ifarch %{ix86} %files -n %{libname} %endif %{_libdir}/libMango*.so %{_datadir}/vulkan/implicit_layer.d/*Mango*.json %changelog * Tue Jun 13 2023 <> 0.6.9.1-1.0.mga9X - Update to version 0.6.9-1-Source-DFSG
View Attachment As Raw
Actions:
View
Attachments on
bug 30945
:
13414
|
13873
|
14489