File sfxr-qt.spec of Package sfxr-qt

#
# spec file for package sfxr-qt
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
#
# 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:           sfxr-qt
Version:        1.5.1
Release:        0
Summary:        Retro sound effect generator
License:        MIT
URL:            https://github.com/agateau/sfxr-qt
Source:         https://github.com/agateau/sfxr-qt/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5Concurrent)
BuildRequires:  extra-cmake-modules
BuildRequires:  pkgconfig(sdl)
BuildRequires:  pkgconfig(catch2)

%description
Qt port of SFXR, a sound effect generator, to generate retro-gaming
like sound effects. 

%prep
%autosetup -p1

%build
%cmake -DUSE_SYSTEM_CATCH2=ON
%make_jobs

%install
%cmake_install

%check
# ...

%files
%license LICENSE
%doc CHANGELOG.md README.md readme-sfxr-sdl.txt

%changelog

openSUSE Build Service is sponsored by