File mangojuice.spec of Package mangojuice

#
# spec file for package mangojuice
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           mangojuice
Version:        0.8.6
Release:        0
Summary:        Alternative to Goverlay for setting up Mangohud
License:        GPL-3.0+
URL:            https://github.com/radiolamp/mangojuice
Source:         %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  meson
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  vala
Requires:       mangohud
Requires:       Mesa-demo
Requires:       vulkan-tools

%description
This program will be a convenient alternative to Goverlay for setting up Mangohud.

%lang_package

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%check
%meson_test

%files
%license LICENSE
%doc README.md
%{_bindir}/mangojuice
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/metainfo/io.github.radiolamp.mangojuice.metainfo.xml

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by